Options
How to change a button text?
I'm sorry for this stupid question...i've searched the forum and think i've found the solution but it doesn't work properly...
In tpd3 i assign to my button Variable text device and channel (same as channel code)
In NetlinxStudio i use this:
SEND_COMMAND vTP,"'@TXT',aBUTTON,ITOA(MATRIX_STATUS[TEMP])"
where aBUTTON is the channel code.
What's wrong with this?
In tpd3 i assign to my button Variable text device and channel (same as channel code)
In NetlinxStudio i use this:
SEND_COMMAND vTP,"'@TXT',aBUTTON,ITOA(MATRIX_STATUS[TEMP])"
where aBUTTON is the channel code.
What's wrong with this?
Comments
Can channel code be equal to variable text channel?
Browser touchpanels are meant to be identical to regular panels.
They aren't perfect; for instance, if you use a transparent button face, the border on the LHS will be one pixel wider than the other sides.
I use !T instead of @TXT and it works fine.
Yes, the channel and vartext can be the same value. Only the vartext matters in this case.
Everything is fine now..both "!T" and "@TXT" work fine...the problem was just the ITOA function, I had to move it outside the send_command...don't know why