Reads data from a .tdms file.
Copyright: (c) 2016 National Instruments. All rights reserved.
Maximum number of data elements to read for each channel.
Default: -1 — Causes this node to read all available elements.
Number of data elements into the .tdms file at which this node begins to read.
A reference to a .tdms file. Use the TDMS Open node to obtain the reference.
Channel group on which to perform the operation.
Reading Behavior When group name in Is Not Wired
If you do not wire data to group name in, this node reads data from the current group in the file. The current group is either the first group in the file when you run this node for the first time or the nth group at the nth cycle when you run this node continuously for multiple cycles. The order that this node reads groups is the same order that the TDMS List Contents node returns groups. If this node attempts to run after reaching the last group, you receive an end of file error.
Channel or channels to read data from.
channel name(s) in accepts a string or a 1D array of strings. The data type varies according to the data you wire to data type.
Determining the Data Type of channel name(s) in
The following table shows how the data type of channel name(s) in varies according to the data you wire to data type.
|data type||channel name(s) in|
|1D Array of Strings|
Reading Behavior When channel name(s) in Is Not Wired
If you do not wire data to channel name(s) in, this node reads data from all channels under the same group and returns data channels in the same order as they exist in the .tdms file.
Reading Compressed Digital Data
If you load a complete file or group that contains compressed digital data, this node automatically inserts the compression channel name in the channel name(s) in array. If you load a subset of a file or group that contains compressed digital data, you must enter the name of the compression channel as the first entry in the channel name(s) in array.
Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.
Default: No error
The type of data you want the node to return.
Acceptable Data Types
This input accepts the following data types:
A reference to the .tdms file.
Channel group on which you performed the operation.
Channel or channels on which you performed the operation.
Data that the node read from the .tdms file.
If data has scaling information, the node automatically scales the data.
Error information. The node produces this output according to standard error behavior.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported