DVX Relay control
colin@ITS
Posts: 8
I'm super confused.... I swear this was working last week and now it's failing.
Basically I'm using the relays to trigger an amp on and off... when the relay is closed the amp turns off...
So, as an example, I have this:
and then the off function-
If I telnet into the master I can run ON[dvDVXRelay,1] and OFF[dvDVXRelay,1] and that works fine and peachy... until my functions run- then I can't turn the relays on or off via telnet (and they don't toggle via my functions)... even more baffling to me is in the notifications window when I call the fnPowerDnLounge... i get this-
Line 7 (11:30:22):: Feedback:On [5001:21:2] - Channel 1
Line 8 (11:30:22):: Output Channel:On - From [5001:21:2] - Channel 1
...even though the relay doesn't change. Other functions (video switching) still work....
Any advice would be greatly appreciated... I'm completely baffled!
Basically I'm using the relays to trigger an amp on and off... when the relay is closed the amp turns off...
So, as an example, I have this:
DEFINE_FUNCTION fnWatchBluRay() { SEND_STRING dv402BluRaySerial, "'PON',$0D" SWITCH(nZoneSelect) { //lounge CASE 2: { PULSE[dv402TV,POWER_ON] SEND_LEVEL dv402SwitcherOut2,1,30 //volume to 30 SEND_COMMAND dv402Switcher, "'CI4O2'" //input 4 to output 2 SEND_COMMAND dv402Switcher, "'CI4O1'" //mirrored to conf nLoungePowerOn = 1 OFF[dvDVXRelay,1] } //deck CASE 3: { SEND_LEVEL dv402SwitcherOut3,1,30 //volume to 30 SEND_COMMAND dv402Switcher, "'CI4O3'" //input 4 to output 3 nDeckPowerOn = 1 OFF[dvDVXRelay,2] } } }
and then the off function-
DEFINE_FUNCTION fnPowerDnLounge() { IF (nDeckPowerOn = 1) { SEND_COMMAND dvTP_iPad,"'PAGE-Main-Deck'" nZoneSelect = 3 } ELSE { SEND_COMMAND dvTP_iPad,"'PAGE-Logo'" nZoneSelect = 2 } SEND_COMMAND dv402Switcher, "'CI0O2'" nLoungePowerOn = 0 ON[dvDVXRelay,1] }
If I telnet into the master I can run ON[dvDVXRelay,1] and OFF[dvDVXRelay,1] and that works fine and peachy... until my functions run- then I can't turn the relays on or off via telnet (and they don't toggle via my functions)... even more baffling to me is in the notifications window when I call the fnPowerDnLounge... i get this-
Line 7 (11:30:22):: Feedback:On [5001:21:2] - Channel 1
Line 8 (11:30:22):: Output Channel:On - From [5001:21:2] - Channel 1
...even though the relay doesn't change. Other functions (video switching) still work....
Any advice would be greatly appreciated... I'm completely baffled!
0
Comments
The define device is:
Danny