|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
|LabVIEW 2019 Help|
|LabVIEW 2020 Help|
Owning Palette: TDM Streaming VIs and Functions
Requires: Base Development System
Copyright: (c) 2018 National Instruments. All rights reserved.
Streams data to the specified .tdms file. The data subset to write is determined by the values you identify in the group name in and channel name(s) in inputs.
|data layout specifies the arrangement of the data that you want to stream to a .tdms file. You must use the same data layout for each channel under the same group. |
|tdms file specifies a reference number to the .tdms file on which to perform the operation. Use the TDMS Open function to open the refnum.|
|group name in specifies the channel group on which to perform the operation. The default is Untitled.|
|channel name(s) in indicates the channels on which to perform the operation. If you do not wire data to this input, LabVIEW names the channels automatically. If you wire waveform data to the data input, LabVIEW uses waveform names. The data type that the channel name(s) in input accepts can be a string or a 1D array of strings. The data type varies according to the data you wire to the data input. |
If the data input contains compressed digital data, you must enter the name of the compression channel as the first entry in the channel name(s) in array.
|data is the data to write to the .tdms file. This input accepts the following data types: |
|error in describes error conditions that occur before this node runs. This input provides standard error in functionality.|
|tdms file out returns a TDMS file reference to the .tdms file on which you performed the operation.|
|group name out returns the name of the channel group on which you performed the operation.|
|channel name(s) out returns the channel name on which you performed the operation.|
|error out contains error information. This output provides standard error out functionality.|
Refer to the following VIs for examples of using the TDMS Write function: