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

OAT DC Gap Estimator VI

Owning Palette: Reference Data Processing VIs

Installed With: Sound and Vibration Measurement Suite

Computes the averaged DC gap voltage and subtracts the gap reference. The data type you wire to the even-angle signal input determines the polymorphic instance to use.

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

OAT DC Gap Estimator (1 Channel)

DC gap unit specifies the output unit for DC gap.
0V—(Default) Returns DC gap in volts.
1EU—Returns DC gap in engineering units.
reset? specifies the initialization of the internal states. The first time this VI runs, or when reset? is TRUE, the internal states initialize to zero. If reset? is FALSE, this VI sets the internal states to the final states from the previous call to the VI. The default is FALSE.
x-axis selection specifies the scale type to use for the x-axis of the output XY plot.
0Time
1Revolution
2RPM (Default)
even-angle signal specifies the even-angle-resampled data. even-angle signal is synchronous to the rotational speed with a constant number of samples per revolution.
r0 specifies the starting index value for counting revolutions.
dr specifies the revolution interval between two sequential samples.
Y specifies the value of the even-angle-spaced sample in a scaled engineering unit.
even-angle channel info specifies the information about the measurement configuration that this VI uses to acquire the resampled data. Do not change the values in even-angle channel info.
even-angle position info specifies the position information of the even-angle signal.
positions [s] specifies the locations of the samples, in seconds.
samples/rev specifies the number of samples in one revolution.
speed profile specifies the arrival time and the rotational speed of each tachometer pulse.
time [s] specifies the arrival time, in seconds, of each tachometer pulse.
speed [RPM] specifies the rotational speed, in revolutions per minute, of each tachometer pulse.
gap reference [V] specifies the DC gap reference, in volts. The default value is Inf, which specifies that this VI uses the first DC gap as the gap reference.
error in describes error conditions that occur before this node runs. The default is no error. If an error occurred before this node runs, the node passes the error in value to error out. This node runs normally only if no error occurred before this node runs. If an error occurs while this node 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 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 node ran or FALSE (checkmark) to indicate a warning or that no error occurred before this node 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 node that produced the error or warning. The default is an empty string.
averaging type specifies the type of averaging this VI uses during the measurement of the DC gap.

0Linear (Default)
1Exponential
window specifies the window this VI applies to the input signal before computing the DC signal.

0Rectangular (none) (Default)
1Hanning
2Low side lobe
DC gap returns the compensated DC gap.
time/rev/RPM returns the x-axis value of the plot. The unit you specified in x-axis selection determines the unit of time/rev/RPM.
DC gap value returns the y-axis DC gap value.
unit labels returns the unit labels of the DC gap plot.
x unit returns the engineering unit for the x-axis.
DC gap unit out returns the engineering unit for the y-axis DC gap.
gap position info returns the position information of DC gap.
positions [s] returns the locations of the samples, in seconds.
samples/rev returns the number of samples in each revolution.
actual gap ref [V] returns the gap reference this VI actually uses, in volts.
error out contains error information. If error in indicates that an error occurred before this node ran, error out contains the same error information. Otherwise, it describes the error status that this node 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 node that produced the error or warning.

OAT DC Gap Estimator (N Channels)

DC gap unit specifies the output unit for DC gap.

0V—(Default) Returns DC gap in volts.
1EU—Returns DC gap in engineering units.
reset? specifies the initialization of the internal states. The first time this VI runs, or when reset? is TRUE, the internal states initialize to zero. If reset? is FALSE, this VI sets the internal states to the final states from the previous call to the VI. The default is FALSE.
x-axis selection specifies the scale type to use for the x-axis of the output XY plot.

0Time
1Revolution
2RPM (Default)
even-angle signals specifies the even-angle-resampled data. even-angle signals are synchronous to the rotational speed with constant number of samples per revolution.
r0 specifies the starting index value for counting revolutions.
dr specifies the revolution interval between two sequential samples.
Y specifies the value of the even-angle-spaced sample in scaled engineering unit.
even-angle channel info specifies information about the measurement configuration this VI uses to acquire the resampled data. Do not change the values in even-angle channel info.
even-angle position info specifies the position information of the even-angle signal.
positions [s] specifies the locations of the samples, in seconds.
samples/rev specifies the number of samples in one revolution.
speed profile specifies the arrival time and the rotational speed of each tachometer pulse.
time [s] specifies the arrival time, in seconds, of each tachometer pulse.
speed [RPM] specifies the rotational speed, in revolutions per minute, of each tachometer pulse.
gap references [V] specifies the DC gap references for each channel, in volts. The default value is Inf, which specifies that this VI uses the first DC gap as the gap reference.
error in describes error conditions that occur before this node runs. The default is no error. If an error occurred before this node runs, the node passes the error in value to error out. This node runs normally only if no error occurred before this node runs. If an error occurs while this node 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 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 node ran or FALSE (checkmark) to indicate a warning or that no error occurred before this node 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 node that produced the error or warning. The default is an empty string.
averaging type specifies the type of averaging this VI uses during the measurement of the DC gap.

0Linear (Default)
1Exponential
window specifies the window this VI applies to the input signal before computing the DC signal.

0Rectangular (none) (Default)
1Hanning
2Low side lobe
DC gaps returns the compensated DC gap for each channel.
time/rev/RPM returns the x-axis value of the plot. The unit you specified in x-axis selection determines the unit of time/rev/RPM.
DC gap value returns the y-axis DC gap value.
unit labels returns the unit labels of the DC gap for each channel.
x unit returns the engineering unit for the x-axis.
DC gap unit out returns the engineering unit for the y-axis DC gap.
gap position info returns the position information of DC gap.
positions [s] returns the locations of the samples, in seconds.
samples/rev returns the number of samples in each revolution.
actual gap ref [V] returns the gap reference this VI actually uses for each channel, in volts.
error out contains error information. If error in indicates that an error occurred before this node ran, error out contains the same error information. Otherwise, it describes the error status that this node 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 node that produced the error or warning.

Resources


 

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