Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

SV TDMS Read VI

Owning Palette: TDMS File I/O VIs

Installed With: Sound and Vibration Measurement Suite

Reads the specified .tdms file and returns data in a format specific to the polymorphic instance. You must manually select the polymorphic instance you want to use.

Use this VI with the TDMS List Contents function to read different types of channels from a .tdms file. Use the TDMS File Viewer VI to view the data in .tdms files.

Details  

Use the pull-down menu to select an instance of this VI.

SV TDMS Read Time Waveform (1 Ch)

count is the maximum number of data elements to read from the .tdms file for each channel. The default is -1.
offset determines the number of data elements into the .tdms file at which the function begins analyzing the .tdms file. The default is 0.
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.
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.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source specifies the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
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.
waveform returns the waveform read from the .tdms file.
t0 is the trigger time of the waveform.
dt is the time interval in seconds between data points in the waveform.
Y is the data values of the waveform.
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.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.
eof indicates if the end of the file has been reached.

SV TDMS Read Time Waveform (N Ch)

count is the maximum number of data elements to read from the .tdms file for each channel. The default is -1.
offset determines the number of data elements into the .tdms file at which the function begins analyzing the .tdms file. The default is 0.
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.
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.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source specifies the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
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.
waveforms returns the waveforms read from the .tdms file.
t0 is the trigger time of the waveform.
dt is the time interval in seconds between data points in the waveform.
Y is the data values of the waveform.
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.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.
eof indicates if the end of the file has been reached.

SV TDMS Read Octave (1 Ch)

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.
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.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source specifies the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
scale labels returns the x-scale and y-scale labels.
X-scale label returns the label of the x-scale.
Y-scale label returns the label of the y-scale.
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.
octave spectrum returns the octave spectrum in band power versus nominal frequencies. You can display the results in an Octave Graph or a Multiplot Octave Graph indicator.
nominal frequencies [Hz] returns the nominal, or preferred, frequencies as opposed to the exact frequencies associated with each 1/n octave band.
band power returns the band power in decibels associated with each 1/n octave band.
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.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.
octave info returns information about the octave spectrum that you can pass to another VI. 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.

SV TDMS Read Octave (N Ch)

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.
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.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source specifies the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
scale labels returns the x-scale and y-scale labels.
X-scale label returns the label of the x-scale.
Y-scale label returns the label of the y-scale.
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.
octave spectra returns the octave spectra in band power versus nominal frequencies. You can display the results in an Octave Graph or a Multiplot Octave Graph indicator.
nominal frequencies [Hz] returns the nominal, or preferred, frequencies as opposed to the exact frequencies associated with each 1/n octave band.
band power returns the band power in decibels associated with each 1/n octave band.
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.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.
octave info returns information about the octave spectra that you can pass to another VI. If you want to view the information, you can create a custom probe.

SV TDMS Read Spectrum (1 Ch)

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.
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.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source specifies the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
scale labels returns the x-scale and y-scale labels.
X-scale label returns the label of the x-scale.
Y-scale label returns the label of the y-scale.
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.
spectrum returns a single spectrum read from the .tdms file.
x0 returns the start frequency, in hertz, of the spectrum.
dx returns the frequency resolution, in hertz, of the spectrum.
array returns the data values of the spectrum.
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.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.
spectrum info returns information about the spectrum that you can pass to another VI. 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.

SV TDMS Read Spectrum (N Ch)

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.
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.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source specifies the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
scale labels returns the x-scale and y-scale labels.
X-scale label returns the label of the x-scale.
Y-scale label returns the label of the y-scale.
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.
spectra returns the spectra read from the .tdms file.
x0 returns the start frequency, in hertz, of each spectrum.
dx returns the frequency resolution, in hertz, of each spectrum.
array returns the data values of each spectrum.
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.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.
spectra info returns information about the spectra that you can pass to another VI. If you want to view the information, you can create a custom probe.

SV TDMS Read Spectrum (Colormap)

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.
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.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source specifies the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
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.
colormap returns the spectral results of a transient analysis.
spectral map returns the 2D array of magnitude data for the spectra.
X scale returns the scaling information associated with the first index of the 2D spectral map.
offset returns the x value associated with elements (0, n) of spectral map.
multiplier returns the x-axis spacing between consecutive elements in a column.
Y scale returns the scaling information associated with the second index of the 2D spectral map.
offset returns the y value associated with elements (n, 0) of spectral map.
multiplier returns the y-axis spacing between consecutive elements in a row.
attribute returns additional information about the spectra. LabVIEW uses this information to display the data properly and to perform extended measurements.
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.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.
spectrum info returns information about the spectrum that you can pass to another VI. 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.

SV TDMS Read Spectrum (Waterfall)

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.
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.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source specifies the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
scale labels returns the x-scale, y-scale, and z-scale labels.
X-scale label returns the label of the x-scale.
Y-scale label returns the label of the y-scale.
Z-scale label returns the label of the z-scale.
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.
waterfall graph data returns an array of 2D waveform signals in three dimensions. You can display the results in a Waterfall Graph indicator.
z0 returns the initial value of the first plot on the z-axis.
dz returns the interval between plots on the z-axis.
plots returns the data on the waterfall graph.
x0 returns the initial value on the x-axis.
dx returns the interval between points on the waterfall graph.
Y returns the values of the points on the waterfall graph.
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.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.
spectrum info returns information about the spectrum that you can pass to another VI. 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.

SV TDMS Read Speed Profile (1 Ch)

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.
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.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source specifies the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
scale labels returns the x-scale and y-scale labels.
X-scale label returns the label of the x-scale.
Y-scale label returns the label of the y-scale.
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.
speed profile returns information about the tachometer pulse arrival time and the rotational speed at each pulse.
time [s] returns the time instant of pulses in seconds.
speed [RPM] returns the rotational speed at each pulse time instant in revolutions per minute.
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.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.
speed position info returns the position information of the speed [rpm] subparameter.
positions [s] returns the locations of the samples in seconds.
samples/rev returns the number of samples per revolution.

SV TDMS Read Even-Angle Signal (1 Ch)

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.
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.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source specifies the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
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.
even-angle signal returns the data resampled at even-angle intervals. even-angle signal is synchronous to the rotational speed with a constant number of samples per revolution.
r0 returns the start of the revolution index.
dr returns the revolution interval between two sequential samples.
Y returns the values of even-angle spaced samples in a scaled engineering unit.
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.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.
even-angle channel info returns information that you can pass to another VI about the measurement configuration for even-angle signal. If you want to view the information, you can create a custom probe.
even-angle position info returns the position information of even-angle signal.
positions [s] returns the locations of the samples in seconds.
samples/rev returns the number of samples per revolution.

SV TDMS Read Even-Angle Signal (N Ch)

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.
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.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source specifies the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
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.
even-angle signals returns the data resampled at even-angle intervals for each channel. even-angle signals are synchronous to the rotational speed with a constant number of samples per revolution.
r0 returns the start of the revolution index.
dr returns the revolution interval between two sequential samples.
Y returns the values of even-angle spaced samples in a scaled engineering unit.
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.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.
even-angle channel info returns information that you can pass to another VI about the measurement configuration for even-angle signals. If you want to view the information, you can create a custom probe.
even-angle position info returns the position information of even-angle signals.
positions [s] returns the locations of the samples in seconds.
samples/rev returns the number of samples per revolution.

SV TDMS Read Order Track (1 Ch)

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.
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.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source specifies the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
scale labels returns the x-scale and y-scale labels.
X-scale label returns the label of the x-scale.
Y-scale label returns the label of the y-scale.
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.
order components returns the order components read from the .tdms file.
X returns the speed, time, or revolutions of the order components.
Y returns the data values of the order components.
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.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.
spectrum info returns information about the spectrum that you can pass to another VI. 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.

SV TDMS Read Order Track (N Ch)

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.
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.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source specifies the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
scale labels returns the x-scale and y-scale labels.
X-scale label returns the label of the x-scale.
Y-scale label returns the label of the y-scale.
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.
order components returns the order components read from the .tdms file.
X returns the speed, time, or revolutions of the order components.
Y returns the data values of the order components.
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.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.
spectra info returns information about the spectra that you can pass to another VI. If you want to view the information, you can create a custom probe.

SV TDMS Read Details

Use this VI with the TDMS List Contents VI to create a generic TDMS read VI that can read different types of channels from a TDMS file. Use the TDMS File Viewer to visually inspect TDMS files.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit