01-06-2016 11:03 AM
Is there a way to get the current TDMS position? something like the "Get File Position.vi" VI but for TDMS files.
I have a large data file, and I want a way to jump to specified percentage of the file and read it, for ex 30%. I'm thinking to move to the end of the file and get its position's offset, then use that # to determain the 30% position.
Solved! Go to Solution.
01-06-2016 02:20 PM
the channel property contains the # of elements for that channel:
NI_ChannelLength
You can use it to calculate the starting % and use it to get a fixed number of data points.
TDMS file is a structured file. A random offset most likely is not a valid position for a channel.
Joe
01-14-2016 10:41 AM
Thanks Joe, this works for me.