I Used only one button in Tpdesign. I want to use that button for triggering both ON & OFF the Projector .
what is the Syntax for it?
Evaluate the state of the projector power and call on or off as required.
If you have implemented a SNAPI compliant module then just toggle channel 255 (POWER_ON) at the virtual device
[vdvPROJECTOR, POWER_ON] = ![vdvPROJECTOR, POWER_ON];
That depends on the control method. IP? RS-232? IR?