LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS read "loses" data when used in multiple instances

My original code used a for loop. I tried creating a simplified for loop without the post-processing at the start of my troubleshooting and then went to the individual reads as in the VI in the image above. I will attach the original executable for perspective.

 

I need to open and process three to five files. The issue I am seeing only occurs in the second and third read.

 

I will try to attach a data file but I suspect it will not work. The data files causing the issues are approximately 25 mb in size. I can run the same sequence on files I have generated that are around 1.8 mb without issue, but unfortunately I do not see a way I might be able to cut down the size of the data files, as I need to observe transient effects in between loading applications.

Message Edited by JohnnyF on 11-04-2009 07:21 AM
0 Kudos
Message 11 of 13
(755 Views)

You can have a faster way to determine the number of for-loops to run:

 

 

Maybe your problem lies in the missing initialization of the shift register in the upper minor for loop:

 

 

Ton

Message Edited by TCPlomp on 04-11-2009 03:02 PM
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 12 of 13
(750 Views)

Thanks for the advice-always nice to find a way to increase speed.

 

Regarding the uninitialized for loop you pointed to, that does not seem to affect the results as I see the same erroneous data when I run my simplified code like this one:

0 Kudos
Message 13 of 13
(742 Views)