TDMS MinimumBufferSize Property Causes Error -2507 with Multiple References

Updated Aug 13, 2019

Issue Details

I have been using the MinimumBufferSize property when writing TDMS files to reduce fragmentation. When using multiple references I find the TDMS file corrupts or I receive "Error -2507: Invalid group name and/or channel name".

Solution

To use the MinimumBufferSize property you will also have to set the NI_InMemoryWriteBlockSize for each Group or Channel which the MinimumBufferSize property is set for. This is done in the same way as the MinimumBufferSize property using theĀ TDMS Set Property VI.

WAS THIS ARTICLE HELPFUL?

Not Helpful