Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

TDMS file read size

$
0
0

I'm experimenting with the TDMS library.  The compiler gave me a very important warning about data size in regards to...

 

int TDMS_GetNumDataValues (TDMSChannelHandle channel, unsigned __int64*numberOfValues);

This gives me the number of values that are present in the channel.  It can be huge.

 

Yet the function to do the retrieval uses an integer datatype for number of values...

 

int TDMS_GetDataValuesEx (TDMSChannelHandle channel, unsigned __int64indexOfFirstValueToGet, size_tnumberOfValuesToGet, void *values);

Which kinda sucks as I have to do a bunch of memory management to get the values. 

 

</gripe>


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>