National Instruments 320571-01 用户手册

下载
页码 157
Chapter 2
NI-DSP Analysis VI Reference
NI-DSP SRM for LabVIEW for Windows
2-11
Part 3:  NI-DSP Function Reference
Feedback Coefficients out is a DSP Handle Cluster that is identical to the Feedback Coefficients in,
but with the feedback coefficients already stored in the memory buffer on the DSP board.
error in (no error) contains the error information from a previous VI.  If an error occurs, it is passed out
error out and no other calls are made.
error out contains the error information for this call.
Parameter Discussion
The arrays Forward Coefficients in/out and Feedback Coefficients in/out have to have a size of at least (order +
1) for lowpass and highpass filters.The arrays Forward Coefficients in/out and Feedback Coefficients in/out have
to have a size of at least (2*order + 1) for bandpass and bandstop filters.
DSP Clip
Clips the input array values.  The range of
the resulting output array is [lower:upper].
Let Y represent the output array.  The i
th
element of the resulting array is obtained by
using the following formulas:
Y(i) = 
 

 upper if X(i) > upper
 lower if X(i) < lower
 
 X(i) otherwise
for  i = 0, 1, 2, …, size-1 ,
where n is the number of elements in X.
The operation can be performed in place; that is, the input and output arrays can be the same DSP Handle Cluster.
X is a DSP Handle Cluster that indicates the memory buffer on the DSP board that contains the input
signal array X.
upper limit.  upper limit 
 lower limit.  upper limit defaults to 1.0.
lower limit.  lower limit defaults to 0.0.
Clipped{X} in is a DSP Handle Cluster that indicates the memory buffer on the DSP board that will
contain the output array of Clipped{X}.
Clipped{X} out is a DSP Handle Cluster that is identical to Clipped {X} in, but with the Clipped{X}
already stored in the memory buffer on the DSP board.
error in (no error) contains the error information from a previous VI.  If an error occurs, it is passed out
error out and no other calls are made.
error out contains the error information for this call.