National Instruments 320571-01 用户手册

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