class="resources" Resample (constant to constant) (Not in Base Package) - LabVIEW 7.1 Help - Support - National Instruments
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Resample (constant to constant) (Not in Base Package)

Resamples input signal X according to delay and dt using an FIR filter implementation. You can use this polymorphic VI to resample a single signal or multiple signals. The data type you wire to the X input determines the polymorphic instance to use.

Resample (constant to constant, single-channel)

anti-aliasing? specifies whether the input signal undergoes lowpass filtering when being down sampled. Setting anti-aliasing? to TRUE (default) protects the resampled signal from aliasing but increases the computation requirements during resampling.
reset? controls the initialization of the internal states. The first time this VI runs or when reset? is TRUE, the internal states are initialized to zero. When reset? is FALSE (default), the internal states are initialized to the final states from the previous call to this instance of this VI. To process a large data sequence that has been split into smaller blocks, set this control to TRUE for the first block and to FALSE for continuous filtering of all remaining blocks.
X contains the input signal for resampling. The sampling interval of X is 1.
delay specifies the timestamp for Y.
dt specifies the sampling interval for Y.
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 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. The default is an empty string.
FIR filter specifications contains the minimum values needed to specify the FIR filter.
alias rejection specifies the minimum attenuation level of signal components aliased after any resampling operation.
normalized bandwidth specifies the fraction of the new sampling rate that is not attenuated.
Y returns the resampled signal.
t0 returns the time instance for the first sample in Y.
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 indicator on the front panel 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.

Resample (constant to constant, multi-channel)

anti-aliasing? specifies whether the input signal undergoes lowpass filtering when being down sampled. Setting anti-aliasing? to TRUE (default) protects the resampled signal from aliasing but increases the computation requirements during resampling.
reset? controls the initialization of the internal states. The first time this VI runs or when reset? is TRUE, the internal states are initialized to zero. When reset? is FALSE (default), the internal states are initialized to the final states from the previous call to this instance of this VI. To process a large data sequence that has been split into smaller blocks, set this control to TRUE for the first block and to FALSE for continuous filtering of all remaining blocks.
X contains the input signals for resampling. Each row of X contains an input signal. All the signals have the same length. The sampling interval of each signal in X is 1.
delay specifies the timestamp for Y.
dt specifies the sampling interval for Y.
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 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. The default is an empty string.
FIR filter specifications contains the minimum values needed to specify the FIR filter.
alias rejection specifies the minimum attenuation level of signal components aliased after any resampling operation.
normalized bandwidth specifies the fraction of the new sampling rate that is not attenuated.
Y returns the resampled signals. Each row of Y contains a resampled signal that corresponds to the input signal in the same row of X. All the signals have the same length.
t0 returns the time instance for the first sample in Y.
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 indicator on the front panel 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.

Resources


 

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