National Instruments 320571-01 用户手册

下载
页码 157
NI-DSP Analysis VI Reference 
Chapter 2
Part 3:  NI-DSP Function Reference 
2-42
NI-DSP SRM for LabVIEW for Windows
DSP Impulse Pattern
Generates an array containing an
impulse pattern.  If the Impulse
Pattern
 is represented by the
sequence X, the VI generates the
pattern according to the following
formula:
x
i
  =  
 

a    if  i = d
 
0    elsewhere
for  i = 0, 1, 2, … , n-1 ,
where a is the amplitude,
d is the delay, and
n is the number of elements in Impulse Pattern.
amplitude defaults to 1.0.
delay must be greater than or equal to 0.  If delay is less than zero or greater than or equal to the size of
Impulse Pattern, the VI returns an error.  delay defaults to 0.
Impulse Pattern in is a DSP Handle Cluster that indicates the memory buffer on the DSP board that
will contain the output impulse pattern.
Impulse Pattern out is a DSP Handle Cluster that is identical to Impulse Pattern in, 
but
 with the
generated pattern already stored in the memory buffer on the DSP board.  The largest impulse pattern
that can be generated depends upon the amount of memory on your 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.