variable text on Modero
Thomas Hayes
Posts: 1,164
Hi all
I have a NXD-700VI that I what to send a variable text command to. The text is the result of 'what channel' is the user watching. The call I have for removing this info from the device is working fine but I can't seem to get it to display properly.
example of what I have.
- ACTIVE (FIND_STRING (DATA.TEXT, 'TVC', 1)):
{
TUNER_JUNK=REMOVE_STRING (DATA.TEXT, 'TVC', 1)
TUNER_CH=MID_STRING(DATA.TEXT, 1, 3)
send_command vtp,"'text12-channel','-',itoa("tuner_ch")"
I have a NXD-700VI that I what to send a variable text command to. The text is the result of 'what channel' is the user watching. The call I have for removing this info from the device is working fine but I can't seem to get it to display properly.
example of what I have.
- ACTIVE (FIND_STRING (DATA.TEXT, 'TVC', 1)):
{
TUNER_JUNK=REMOVE_STRING (DATA.TEXT, 'TVC', 1)
TUNER_CH=MID_STRING(DATA.TEXT, 1, 3)
send_command vtp,"'text12-channel','-',itoa("tuner_ch")"
0
Comments
Try this and you should get to where you want to go.:
send_command vtp,"'text12-channel-',tuner_ch"
DATA.TEXT = 'TVC099'