Feedback from NetLinx Module
TUTech
Junior Member
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
Comments
-
If you are using the Duet module the strings come back as COMMANDS.
so makeDATA_EVENT [vdvTBModule] { [U][COLOR=#0000FF][SIZE=14px][I][B]STRING:[/B][/I][/SIZE][/COLOR][/U] { IF(LENGTH_STRING(data.text)) { ...
intoDATA_EVENT [vdvTBModule] { [U][SIZE=14px][I][B][COLOR=#0000FF]COMMAND:[/COLOR][/B][/I][/SIZE][/U] { IF(LENGTH_STRING(data.text)) { ... -
Thanks. First time working with a module. This one is a Netlinx module.
-
I don't think you need this if guard:
LENGTH_STRING(data.text) The event wouldn't get run if there wasn't anything in data.text. Paul -
Not sure why you are using the AMX module and still parsing the feedback yourself. This would only be needed if the desired function wasn't available in the module, but presentation (or duo video) is.
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
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