Owning Palette: TDMS File I/O VIs
Installed With: Sound and Vibration Measurement Suite
Writes data to the specified .tdms file in a format specific to the polymorphic instance. Wire data to the scaled signal [EU] input to determine the polymorphic instance to use or manually select the instance.
Use the pull-down menu to select an instance of this VI.
.gif)
![]() |
write channel properties specifies whether to write the channel properties when the VI runs. You can set this input to TRUE the first time the VI runs, and thereafter set it to FALSE to speed up the VI. The default is TRUE. | ||||||
![]() |
tdms file is a refnum to the .tdms file to perform the operation on. Use the TDMS Open function to open the refnum. | ||||||
![]() |
group name in specifies the channel group to perform the operation on. | ||||||
![]() |
channel name in specifies the channel to perform the operation on. | ||||||
![]() |
scaled signal [EU] specifies the scaled signal expressed in the selected engineering units. To obtain a properly scaled signal, you can use the SVL Scale Voltage to EU VI or define a virtual channel in National Instruments Measurement & Automation Explorer (MAX).
| ||||||
![]() |
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use exception control to treat what is normally an error as no error or to treat a warning as an error. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| ||||||
![]() |
tdms file out generates a tdms file reference to the .tdms file you performed the operation on. | ||||||
![]() |
group name out returns the name of the channel group you performed the operation on. | ||||||
![]() |
channel name out returns the name of the channel you performed the operation on. | ||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
.gif)
![]() |
write channel properties specifies whether to write the channel properties when the VI runs. You can set this input to TRUE the first time the VI runs, and thereafter set it to FALSE to speed up the VI. The default is TRUE. | ||||||
![]() |
tdms file is a refnum to the .tdms file to perform the operation on. Use the TDMS Open function to open the refnum. | ||||||
![]() |
group name in specifies the channel group to perform the operation on. | ||||||
![]() |
channel names in specifies the channels to perform the operation on. | ||||||
![]() |
scaled signals specifies the scaled signals expressed in the selected engineering units. To obtain a properly scaled signal, you can use the SVL Scale Voltage to EU VI or define a virtual channel in National Instruments Measurement & Automation Explorer (MAX).
| ||||||
![]() |
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use exception control to treat what is normally an error as no error or to treat a warning as an error. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| ||||||
![]() |
tdms file out generates a tdms file reference to the .tdms file you performed the operation on. | ||||||
![]() |
group name out returns the name of the channel group you performed the operation on. | ||||||
![]() |
channel names out returns the names of the channels you performed the operation on. | ||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
.gif)
![]() |
tdms file is a refnum to the .tdms file to perform the operation on. Use the TDMS Open function to open the refnum. | ||||||
![]() |
group name in specifies the channel group to perform the operation on. | ||||||
![]() |
channel name in specifies the channel to perform the operation on. | ||||||
![]() |
octave spectrum specifies the octave spectrum to perform the operation on, in band power versus nominal frequencies.
| ||||||
![]() |
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use exception control to treat what is normally an error as no error or to treat a warning as an error. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| ||||||
![]() |
octave info contains information about the octave spectrum that you can pass from another VI. Do not change the values in octave info. If you want to view the information, you can right-click the octave info wire and select Custom Probe»Octave Info from the shortcut menu. | ||||||
![]() |
tdms file out generates a tdms file reference to the .tdms file you performed the operation on. | ||||||
![]() |
group name out returns the name of the channel group you performed the operation on. | ||||||
![]() |
channel name out returns the name of the channel you performed the operation on. | ||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
.gif)
![]() |
tdms file is a refnum to the .tdms file to perform the operation on. Use the TDMS Open function to open the refnum. | ||||||
![]() |
group name in specifies the channel group to perform the operation on. | ||||||
![]() |
channel names in specifies the channels to perform the operation on. | ||||||
![]() |
octave spectra specifies the octave spectra to perform the operation on, in band power versus nominal frequencies.
| ||||||
![]() |
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use exception control to treat what is normally an error as no error or to treat a warning as an error. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| ||||||
![]() |
octave info contains information about the octave spectra that you can pass from another VI. Do not change the values in octave info. If you want to view the information, you can create a custom probe. | ||||||
![]() |
tdms file out generates a tdms file reference to the .tdms file you performed the operation on. | ||||||
![]() |
group name out returns the name of the channel group you performed the operation on. | ||||||
![]() |
channel names out returns the names of the channels you performed the operation on. | ||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
.gif)
![]() |
write mode specifies how LabVIEW writes data to an existing file. For continuous data, select Append to append the streaming data to the existing group and channel(s). For block-based data, such as a spectrum, select New group to create a new group of data in the existing file. This VI does not support overwriting existing channels of data. To edit the data of an existing channel, you can read the data and then write modified data to a new file, group, or channel. | ||||||
![]() |
tdms file is a refnum to the .tdms file to perform the operation on. Use the TDMS Open function to open the refnum. | ||||||
![]() |
group name in specifies the channel group to perform the operation on. | ||||||
![]() |
channel name in specifies the channel to perform the operation on. | ||||||
![]() |
spectrum specifies the frequency-domain data for the spectrum.
| ||||||
![]() |
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use exception control to treat what is normally an error as no error or to treat a warning as an error. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| ||||||
![]() |
component specifies the spectrum component. The valid values are Magnitude, Phase, Real, Imaginary, Coherence, and Unknown. | ||||||
![]() |
spectrum info contains information about the spectrum that you can pass from another VI. Do not change the values in spectrum info. If you want to view the information, you can right-click the spectrum info wire and select Custom Probe»Spectrum Info or Custom Probe»Power Spectrum Info from the shortcut menu. | ||||||
![]() |
tdms file out generates a tdms file reference to the .tdms file you performed the operation on. | ||||||
![]() |
group name out returns the name of the channel group you performed the operation on. | ||||||
![]() |
channel name out returns the name of the channel you performed the operation on. | ||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
.gif)
![]() |
tdms file is a refnum to the .tdms file to perform the operation on. Use the TDMS Open function to open the refnum. | ||||||
![]() |
group name in specifies the channel group to perform the operation on. | ||||||
![]() |
channel names in specifies the channels to perform the operation on. | ||||||
![]() |
spectra specifies the frequency-domain data for each spectrum.
| ||||||
![]() |
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use exception control to treat what is normally an error as no error or to treat a warning as an error. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| ||||||
![]() |
component specifies the spectrum component. The valid values are Magnitude^2, Magnitude, Phase, Real, Imaginary, Complex, Coherence, and Unknown. | ||||||
![]() |
spectra info contains information about the spectra that you can pass from another VI. Do not change the values in spectra info. If you want to view the information, you can create a custom probe. | ||||||
![]() |
tdms file out generates a tdms file reference to the .tdms file you performed the operation on. | ||||||
![]() |
group name out returns the name of the channel group you performed the operation on. | ||||||
![]() |
channel names out returns the names of the channels you performed the operation on. | ||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
.gif)
![]() |
tdms file is a refnum to the .tdms file to perform the operation on. Use the TDMS Open function to open the refnum. | ||||||||||||||||
![]() |
group name in specifies the channel group to perform the operation on. | ||||||||||||||||
![]() |
colormap specifies the spectral results of a transient analysis.
| ||||||||||||||||
![]() |
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use exception control to treat what is normally an error as no error or to treat a warning as an error. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| ||||||||||||||||
![]() |
spectrum info contains information about the spectrum that you can pass from another VI. Do not change the values in spectrum info. If you want to view the information, you can right-click the spectrum info wire and select Custom Probe»Spectrum Info or Custom Probe»Power Spectrum Info from the shortcut menu. | ||||||||||||||||
![]() |
tdms file out generates a tdms file reference to the .tdms file you performed the operation on. | ||||||||||||||||
![]() |
group name out returns the name of the channel group you performed the operation on. | ||||||||||||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
.gif)
![]() |
tdms file is a refnum to the .tdms file to perform the operation on. Use the TDMS Open function to open the refnum. | ||||||||||||
![]() |
group name in specifies the channel group to perform the operation on. | ||||||||||||
![]() |
channel names in specifies the channels to perform the operation on. | ||||||||||||
![]() |
waterfall graph data specifies an array of 2D waveform signals in three dimensions.
| ||||||||||||
![]() |
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use exception control to treat what is normally an error as no error or to treat a warning as an error. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| ||||||||||||
![]() |
Z info specifies z-axis label information about the waterfall graph.
| ||||||||||||
![]() |
spectrum info contains information about the spectrum that you can pass from another VI. Do not change the values in spectrum info. If you want to view the information, you can right-click the spectrum info wire and select Custom Probe»Spectrum Info or Custom Probe»Power Spectrum Info from the shortcut menu. | ||||||||||||
![]() |
tdms file out generates a tdms file reference to the .tdms file you performed the operation on. | ||||||||||||
![]() |
group name out returns the name of the channel group you performed the operation on. | ||||||||||||
![]() |
channel names out returns the names of the channels you performed the operation on. | ||||||||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
.gif)
![]() |
tdms file is a refnum to the .tdms file to perform the operation on. Use the TDMS Open function to open the refnum. | ||||||
![]() |
group name in specifies the channel group to perform the operation on. | ||||||
![]() |
channel name in specifies the channel to perform the operation on. | ||||||
![]() |
speed profile specifies the tachometer-pulse arrival time and the rotational speed at each pulse.
| ||||||
![]() |
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use exception control to treat what is normally an error as no error or to treat a warning as an error. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| ||||||
![]() |
speed position info specifies the position information of the speed [rpm] subparameter for each tachometer signal.
| ||||||
![]() |
tdms file out generates a tdms file reference to the .tdms file you performed the operation on. | ||||||
![]() |
group name out returns the name of the channel group you performed the operation on. | ||||||
![]() |
channel name out returns the name of the channel you performed the operation on. | ||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
.gif)
![]() |
write channel properties specifies whether to write the channel properties when the VI runs. You can set this input to TRUE the first time the VI runs, and thereafter set it to FALSE to speed up the VI. The default is TRUE. | ||||||
![]() |
tdms file is a refnum to the .tdms file to perform the operation on. Use the TDMS Open function to open the refnum. | ||||||
![]() |
group name in specifies the channel group to perform the operation on. | ||||||
![]() |
channel name in specifies the channel to perform the operation on. | ||||||
![]() |
even-angle signal specifies the data resampled at even-angle intervals. even-angle signal is synchronous to the rotational speed with a constant number of samples per revolution.
| ||||||
![]() |
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use exception control to treat what is normally an error as no error or to treat a warning as an error. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| ||||||
![]() |
even-angle channel info contains information that you can pass from another VI about the measurement configuration for even-angle signal. Do not change the values in even-angle channel info. If you want to view the information, you can create a custom probe. | ||||||
![]() |
even-angle position info specifies the position information of even-angle signal.
| ||||||
![]() |
tdms file out generates a tdms file reference to the .tdms file you performed the operation on. | ||||||
![]() |
group name out returns the name of the channel group you performed the operation on. | ||||||
![]() |
channel name out returns the name of the channel you performed the operation on. | ||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
.gif)
![]() |
write channel properties specifies whether to write the channel properties when the VI runs. You can set this input to TRUE the first time the VI runs, and thereafter set it to FALSE to speed up the VI. The default is TRUE. | ||||||
![]() |
tdms file is a refnum to the .tdms file to perform the operation on. Use the TDMS Open function to open the refnum. | ||||||
![]() |
group name in specifies the channel group to perform the operation on. | ||||||
![]() |
channel names in specifies the channels to perform the operation on. | ||||||
![]() |
even-angle signals specifies an array of data resampled at even-angle intervals. even-angle signals are synchronous to the rotational speed with a constant number of samples per revolution.
| ||||||
![]() |
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use exception control to treat what is normally an error as no error or to treat a warning as an error. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| ||||||
![]() |
even-angle channel info contains information that you can pass from another VI about the measurement configuration for even-angle signals. Do not change the values in even-angle channel info. If you want to view the information, you can create a custom probe. | ||||||
![]() |
even-angle position info specifies the position information of even-angle signals.
| ||||||
![]() |
tdms file out generates a tdms file reference to the .tdms file you performed the operation on. | ||||||
![]() |
group name out returns the name of the channel group you performed the operation on. | ||||||
![]() |
channel names out returns the names of the channels you performed the operation on. | ||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
.gif)
![]() |
write mode specifies how LabVIEW writes data to an existing file. For continuous data, select Append to append the streaming data to the existing group and channel(s). For block-based data, such as a spectrum, select New group to create a new group of data in the existing file. This VI does not support overwriting existing channels of data. To edit the data of an existing channel, you can read the data and then write modified data to a new file, group, or channel. | ||||||
![]() |
tdms file is a refnum to the .tdms file to perform the operation on. Use the TDMS Open function to open the refnum. | ||||||
![]() |
group name in specifies the channel group to perform the operation on. | ||||||
![]() |
channel name in specifies the channel to perform the operation on. | ||||||
![]() |
order component specifies the order component.
| ||||||
![]() |
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use exception control to treat what is normally an error as no error or to treat a warning as an error. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| ||||||
![]() |
component specifies the spectrum component. The valid values are Magnitude, Phase, Real, Imaginary, Coherence, and Unknown. | ||||||
![]() |
spectrum info contains information about the spectrum that you can pass from another VI. Do not change the values in spectrum info. If you want to view the information, you can right-click the spectrum info wire and select Custom Probe»Spectrum Info or Custom Probe»Power Spectrum Info from the shortcut menu. | ||||||
![]() |
tdms file out generates a tdms file reference to the .tdms file you performed the operation on. | ||||||
![]() |
group name out returns the name of the channel group you performed the operation on. | ||||||
![]() |
channel names out returns the names of the channels you performed the operation on. | ||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
.gif)
![]() |
write mode specifies how LabVIEW writes data to an existing file. For continuous data, select Append to append the streaming data to the existing group and channel(s). For block-based data, such as a spectrum, select New group to create a new group of data in the existing file. This VI does not support overwriting existing channels of data. To edit the data of an existing channel, you can read the data and then write modified data to a new file, group, or channel. | ||||||
![]() |
tdms file is a refnum to the .tdms file to perform the operation on. Use the TDMS Open function to open the refnum. | ||||||
![]() |
group name in specifies the channel group to perform the operation on. | ||||||
![]() |
channel names in specifies the channels to perform the operation on. | ||||||
![]() |
order components specifies the order components.
| ||||||
![]() |
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use exception control to treat what is normally an error as no error or to treat a warning as an error. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| ||||||
![]() |
component specifies the spectrum component. The valid values are Magnitude, Phase, Real, Imaginary, Coherence, and Unknown. | ||||||
![]() |
spectra info contains information about the spectra that you can pass from another VI. Do not change the values in spectra info. If you want to view the information, you can create a custom probe. | ||||||
![]() |
tdms file out generates a tdms file reference to the .tdms file you performed the operation on. | ||||||
![]() |
group name out returns the name of the channel group you performed the operation on. | ||||||
![]() |
channel names out returns the names of the channels you performed the operation on. | ||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|