LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS file read size

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 __int64 indexOfFirstValueToGet, size_t numberOfValuesToGet, void *values);

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

 

</gripe>

Message 1 of 1
(2,012 Views)