National Instruments 320571-01 用户手册

下载
页码 157
NI-DSP Analysis VI Reference 
Chapter 2
Part 3:  NI-DSP Function Reference 2-3 NI-DSP SRM for LabVIEW for Windows
Copy Mem(LV to DSP)
Copies a buffer of data from the source
buffer in LabVIEW to the destination
buffer on the DSP board, which is referred
to by a DSP Handle Cluster.
The source buffer can contain one of three
kinds of data–float (32-bit), short
(16-bit), and long (32-bit).  To copy
different types of data, you must wire to the
appropriate source terminal.  You must
wire only one kind of source terminal.  The
destination buffer must be large enough to contain all of the data from the source buffer.
source(float) is the terminal to which you should wire the source buffer if the data you want to copy is
32-bit floating point data array.
source(long) is the terminal to which you should wire the source buffer if the data you want to copy is
32-bit long data array.
source(short) is the terminal to which you should wire the source buffer if the data you want to copy is
16-bit short data array.
Destination in is a DSP Handle Cluster that indicates the destination memory buffer on the DSP board
that will contain the data copied from the LabVIEW source buffer.
Destination out is a DSP Handle Cluster that is identical to Destination in, but with the source buffer
data already copied to 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.