Programming Touch Pannle FeedBack
u57jcs
Junior Member
Hi Guys,
I have designed and Programmed touch panel. I have designed Toggle buttons to turn the lights on and Off. Everything seems to work fine. Though i Am stuck in Feedback statements.
Can any 1 help me with a sample code for feedback statements. I will Really Appreciate Your Help.
Am Attaching the code for the Touch Panel lighting control.
I have designed and Programmed touch panel. I have designed Toggle buttons to turn the lights on and Off. Everything seems to work fine. Though i Am stuck in Feedback statements.
Can any 1 help me with a sample code for feedback statements. I will Really Appreciate Your Help.
Am Attaching the code for the Touch Panel lighting control.
Comments
-
Very complicated way you have done it.
Are you asking about feedback from the different lighting devices to change the state of the button on the touch panel
Or
When you press a button - the button turns on when you send the on command to the devices and off when you turn the lights off
? -
Very complicated way you have done it.
Are you asking about feedback from the different lighting devices to change the state of the button on the touch panel
Or
When you press a button - the button turns on when you send the on command to the devices and off when you turn the lights off
?
I really appreciate your reply Mate. I need to change the state of the feedback from the different lighting devices to change the state of the button on the touch panel.
and if you could help with the second condition you stated. It will be great
Thanks in advance
-
The feedback generated from the device is a lot of work to do and it depends on what device you are using and what comes back from the specific device(s). To do this you might have to look at programmer 2/3 course or find a module on the AMX site for that device.
The feedback to the touch panel when you press the button can be done this way (using your first button as an example)BUTTON_EVENT [dvTPLIGHT, 1] { PUSH: { IF (BFDIL1 = 0) { SEND_COMMAND dvGFDIM1,'P6L100T0' BFDIL1 = 1 } ELSE { SEND_COMMAND dvGFDIM1,'P6L0T0' BFDIL1 = 0 } [dvTPLIGHT,1]=BFDIL1 // This sets the button state the same as BFDIL1 value of 1 for on and 0 for off } }You need to make sure that the button is set to 'CHANNEL' feedback in the touch panel design.
Cheers Rob
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