String Output and Command Output
staticattic
Junior Member
When working with the design of touchpanels, under the Programming tab for the slected button, there are two boxes, one for String Output and one for Command Output. I looked it up in the Help file with TPD4 and it says, "Specify the output string (or command) sent to the master on button push." What the help file doesn't do is gave an example. What would be an example where this would be used? Could the commands or stirngs written in the code for the PUSH event go here?
Comments
-
Well, the string example could work something like...
button string output set to 'he pushed the red one'
So, in the program you could have aDATA_EVENT[dvTP_1] { STRING: { IF(find_string(DATA.TEXT,'he pushed the red one',1)) { // Do Something } } }
The same would be true for Command, but you'd have a COMMAND: section instead of a STRING section.. (there's a musical joke here that I'll just lightly step over and ignore...)
hope that helps
e -
Another use
You can also program a button to send a command to port 0 as an internal command to the panel. In most cases it will behave as if the send command came from the master.
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