Hello Guest it is April 25, 2024, 01:05:59 AM

Author Topic: toggle camera plugin on and off  (Read 1994 times)

0 Members and 1 Guest are viewing this topic.

toggle camera plugin on and off
« on: March 15, 2014, 05:18:42 PM »
I have a button for turning Klaus's camera plug-in ON. (Call SetUserLed(1102,1) ).  And this works great.  What I would now like to do is use the same button to turn the camera plug-in OFF. (SetUserLED(1103,1) )

I could use a simple IF/THEN/ELSE if I had a way of determining if the camera plug-in was OFF or ON.  I could set a variable to "ON" when the camera plug-in was ON and set it to "OFF" when it was OFF.  But I would need a way of setting this variable at the start-up of Mach3. 

Thanks for any help.
Rick

PS.  This is a great camera plug-in,  by the way.  It's supper easy to set-up and works real well.  A big Thank-you to Klaus.