Owning Palette: TDM Streaming VIs and Functions
Requires: Base Development System
Copyright: (c) 2013 National Instruments. All rights reserved.
|create index file? specifies whether LabVIEW automatically generates a .tdms_index file for the corresponding .tdms file. This index file enables LabVIEW to speed up random access to the .tdms file. If you have limited disk space, wire a FALSE value to this input to prevent LabVIEW from generating the .tdms_index file. The default is TRUE.
LabVIEW ignores this input if you open a .tdms file that already has a .tdms_index file. Wiring a FALSE value to this input does not remove this file. LabVIEW might update this file during the TDMS application to ensure this file is up-to-date. To remove this file, you can manually delete it from the disk or programmatically delete it by using the Delete function.
|file format version specifies the file format version for the .tdms file. Refer to the NI Developer Zone at ni.com/zone for more information about the file format of .tdms files.
|file path specifies the absolute path to the file you want to open. If you use this function to create a new file, the file extension of the filename you specify in file path must be .tdms. Otherwise, this function automatically appends .tdms to the filename you specify. If you use this function to open or update an existing file, you do not have to ensure that the file extension is .tdms.|
|operation specifies the operation to perform.
|byte order specifies the byte order, or endian format, of the data in the .tdms file. Byte order specifies whether LabVIEW represents numeric values in memory from most significant byte to least significant byte or vice versa.
The byte order input is valid only if you use this function to create a new .tdms file. If you use this function to read an existing .tdms file, LabVIEW reads data in the byte order of that file and represents the data in the native byte order of the host computer. If you use this function to update an existing .tdms file, LabVIEW writes data in the byte order of that file.
|error in describes error conditions that occur before this node runs. This input provides standard error in functionality.|
|disable buffering? (Windows) specifies whether LabVIEW opens, creates, or replaces a .tdms file without system buffering. The default is TRUE, which means this function disables system buffering. Disabling system buffering can speed up data transfers in certain situations. If you have a small amount of data to transfer, you might not notice a difference if you disable buffering. To read or write a data file to a Redundant Array of Independent Disks (RAID), consider opening the file without buffering to speed up data transfers. To read the same set of data repeatedly from the computer, consider enabling buffering.|
|tdms file out returns a TDMS file reference to the .tdms file 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 Open function: