National Instruments 320571-01 用户手册

下载
页码 157
Chapter 2
NI-DSP Analysis VI Reference
NI-DSP SRM for LabVIEW for Windows
2-43
Part 3:  NI-DSP Function Reference
DSP Impulse Train Pattern
Generates a train of impulses of value
amplitude at sample delay.
If the impulse train pattern is represented
by the sequence X, the VI generates the
pattern according to the following
formula:
x
i
  =  
 

amplitude    if i modulo P = d
 
0.0    elsewhere
for  i = 0, 1, 2, … , n-1 ,
where P is the period,
d is the delay, and
n is the number of elements in the impulse train.
amplitude defaults to 1.0.
delay defaults to 0.
period defaults to 1.
Impulse Train in is a DSP Handle Cluster that indicates the memory buffer on the DSP board that will
contain the output impulse train.
Impulse Train out is a DSP Handle Cluster that is identical to Impulse Train in, but with the generated
pattern already stored in the memory buffer on the DSP board.  The largest impulse train 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.