Feedback from NetLinx Module
TUTech
Posts: 70
I'm using a NetLinx Module for a Tandberg 990MXP. I'm using the one for the 6000MXP because I can't find one for the 990.
Do I process the feedback as a literal? Should the example below work? I can't get into the room to test it.
DATA_EVENT [vdvTBModule]
{
STRING:
{
IF(LENGTH_STRING(data.text))
{
SELECT
{
ACTIVE(FIND_STRING(data.text,"'DUOSTATE=1'",1)):
{
nDUO_Status=DUO_ON
ON[dvTP,47]
}
ACTIVE(FIND_STRING(data.text,"'DUOSTATE=0'",1)):
{
nDUO_Status=DUO_OFF
OFF[dvTP,47]
}
}
}
}
}
Button number 47 is the ON/Off to send Duo Video. In the feedback section I put the statement to request the duo state SEND_COMMAND vdvTBModule,"'DUOSTATE?'"
thanks,
David
Do I process the feedback as a literal? Should the example below work? I can't get into the room to test it.
DATA_EVENT [vdvTBModule]
{
STRING:
{
IF(LENGTH_STRING(data.text))
{
SELECT
{
ACTIVE(FIND_STRING(data.text,"'DUOSTATE=1'",1)):
{
nDUO_Status=DUO_ON
ON[dvTP,47]
}
ACTIVE(FIND_STRING(data.text,"'DUOSTATE=0'",1)):
{
nDUO_Status=DUO_OFF
OFF[dvTP,47]
}
}
}
}
}
Button number 47 is the ON/Off to send Duo Video. In the feedback section I put the statement to request the duo state SEND_COMMAND vdvTBModule,"'DUOSTATE?'"
thanks,
David
0
Comments
so make
into
LENGTH_STRING(data.text) The event wouldn't get run if there wasn't anything in data.text. Paul
from the Netlinx module doc:
*DUOSOURCE=<source>
*DUOSOURCE?
*DUOSTATE?
*DUOVIDEO=<state>[:<source>]
I've never used the Netlinx module, but have used the Duet module for the same Tandberg 6000mxp. Like most AMX modules this works, but sometimes you have to work around some issues. If the module is still worth the trouble and you want to extend it, look at te PASTHRU- and PASSBACK- commands.
Richard