Owning Palette: File I/O VIs and Functions
Use the TDM Streaming VI and functions to read and write waveforms and waveform properties to binary measurement files (.tdms).
| Palette Object | Description |
|---|---|
| TDMS Close | Closes the .tdms file you opened with the TDMS Open function. |
| TDMS Defragment | Defragments the .tdms file data specified in the file path input. Use this function to clean up your .tdms data when it becomes cluttered, and increase performance. |
| TDMS File Viewer | Opens the .tdms file specified in the file path input and presents the file data in the TDMS File Viewer dialog box. |
| TDMS Flush | Flushes the system memory of all .tdms file data to maintain data security. |
| TDMS Get Properties | Returns the properties of the specified .tdms file, channel group, or channel. The function returns the group and/or channel properties if you wire the group name or channel name inputs with values. If those inputs contain no values, the function returns the property values for the specified .tdms file. |
| TDMS List Contents | Provides a list of group and channel names contained within the .tdms file specified in the .tdms file input. |
| TDMS Open | Opens a .tdms file for reading or writing. You also can use this function to create a new file or replace an existing file. Use the TDMS Close function to close the reference to the file. |
| TDMS Read | Reads the specified .tdms file and returns data in a format specified by the data type input. Use the count and offset inputs to read a specified subset of the data. |
| TDMS Set Properties | Sets the properties of the specified .tdms file, channel group, or channel. The properties are written to a channel group or channel if you wire the group name or channel name inputs with values. If the group name or channel name inputs contain no values, the properties values become file-specific. |
| TDMS Write | Streams data to the specified .tdms file. The data subset to write is determined by the values you identify in the group name and channel name(s) in inputs. |