Tips for Porting an Application with NI-DSA to NI-DAQmx and the Sound and Vibration Toolkit in LabVIEW
Overview
This document provides tips for how to port an application which previously used NI-DSA with either a NI-4551 or NI-4552 to one which uses NI-DAQmx and the Sound and Vibration Toolkit with a NI-4461 or NI-4462 device.
One large difference between the two applications is how the acquisition, generation, and analysis is programmed. The NI-DSA API contained all of these functions whereas, when using NI-446x devices, the acquisition and generation functionality is performed in NI-DAQmx and the Sound and Vibration Toolkit performs the analysis.
Hardware Connections
The PCI-4551 with a BNC-2140's connectivity is the same as an NI-4461.The PCI-4552 with a BNC-2140's connectivity is the same as an NI-4462
For more details on specifics on the NI-446x devices, visit their product pages (PCI-4461, PCI-4462).
Software
This section lists several common analysis routines used by NI-DSA and describes what the corresponding function is in the Sound and Vibration Toolkit as well as the name of an example which uses that function.
FFT
For FFT analysis, use the Power Specturm Express VI.
Example: SVXMPL_Baseband FFT (DAQmx).vi
ZoomFFT
For Zoom FFT analysis, use the Zoom Power Spectrum Express VI.
Example: SVXMPL_Zoom FFT (DAQmx).vi
Octave Analysis
For Octave analysis, use the Octave Analysis Express VI.
Example: SVXMPL_Third-Octave Analysis (DAQmx).vi
Swept Sine Analysis
Just as with NI-DSA, performing a Swept Sine analysis requires more than one function. The best place to start is directly with the example below.
Example: SVXMPL_Getting Started with Swept Sine (DAQmx).vi
Analog Waveform Output
For generating a waveform, refer to the NI-DAQmx example below.
Example: Cont Gen Voltage Wfm-Int Clk.vi
For more details on the types of analyses available in the Sound and Vibration Toolkit or how to use specific functions, refer to the User Manual.
Related Links:
Sound and Vibration Toolkit User Manual
NI Sound and Vibration Portal
Reader Comments | Submit a comment »
Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
