Modero programming
[Deleted User]
Posts: 0
I'm trying to program a CV7 to enable/disable a button programatically.
I'm using the following command to attempt to change the status of the button on channel 120 but it's NOT working;
SEND_COMMAND dvTouchPanel, "'^BMF-120,0,%EN1'"
Any ideas, anyone?
I'm using the following command to attempt to change the status of the button on channel 120 but it's NOT working;
SEND_COMMAND dvTouchPanel, "'^BMF-120,0,%EN1'"
Any ideas, anyone?
0
Comments
With %EN0, the button will not do any operation when it's pushed, although it may have a channel code.
With the ^BMF- commands, you can change almost anything of a button (color, border, etc...). But to change it from off to on state, you have to turn it ON by master
Another way may be to set it with "%OTInvert" into the ON state, although the button's channel is still off, but...
Also you can use the feedback loop port on the touchpanel to achieve the same effect rather than programming it in NetLinx Studio. Sometimes this can be handy. Just set the the command port of the button to 0 and then set your send_commands up in the Command output parameter in TPD4
FYI: There is also "show" and "hide" these also disable/enable the buttons, however when a button is hidden it is made invisible.
Hope this helps.
Phew! At least I'm not going barmy, then