LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Strange problem with LabVIEW during write TDMS files

Hello,
I have to save about 20 TDMS signals, I built a VI with constant signals for example. The WRITE DATA settings are in jpg attached.

 

The problem is this: after the saving process and TDMS CLOSE, the program is still in running condition, the CPU work increase, and the vi become white for some time (about 1-2 minutes). If I increase the points (in this case 1300 iterations) the time increase consequently.

 

My pc is Intel Pentium 4, 3.2 GHz CPU, 2 GHz RAM. But the problem is the same also with other pc.

 

The question is the amount of data?

It’s a strange problem because the TDMS are been created and the storage seems closed!

Download All
0 Kudos
Message 1 of 5
(2,661 Views)

If you care about the performance of your application like CPU usage, I would like to suggest you use TDMS nodes directly instead of Storage VIs Express VIs. TDMS nodes are in Programming -> File I/O -> TDMS on your menu palette.

0 Kudos
Message 2 of 5
(2,627 Views)

Hi Lesterino,

After the write-close TDMS process, LV will need to free all the refnums that are allocated during the process, where the close function of each refnum will be executed. It will take more time with more iterations.

 

Mavis

0 Kudos
Message 3 of 5
(2,611 Views)

I understand but the problem is I need to save more points: I wait 15-20 minutes before Labview returns to work, and the pc during this time is freeze!

0 Kudos
Message 4 of 5
(2,602 Views)

ok, for the moment I solve reducing the points number.

Thank you

0 Kudos
Message 5 of 5
(2,590 Views)