Send Level Value to DMS
sonny
Junior Member
in AMX Hardware
Any one clue me in on how to update a value from a master to a DMS keypad? I've tried SEND_LEVEL with no luck. Also tried to format the SET command, but pretty sure I'm not doing that right.
Thanks...
Thanks...
Comments
-
This works for me:
SEND_LEVEL DMS_KITCHEN,1,V_KITCHEN_DMS (DMS ID) (level number) (VALUE ID)
Make sure you have the level page created on the DMS file and have the level number correct.
Now if you want to update variable text it's a little more complicated.
First you need to create a two dimension array to hold the text like thisVOLATILE CHAR DMS_KITCHEN_TEXT[10][20]
First array is the total number of variable text areas you want, and the second is the total size of your largest area. You need to include this variable when you initialize the module. I believe you still have to include the variable even it's [0][0].
Anytime you want to change ths value use this:DMS_KITCHEN_TEXT[10]="'CURRENT: ',ITOA(Z_KITCHEN)"
In KPdesign, where you want the text area to be, create a new item and set the variable text to the correct value of the array. In the above example, variable text will be set to '10'.
Hope that helps.
Kevin D.
Leave a Comment
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums