07-18-2022 12:26 PM
When opening a TDMS file in Excel with the Add-On, I see there is a Length property for the number of channel data points. I would like to get and use this value as a variable in my code.
The Length property does not appear in either the File or the Channel list of property names when queried.
Attempts to simply apply the string "Length" in the TDMS_GetChannelProperty ( ) function does not work.
How can I programmatically get access this value in CVI?
Solved! Go to Solution.
07-18-2022 12:36 PM
Figured it out. You don't call a property, rather:
TDMS_GetNumDataValues (channelHandle, &numValues);