Справочник ПользователяСодержаниеNI-DSP Software Reference Manual for LabVIEW for Windows1Important Information3Contents5About This Manual11Assumption of Previous Knowledge11Organization of This Manual11Conventions Used in This Manual12Related Documentation14Additional Software14NI-DAQ for DOS/Windows/LabWindows14Developer Toolkit15Compatible Hardware15Customer Communication15Part 1 Getting Started with NI-DSP16Product Overview16The NI-DSP Software16What Your Distribution Diskettes Should Contain17Installing NI-DSP for LabVIEW for Windows17Board Configuration18Installation on an ISA (or AT) Bus Computer18Installation on an EISA Bus Computer18Part 2 Introduction to the NI-DSP Analysis VIs19Using the NI-DSP VIs in LabVIEW19AT-DSP2200 Software Overview19Memory Management and Data Transfer20Special Features of the NI-DSP Analysis VIs23An Example of Using NI-DSP Analysis VIs26Hints for Improving the Execution Speed on the DSP Board25Part 3 NI-DSP Function Reference28Chapter 1 NI-DSP Analysis VI Reference Overview28The NI-DSP Analysis VI Overview28Analysis VI Organization30Accessing the NI-DSP Analysis VIs30About the Fast Fourier Transform (FFT)31About Filtering32About Windowing33Chapter 2 NI-DSP Analysis VI Reference36Copy Mem(DSP to DSP)36Copy Mem(DSP to LV)37Copy Mem(LV to DSP)38DSP Absolute39DSP Add40DSP Allocate Memory41DSP Blackman Window42DSP Blackman Harris Window43DSP Butterworth Coefficients44DSP Chebyshev Coefficients45DSP Clip46DSP Complex FFT47DSP Convolution48DSP Correlation49DSP Cross Power50DSP Custom51DSP Decimate52DSP Deconvolution53DSP Derivative54DSP Divide55DSP Elliptic Coefficients56DSP Equi-Ripple BandPass58DSP Equi-Ripple BandStop60DSP Equi-Ripple HighPass62DSP Equi-Ripple LowPass64DSP Exact Blackman Window65DSP Exponential Window66DSP FHT67DSP Flat Top Window68DSP Force Window69DSP Free Memory69DSP Gaussian White Noise70DSP General Cosine Window71DSP Hamming Window72DSP Handle To Address73DSP Hanning Window74DSP IIR Filter75DSP Impulse Pattern77DSP Impulse Train Pattern78DSP Index Memory79DSP Init Memory80DSP Integral81DSP Inv Chebyshev Coeff82DSP Inverse FFT83DSP Inverse FHT84DSP Kaiser-Bessel Window85DSP Linear Evaluation86DSP Load86DSP Log87DSP Max & Min88DSP Median Filter89DSP Multiply90DSP Parks-McClellan91DSP Polar to Rectangular95DSP Polynomial Evaluation96DSP Power Spectrum97DSP Product97DSP Pulse Pattern98DSP Ramp Pattern99DSP Random Pattern100DSP Rectangular To Polar101DSP ReFFT102DSP Reset102DSP Reverse103DSP Sawtooth Pattern104DSP Set105DSP Shift105DSP Sinc Pattern106DSP Sine Pattern107DSP Square Pattern108DSP Square Root109DSP Sort110DSP Start111DSP Subset111DSP Subtract112DSP Sum112DSP TimeOut113DSP Triangle Pattern114DSP Triangular Train116DSP Triangular Window117DSP Uniform White Noise118DSP Unwrap Phase119DSP Zero Padder120Part 4 NI-DSP Interface Utilities121Chapter 1 Introduction to the NI-DSP Interface Utilities121Overview of the NI-DSP Interface Utilities121Installing the NI-DSP Interface Utilities122Using the NI-DSP Interface Utilities122Chapter 2 Getting Started with the NI-DSP Interface Utilities123Creating Your Custom NI-DSP Library1231. Create Your Source Code of C Functions123GMaxMin.c Example:123Guidelines for the Custom Functions124DSP Board Memory Management1262. Compile and/or Assemble Source Code1273. Add Your Object Filenames to a Linker File (ifile)1274. Add Your New Function Names to a Library Function List File127Customizing the DSP Library by Deleting Functions1285. Run the Build Dispatch Application to Generate an Assembly Dispatch File1296. Compile, Assemble, and Link Your Custom Library130Creating Your LabVIEW Interface1311. Bundle All of the Input Parameters to Arrays1312. Call the Custom VI133Executing the Custom Function from LabVIEW135Chapter 3 DSP Board Function Overview136Data Acquisition Functions138Chapter 4 Using the DMA VIs139DSP DMA Copy(DSP to LV)141DSP DMA Copy(LV to DSP)142Appendix A Error Codes143Appendix B Customer Communication147Glossary151Index152Figures9Figure 1-1. Development Paths with the NI-DSP Software16Figure 1-1. Communication between the PC and the DSP Board19Figure 1-2. DSP Handle Cluster21Figure 1-3. The Hexadecimal Encoding of a Typical DSP Handle21Figure 1-4. Front Panel–An Example of How to Allocate a DSP Handle Cluster22Figure 1-5. Block Diagram–An Example of How to Allocate a DSP Handle Cluster22Figure 1-6. DSP Add VI23Figure 1-7. The error in/error out Cluster23Figure 1-8. An Example That Does Not Use error in/error out24Figure 1-9. An Example of Using the error in/error out Cluster for Sequential VI Execution25Figure 1-10. Front Panel–An Example of Using NI-DSP Analysis VIs26Figure 1-11. Block Diagram–An Example of Using NI-DSP Analysis VIs26Figure 1-1. Choosing DSP2200 from the Functions Menu31Figure 1-2. Spectral Leakage Demonstrated Using Convolution34Figure 1-1. NI-DSP for DOS Directory Structure121Figure 1-2. Interface Layers to Onboard Functions122Figure 2-1. Linker File NIDSPLNK127Figure 2-2. Library Function List File NIDSP.fnc127Figure 2-3. Typical Section of NIDSP.fnc128Figure 2-4. Signals Group Section in dspfncs.h129Figure 2-5. Signals Group Section in dispatch.s129Figure 2-6. How to Bundle Parameters in LabVIEW to Call gmaxmin.c132Figure 2-7. How to Connect to Custom VI to Call gmaxmin.c133Figure 2-8. Block Diagram–How to Index the Output Arrays of the Custom VI134Figure 2-9. Block Diagram–Using the Custom VI to Call gmaxmin.c on the134Figure 2-10. Front Panel–Using the Custom VI to Call gmaxmin.c on the135Tables10Table 1-1. Subdirectories Created by SETUP17Table 1-1. The NI-DSP Analysis VI Groups28Table 2-1. Files Required to Build the Custom DSP Library Example130Table A-1. NI-DSP Analysis Library Error Codes143Размер: 535,2 КБСтраницы: 157Язык: EnglishПросмотреть