Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Synchronizing a DSA Device with a MIO Device Using Different Sampling Rates

3 ratings | 4.67 out of 5
Print

Downloads

Filename: 202878.vi
Requirements: View

This example shows how to perform a continuous acquisition on DSA and MIO devices which are synchronized and sampling at different rates using DAQmx.

How the synchronization works:
- The oversample clock from the DSA device is exported over the PXI Star trigger line to the MIO device.
- The MIO device uses this oversample clock as a timebase for its own sampling rate.

When choosing sample rates and block sizes for this example, try to keep the amount of time it takes to acquire data from each device very similar. For example, if you want to sample at 20kS/s on the DSA board and at 80kS/s on the MIO board, make sure that the block size used for the MIO board is 4x the size of the DSA block size. This will help to guarantee that your program does not experience FIFO overflows.

The DSA device must be the master device and must be in the timing slot of the PXI chassis. In most cases this will be in slot2.  Look for the square or diamond around the slot number which will identify the timing slot. This example will not run as is on PCI devices.

Requirements


Filename: 202878.vi

Software Requirements


Application Software: LabVIEW Base Development System 7.1
Language(s): LabVIEW

Hardware Requirements


Hardware Group: Multifunction DAQ (MIO), Dynamic Signal Analyzers (DSA)
Hardware Model: PXI-4461, PXI-4472B, PXI-4472, PXI-4462
Driver: NI-DAQmx 7.3

 
3 ratings | 4.67 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program 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 program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM 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/).