Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

error message to record video

Hi,

Please could someone help me to find and correct the error in the VI.

I am using a USb webcam to measure the intensity of light in a ROI then record a short video.

Unfortunately, I receive sometimes an error of timeout.

I think the labview is confused by the presence of two vision aquisitions and I want to reduce the mode of video to 600*350.

 

Cheers,

zied

0 Kudos
Message 1 of 4
(4,840 Views)

Hi ziedhosni,

 

I looked at your code and I do not notice anything that would cause an problem.  Where do you get the timeout error?  Could you attach a photo of it?

 

Have you tried going through your code with Highlight Execution on?  Please do this and let me know where you get the error.

Julian R.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(4,812 Views)

Hi, Thanks for your reply . The problem is that the error does not appear every time I run the VI.And the message appears just after the second vision aquisition. Also the video mode of the recorded video is too big 1920*1230 even I mentioned in the properties of the vision aquisition that I want a low mode like 800*400.

Cheers,

Zied

0 Kudos
Message 3 of 4
(4,797 Views)

The video mode can be changed in NI MAX under your camera configuration.  As for the error, what does the error say exactly?  Could you attach a picture?  Where is it occurring?

Julian R.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(4,776 Views)