LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

AVI Write with Data Problem

Hi,
Im trying to write video and data into an avi file, and I based my program mainly on the AVI read write with data example, however My write does not seem to be writing the data to the avi file. I have a test signal which is converted to a double precision floating point number which is then flattened to a string which is then fed into the AVI write frame VI. When i display this string on the front panel it displays some random string.  However when I try and play back the avi and read the string again, I can see the video, but the string seems to not be saved with the avi file, and does not display. If you have any insight on the possible reason for this problem, i would really appreciate it
 
I am running LabView 8 with Vision Module and USB camera drivers.
 
I attached the 3 files I have been using to test this all.
 
Thanks for your help,
Haji
Download All
0 Kudos
Message 1 of 2
(2,756 Views)
Hi Haji,

It looks like the problem is associated with the IMAQ AVI Create.  There is an input on that vi called Has Data.  This input needs to be true if you have anything wired to the Data input of the Write avi frame.vi.  Try wiring a true constant into that has data input and that should correct the problem.  I hope this helps.

Have a great day,

GG
0 Kudos
Message 2 of 2
(2,736 Views)