LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 6 sometimes with TDMS Defragment VI (LV 8.2) (WinXP)

I sometimes get error 6 when I run the TDMS Defragment VI. This VI is run in my program right after I close the file after writing it (to a network drive). Could that be the problem? Does the file need time to close before the defrag is started? If so, is there any way to know when the file is ready?
 
George
0 Kudos
Message 1 of 3
(2,978 Views)

Hi George,

I could not reproduce this error with the tdms file saved either on a local drive or network drive. I will suggest testing the VI with the tdms file on the local drive. You can also place a flat sequence structure with time delay (100ms) between the TDMS Close and Defragment VIs.

Tunde

0 Kudos
Message 2 of 3
(2,960 Views)

Yeah I thought about adding a time delay, but unless I know for sure what's causing the problem it's hard to know if that's always going to work.

George

0 Kudos
Message 3 of 3
(2,949 Views)