LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data and webcam acquisition

Hello

 

I have a NI 6211 to acquire digital data from an instrument, two RS232 serial devices controlled by labview, saving data each 0.5 s. Everything was working fine until I connect a webcam and manage to save video in the same vi, using IMAQ. Right now, acquisition of instruments' data is very slow and the files saved are not time syncronized...

 

Is it just due to the processing demand of the video?

Does anyone had the the same problem?

 

Thanks in advance

Best regards

0 Kudos
Message 1 of 6
(2,645 Views)

Do you mind posting your code?

---------------------------------
[will work for kudos]
0 Kudos
Message 2 of 6
(2,636 Views)

Hello

 

Thanks for your interest. you can find the vi attached

 

Best regards

0 Kudos
Message 3 of 6
(2,609 Views)

Are you getting your video as you thought...? Are you trying to save the Video file... If not the AVI is not required you can just grab and display the video that will work fine.... one more thing dont forget to put a delay of atleast 1milli seconds in you while loop for acquiring the video....

Smiley Wink

-----

The best solution is the one you find it by yourself
0 Kudos
Message 4 of 6
(2,600 Views)

Hello

 

Thanks for the reply!

Actually, I need to save the video...

I'll try the delay

 

By the way, I changed the resolution, and it works a bit better, but I'm still experiencing a big delay from a Bluetooth device...

Any suggestions??

 

Thanks in advance

 

Best regards

0 Kudos
Message 5 of 6
(2,585 Views)

My advice is first clean the diagram and do the coding with a proper architecture.... On doing that you can easily find the faults... I am not able to understand the complete code coz its not completely in English...  and one more don't put these bunch of code in the block diagram use them as sub VI... that helps you better...

 

Smiley Wink

-----

The best solution is the one you find it by yourself
0 Kudos
Message 6 of 6
(2,573 Views)