National Instruments Car Stereo System 320571-01 用户手册
Contents
© National Instruments Corporation
vii
NI-DSP SRM for LabVIEW for Windows
DSP ReFFT...............................................................................................................................................
2-66
DSP Reset .................................................................................................................................................
2-66
DSP Reverse .............................................................................................................................................
2-67
DSP Sawtooth Pattern...............................................................................................................................
2-68
DSP Set .....................................................................................................................................................
2-69
DSP Shift ..................................................................................................................................................
2-69
DSP Sinc Pattern.......................................................................................................................................
2-70
DSP Sine Pattern.......................................................................................................................................
2-71
DSP Square Pattern...................................................................................................................................
2-72
DSP Square Root ......................................................................................................................................
2-73
DSP Sort ...................................................................................................................................................
2-74
DSP Start ..................................................................................................................................................
2-75
DSP Subset ...............................................................................................................................................
2-75
DSP Subtract.............................................................................................................................................
2-76
DSP Sum...................................................................................................................................................
2-76
DSP TimeOut ............................................................................................................................................
2-77
DSP Triangle Pattern ................................................................................................................................
2-78
DSP Triangular Train................................................................................................................................
2-80
DSP Triangular Window ..........................................................................................................................
2-81
DSP Uniform White Noise .......................................................................................................................
2-82
DSP Unwrap Phase ...................................................................................................................................
2-83
DSP Zero Padder ......................................................................................................................................
2-84
Part 4
NI-DSP Interface Utilities
NI-DSP Interface Utilities
Chapter 1
Introduction to the NI-DSP Interface Utilities
Introduction to the NI-DSP Interface Utilities
....................................................................
1-1
Overview of the NI-DSP Interface Utilities..............................................................................................
1-1
Installing the NI-DSP Interface Utilities ..................................................................................................
1-2
Using the NI-DSP Interface Utilities ........................................................................................................
1-2
Chapter 2
Getting Started with the NI-DSP Interface Utilities
Getting Started with the NI-DSP Interface Utilities
.......................................................
2-1
Creating Your Custom NI-DSP Library ...................................................................................................
2-1
1. Create Your Source Code of C Functions .............................................................................
2-1
GMaxMin.c Example ..................................................................................................
2-1
Guidelines for the Custom Functions ..........................................................................
2-2
DSP Board Memory Management ...............................................................................
2-3
2. Compile and/or Assemble Source Code ................................................................................
2-4
3. Add Your Object Filenames to a Linker File (ifile) ..............................................................
2-4
4. Add Your New Function Names to a Library Function List File..........................................
2-4
Customizing the DSP Library by Deleting Functions .................................................
2-5
5. Run the Build Dispatch Application to Generate an Assembly Dispatch File ......................
2-6
6. Compile, Assemble, and Link Your Custom Library............................................................
2-7
Creating Your LabVIEW Interface ..........................................................................................................
2-8
1. Bundle All of the Input Parameters to Arrays .......................................................................
2-8
2. Call the Custom VI ................................................................................................................
2-10
3. Index the Output Arrays to Obtain the Results .....................................................................
2-10
Executing the Custom Function from LabVIEW .....................................................................................
2-12
Chapter 3
DSP Board Function Overview
DSP Board Function Overview
......................................................................................................
3-1
Data Acquisition Functions ......................................................................................................................
3-3