Camera Tool refresh delay

If you think you've found a bug post it here.

Camera Tool refresh delay

Postby loesch » Tue Apr 28, 2020 3:44 pm

I am using UCCNC 1.2110 with my Stepcraft 600 because I love the screen set better than Stepcrafts. Stepcraft has a plugin with their installation called WebCam which I have used with a camera mounted on my spindle support. When moving, the camera display is essentially real time. When I switched to 1.2110, I noticed that there was a Camera Tool. In using the camera tool, the display seems to have a 2 second lag in refreshing the screen which, for me, makes it unusable for my purpose of trying to accurately locate my work origin and then apply offsets to the tool location. Is there something that can be done to get rid of the lag? The plugin seems to work fine so I would think the Camera Tool should work the same.

I've included both my profile (as requested) and the webcam dll file since I wasn't sure if it was Stepcrafts or yours.
Attachments
Webcamera.dll
(24.5 KiB) Downloaded 649 times
SC2-600_3DProbe.pro
(37.52 KiB) Downloaded 693 times
loesch
 
Posts: 28
Joined: Sat Jan 28, 2017 11:18 pm

Re: Camera Tool refresh delay

Postby cncdrive » Thu May 07, 2020 12:11 pm

I don't know what causes that much lag at you, it does not lag much on my computer.
What the plugin does is it simply reading the images from the camera via the Windows camera interface and drawing them on a picturebox.

Maybe try UCCNC version 1.2113, it has a camera view directly on the UCCNC screen, check if that lags at you or not.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Camera Tool refresh delay

Postby loesch » Thu May 07, 2020 1:51 pm

cncdrive, I'm currently using 1.2112 and the large lag I see is in the built in view under the "Tools / Camera" tab. If I use the the Webcamera plug-in (1.0002) which comes up in a separate window, there is no delay. Also, not sure where to find v1.2113 you recommended.
loesch
 
Posts: 28
Joined: Sat Jan 28, 2017 11:18 pm

Re: Camera Tool refresh delay

Postby dezsoe » Thu May 07, 2020 2:21 pm

You can find development versions here on this forum in this thread.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Camera Tool refresh delay

Postby cncdrive » Thu May 07, 2020 2:47 pm

Then probably your video card is too "weak" for the task. Can you try it with a different more powerful computer?
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm


Return to Report a bug

Who is online

Users browsing this forum: No registered users and 17 guests