09-01-2010 01:45 PM
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
09-01-2010 03:10 PM
Do you mind posting your code?
09-02-2010 03:43 AM
Hello
Thanks for your interest. you can find the vi attached
Best regards
09-02-2010 04:49 AM
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....
09-02-2010 09:09 AM
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
09-02-2010 08:55 PM
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...