National Instruments Car Stereo System 320571-01 用户手册

下载
页码 157
Chapter 3
DSP Board Function Overview
NI-DSP SRM for LabVIEW for Windows
3-3
Part 4:  NI-DSP Interface Utilities
short DSP_Sqrt (float * x, long n, float * y)
short DSP_Sub (float * x, float * y, long n, flaot * z)
short DSP_Subset (float * x, long n, long index, long length, float * y)
short DSP_Sum (float * x, long n, float * sum)
short DSP_Unwrap (float * x, long n, float * y)
short DSP_To Polar (float * x, float * y, long n, float * mag,  
float * phase)
short DSP_To Rect (float * mag, float * phase, long n, float * x,  
float * y)
Memory Management Data Transfer
void * Alloc_Mem (long numbytes)
short DSP_CopyMem
(void * Source, void * Destination, long type, long
count)
short Free_Mem (long ptr)
Data Acquisition Functions
Some low-level data acquisition NI-DSP functions are also available for you to call in an application on the DSP
board.  You can use these low-level data acquisition functions to develop acquisition and waveform generation
applications that occur on the DSP board, such as acquiring and sending data over the input and output channels.  If
you use any of the low-level data acquisition functions in your custom functions, please include the 
dspdaq.h
 file
in your program.  
dspdaq.h
 contains all the prototypes of functions and the data structures that the data
acquisition functions use.  You can find this header file in the 
LIB
 directory.  For more information about these
functions, refer to Part 4, Chapter 5, Data Acquisition Functions for the AT-DSP2200, in the NI-DSP Software
Reference Manual for DOS/LabWindows
.  All of the information in that chapter applies to the NI-DSP software for
LabVIEW for Windows.