LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error Reading tdms files with a FOR loop

Hi,

 

I am trying to read 3 tdms file and then append the 3 waveform to 1 single waveform. What I was found is, reading the tdms file and append the waveform within the same FOR loop will cause the data loss problem.

 

I have tried the "flush tdms, defrag tdms .. throw memory" .. none of them could solve the problem. Then I try to use 2 separated FOR loop and the problem resolved.

 

Just wonder why this happen. Can some1 there let me know if I m doing something wrong ? Thanks.

Here I attached the screenshot, 2 VIs (1 with problem, another 1 solved), and the 3 tdms files.

Thanks for viewing it.

 

 

Message Edited by engwei on 04-02-2009 02:36 AM
Download All
0 Kudos
Message 1 of 4
(2,653 Views)

No error version

 

 

Error version 

Message Edited by engwei on 04-02-2009 02:39 AM
Download All
0 Kudos
Message 2 of 4
(2,651 Views)

Hi engwei,

in the no error version the wfmSize is connected in the other not. Maybe this is the reason.

 

Mike

0 Kudos
Message 3 of 4
(2,646 Views)
Thanks for the reply .. ya maybe.. will check it. Thanks.
0 Kudos
Message 4 of 4
(2,536 Views)