Newie help needed please!
I was wondering if anyone out there could help a Newbie with an efficient way of doing this?
PLH-VS8 if output X is activated
then activate input X,X and output X,X
Any help would e greatly appreciated!
PLH-VS8 if output X is activated
then activate input X,X and output X,X
Any help would e greatly appreciated!
0
Comments
data_event [vs]
{
string:
{
if(find_string(data.text,"'O1 ',$0D",1)) //output to track
{
send_command vs,"remove_string(data.text,"'O'",1),'2,3'" //outputs to sync
}
}
}
Scott
Scott
data_event [vs] //VS8 module virtual device { string: { stack_var integer input if(find_string(data.text,"'O2 ',$0D",1)) //output to track, green { input=ATOI(data.text) if(input=0) { send_command vs,"'VI0O3,4'" //if off turn both off } else { send_command vs,"'VI',ITOA(input+1),'O3'" //outputs to sync, blue send_command vs,"'VI',ITOA(input+2),'O4'" //outputs to sync, red } } } }Scott