Trigger output when in camera capture page

Post anything you want to discuss with others about the software.

Trigger output when in camera capture page

Postby renotec » Sun Feb 02, 2020 1:56 pm

Is possible to trigger an output (UC300ETH-5LPT) when I'm in TOOLS -> CAMERA page (V 1.2112) ?
I have bright LED light around the camera, I like to turn it off when using camera because that bright light interfere badly (hard to see captured image).
Thank you in advance.
renotec
 
Posts: 6
Joined: Sun Feb 02, 2020 1:40 pm

Re: Trigger output when in camera capture page

Postby cncdrive » Sun Feb 02, 2020 5:00 pm

Yes, ofcourse, you can use an output trigger. You can also use a button number 20000 to 21999 in the output trigger and then you can add an onscreen button. You can also use the hotkeys... so you have several options to do that.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Trigger output when in camera capture page

Postby renotec » Sun Feb 02, 2020 10:48 pm

I don't want to add any button, all I want is ;
As soon as when I click "CAMERA" button in "TOOLS" page, trigger one of output pin of my UC300ETH-5LPT.
Hope UCCNC has LED code for "Camera In Use"
Thanks,
renotec
 
Posts: 6
Joined: Sun Feb 02, 2020 1:40 pm

Re: Trigger output when in camera capture page

Postby dezsoe » Sun Feb 02, 2020 10:59 pm

Hope UCCNC has LED code for "Camera In Use"

See the documentation: LEDs_by_number.htm. LED 264 - Cameracaptureon - On when the camera is activated.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Trigger output when in camera capture page

Postby renotec » Tue Feb 04, 2020 12:03 am

Thanks, works perfectly !

* missing 264 - 269 in output trigger "Set"
renotec
 
Posts: 6
Joined: Sun Feb 02, 2020 1:40 pm

Re: Trigger output when in camera capture page

Postby renotec » Tue Feb 04, 2020 12:16 am

Well... only problem is LED264 stay high even I'm not in TOOLS -> CAMERA page, I have to manually turn "Capture" off when exit.
renotec
 
Posts: 6
Joined: Sun Feb 02, 2020 1:40 pm


Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: No registered users and 10 guests