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

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006

Signal Acquisition and Regeneration Example

1 ratings | 5.00 out of 5
Print

Downloads

Filename: ack-gen-ex.zip
Requirements: View

This example uses an NI 5411 Arbitrary Waveform Generator, NI-FGEN version 1.5 or greater, the NI 5112 High-Speed Digitizer, NI-SCOPE version 2.0 or greater, and LabVIEW.

This example is based on three other National Instruments example programs. The NI-SCOPE EX Configured Acquisition.vi example that is included with NI-SCOPE, the NI-FGEN Arbitrary Waveform Example.vi example that is included with NI-FGEN, and the Interpolation Solver.vi example that is include with NI LabVIEW 6.0.

The purpose of the example is to show how to acquire a signal using the NI 5112 High Speed Digitizer sampling at 100 MHz and how to generate a simulation of this acquired signal with the NI 5411 Arbitrary Waveform Generator at 40 MHz. The difference in acquisition/sampling rates requires that the signal be both interpolated and decimated in order for the final output signal to appear as the acquired signal. To do this, the Interpolation Solver.vi example was modified to accept very large waveforms and interpolate for samples that correspond to the timing of the NI 5411.

Another feature of the NI 5411 and the NI 5112 is that they are synchronized so that the clocks are running in step by being phase locked looped (PLL) together. Without phase locked looping the boards together, the NI 5112 would acquire at it's clock’s rate, and the NI 5411 will generate a signal with the update rate at another rate. If the clocks are slightly off, even though both cards are within specification, the waveform’s timing may be slightly off. For example, if the NI 5112 samples at a 99 KHz rate and the NI 5411 updates at 101 KHz rate, the waveforms that are output have lengthened in time by about 2 KHz. The actual clock times of the devices in specification are much smaller, but if the best clock time is required, PLL helps immensely.

There are also options to save the acquired waveforms as a datalog file, open the file later, and generate the acquired data.

Requirements


Filename: ack-gen-ex.zip

Software Requirements


Application Software: LabVIEW Full Development System 6.0
Language(s): LabVIEW

Hardware Requirements


Hardware Group: High-Speed Digitizers (Scopes), Signal Source (AWG/FG/AO)
Driver: NI-SCOPE 2.0, NI-FGEN 1.5

 
1 ratings | 5.00 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/).