7901
FAQs / Re: Toggling Outputs
« on: September 11, 2010, 03:57:43 AM »
Joe,
One way is to create a VB screen button and paste in the following code ;
If IsOutputActive(OUTPUT5) Then ‘Check to see if its on
DeActivateSignal(OUTPUT5) ‘Its on so turn it off
Else
ActivateSignal(OUTPUT5) ‘Its off so turn it on
End If
Obviously this is for Output #5 change for whichever output you wish to toggle.
Tweakie.
One way is to create a VB screen button and paste in the following code ;
If IsOutputActive(OUTPUT5) Then ‘Check to see if its on
DeActivateSignal(OUTPUT5) ‘Its on so turn it off
Else
ActivateSignal(OUTPUT5) ‘Its off so turn it on
End If
Obviously this is for Output #5 change for whichever output you wish to toggle.
Tweakie.