Home AMX User Forum Muse Automator

Scripting syntax help for Duet Modules is NOW AVAILABLE

[Deleted User][Deleted User] Harman Integrated Technologies Group (ITG)Posts: 0
edited January 23 in Muse Automator

As we embark on a new way of programming for AMX systems, we recognize a need for as many tools and resources as possible. Creating these takes time, but a new resource is now available for those seeking help in how to use Duet modules within your Muse script environment.

Now, when you look up a device driver on https://developer.amx.com/ , you can see if a driver is believed to be compatible for NX and Muse. As we move forward, some drivers will be identified as incompatible, and this site will call out the distinction as well as an error message from the Muse controller when you attempt to load a known incompatible driver.

For compatible drivers, click the DETAILS button to learn more about the driver. There will be a new tab at the top of the DETAILS page to view CODE SNIPPETS. Once clicked, orient yourself to the page.
1) Select the scripting language you are authoring in.
2) Modify the DEVICE NAME and observe how the command paths update to reflect your naming convention.
3) Use the filter to narrow down the commands to find the one you seek - like power
4) Click the command you would like more information about.
5) The screen will update to demonstrate usage of the command in your programming language.
-Learn how to use the command in a discrete press
-Learn how to watch the parameter for change
-Learn how to update your touch panel based on the active state of that parameter

At launch, this includes SNAPI functionality. Many modules include "custom" functionality that does not conform to SNAPI. We are actively working to add this additional content that has been captured from the existing module interface documents that come as part of the zip file with the module download. Today, these commands are still usable via the .module.command() path and our goal is to expand the data to reflect these existing commands in the coming weeks.

Comments

Sign In or Register to comment.