National Instruments 320571-01 用户手册

下载
页码 157
NI-DSP SRM for LabVIEW for Windows
2-1
Part 3:  NI-DSP Function Reference
Chapter 2
NI-DSP Analysis VI Reference
                                                                                                        
 
This chapter contains a brief explanation of each NI-DSP Analysis VI .  The VIs are arranged alphabetically.
Copy Mem(DSP to DSP)
Copies a buffer of data from the Source
buffer on the DSP board that is referred to
by a DSP Handle Cluster to the destination
buffer on the DSP board, which is referred
to by another DSP Handle Cluster.  Source
and destination buffers should be on the
same DSP board.
To copy data correctly from one DSP
buffer to another DSP buffer, you must set the data type to the appropriate type to indicate what kind of data is on
the DSP board.  The VI has three data types–32-bit floating-point data, 16-bit short integer data, and 32-bit long
integer data.
Source is a DSP Handle Cluster that indicates the memory buffer on the DSP board that contains the
data that you want to copy to the destination.
data type indicates the type of data that Source contains.  The VI has three data types:
0:  32-bit floating-point data.
1:  16-bit short integer data.
2:  32-bit long integer data.
data type defaults to 32-bit floating-point data.
Destination in is a DSP Handle Cluster that indicates the destination memory buffer on the DSP board
that will contain the data copied from source buffer.
Destination out is a DSP Handle Cluster that is identical to the 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.