Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS Minimum Buffer Size using G TDMS

I am working on an RT application that requires the logging of some acquired data. I have used the normal TDMS functions in LabView to set the "NI_MinimumBufferSize" property successfully before, but I am having trouble setting this same property using the G TDMS functions on a cRIO 9012. It appears that the file is being written continuously and not after it reaches the set buffer size. Does anyone know if the buffer size property is the same on the G TDMS set properties function...?
0 Kudos
Message 1 of 4
(4,397 Views)

NI_MinimumBufferSize is not supported in the VI based API. You can achieve the same result though if you collect a number of values in your VI and pass them into the TDMS VIs as an array.

 

If I may ask, what made you move away from the built-in functions and use the VI based API?

 

Herbert 

Message Edited by Herbert Engels on 04-22-2009 05:13 PM
0 Kudos
Message 2 of 4
(4,383 Views)

I am currently working under Labview 8.5.1. The built -in TDMS functions, as far as I know, are not supported in cRIO/VxWorks with the version of Labview I am using. Correct me if I am wrong...

 

Thanks

0 Kudos
Message 3 of 4
(4,369 Views)

That's correct. VxWorks support was introduced in LV 8.6.

Herbert 

0 Kudos
Message 4 of 4
(4,360 Views)