Possible to read the last level value?
Hi all,
I read from somewhere that the processor internally keeps track of the last SEND_LEVEL, and skips a SEND_LEVEL if you send the same level value twice or more times.
I'm now wondering if there is some way of reading the level value from outside the LEVEL_EVENT. That would be awesome, so I wouldn't have to create local variables and LEVEL_EVENTS just for storing received level values.
Is there a way to do it like that?
I only need the current value of a LEVEL received in a module, and I need many of them.
Comments
-
You can see the current value of all the levels on a device through the device status command at the console; don't know of any direct method in code other than caching those values in global variables at each level event for access outside of the level event.
-
Thanks for the help.
I will create an array of INTEGERs and store the levels there on LEVEL_EVENT. But it seems a strange to need to do this, as the levels are already there... somewhere...
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
