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

Align Waveforms (continuous) (Not in Base Package)

LabVIEW 8.2 Help
August 2006

NI Part Number:
371361B-01

»View Product Info

Performs element-wise alignment of waveforms and returns the aligned waveforms. The data types you wire to the waveform inputs determine the polymorphic instance to use. Example

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

Align N Waveforms (continuous)

reset resets the phase to the phase control value and the time stamp to zero. The default is FALSE.
waveforms in is an array of waveforms to align.
interpolation mode specifies the interpolation method.

0Coerce—Each output sample is set equal to the input sample value that is closest to it in time.
1Linear—(Default) Each output sample value is a linear interpolation between the two input samples that are closest to it in time.
2Spline—Uses the spline interpolation algorithm to compute the resampled values.
3FIR filter—Uses a finite impulse response (FIR) filtering algorithm to compute the resampled values.
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 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.
FIR filter specifications specifies the minimum values this VI needs to specify the FIR filter.
alias rejection (dB) specifies the minimum attenuation level of signal components aliased after any resampling operation. The default is 120.
normalized bandwidth specifies the fraction of the new sampling rate that is not attenuated. The default is 0.4536.
interpolation specifies whether interpolation is performed. The default is TRUE.
waveforms out contains the aligned waveforms.
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.

Align M + N Waveforms (continuous)

reset resets the phase to the phase control value and the time stamp to zero. The default is FALSE.
M waveforms in is an array of waveforms to align.
N waveforms in is an array of waveforms to align.
interpolation mode specifies the interpolation method.

0Coerce—Each output sample is set equal to the input sample value that is closest to it in time.
1Linear—(Default) Each output sample value is a linear interpolation between the two input samples that are closest to it in time.
2Spline—Uses the spline interpolation algorithm to compute the resampled values.
3FIR filter—Uses a finite impulse response (FIR) filtering algorithm to compute the resampled values.
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 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.
FIR filter specifications specifies the minimum values this VI needs to specify the FIR filter.
alias rejection (dB) specifies the minimum attenuation level of signal components aliased after any resampling operation. The default is 120.
normalized bandwidth specifies the fraction of the new sampling rate that is not attenuated. The default is 0.4536.
interpolation specifies whether interpolation is performed. The default is TRUE.
M aligned waveforms out is an array of aligned waveforms.
N aligned waveforms out is an array of aligned waveforms.
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.

Align N + 1 Waveforms (continuous)

reset resets the phase to the phase control value and the time stamp to zero. The default is FALSE.
waveforms in is an array of waveforms to align.
waveform in is a waveform to align.
interpolation mode specifies the interpolation method.

0Coerce—Each output sample is set equal to the input sample value that is closest to it in time.
1Linear—(Default) Each output sample value is a linear interpolation between the two input samples that are closest to it in time.
2Spline—Uses the spline interpolation algorithm to compute the resampled values.
3FIR filter—Uses a finite impulse response (FIR) filtering algorithm to compute the resampled values.
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 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.
FIR filter specifications specifies the minimum values this VI needs to specify the FIR filter.
alias rejection (dB) specifies the minimum attenuation level of signal components aliased after any resampling operation. The default is 120.
normalized bandwidth specifies the fraction of the new sampling rate that is not attenuated. The default is 0.4536.
interpolation specifies whether interpolation is performed. The default is TRUE.
aligned waveforms out is an array of aligned waveforms.
aligned waveform out contains an aligned 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.

Align 1 + N Waveforms (continuous)

reset resets the phase to the phase control value and the time stamp to zero. The default is FALSE.
waveform in is a waveform to align.
waveform in is a waveform to align.
interpolation mode specifies the interpolation method.

0Coerce—Each output sample is set equal to the input sample value that is closest to it in time.
1Linear—(Default) Each output sample value is a linear interpolation between the two input samples that are closest to it in time.
2Spline—Uses the spline interpolation algorithm to compute the resampled values.
3FIR filter—Uses a finite impulse response (FIR) filtering algorithm to compute the resampled values.
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 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.
FIR filter specifications specifies the minimum values this VI needs to specify the FIR filter.
alias rejection (dB) specifies the minimum attenuation level of signal components aliased after any resampling operation. The default is 120.
normalized bandwidth specifies the fraction of the new sampling rate that is not attenuated. The default is 0.4536.
interpolation specifies whether interpolation is performed. The default is TRUE.
aligned waveform out contains an aligned waveform.
aligned waveforms out is an array of aligned waveforms.
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.

Align two Waveforms (continuous)

The time and component values of the result are the same as those of waveform A in. If the dt values are not equal, error out returns a warning and waveform A out and waveform B out are empty.

reset resets the phase to the phase control value and the time stamp to zero. The default is FALSE.
waveform A in is a waveform to align.
waveform B in is a waveform to align.
interpolation mode specifies the interpolation method.

0Coerce—Each output sample is set equal to the input sample value that is closest to it in time.
1Linear—(Default) Each output sample value is a linear interpolation between the two input samples that are closest to it in time.
2Spline—Uses the spline interpolation algorithm to compute the resampled values.
3FIR filter—Uses a finite impulse response (FIR) filtering algorithm to compute the resampled values.
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 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.
FIR filter specifications specifies the minimum values this VI needs to specify the FIR filter.
alias rejection (dB) specifies the minimum attenuation level of signal components aliased after any resampling operation. The default is 120.
normalized bandwidth specifies the fraction of the new sampling rate that is not attenuated. The default is 0.4536.
interpolation specifies whether interpolation is performed. The default is TRUE.
waveform A out is the waveform that results from aligning waveform A in and waveform B in.
waveform B out is the waveform that results from aligning waveform B in and waveform A in.
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.

Example

Refer to the Align and Subtract two Waveforms (continuous) VI in the labview\examples\measure\resample_align_xmpl.llb for an example of using the Align Waveforms (continuous) VI.

 


Resources


 

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