Creating a Sinusoidal Pulse with NI 5411 AWG and Acquiring with a NI Digitizer
Downloads
Filename: arbpulse.zip
Requirements: View
This program creates a pulse (burst) of a Sine wave of a certain frequency for a user-specified period.
The NI 5411 is used in ARB mode using a custom version of the niFgen APP Sequence Waveforms.vi. The only modification of this VI is to bring the Sample Counts Array control up from the niFgen Create Advanced ARB Sequence.vi. By placing it in the Sequence Array, you can control the actual number of points that the NI 5411 generates before moving onto the next waveform in the sequence.
The pulse is generated by implementing two waveforms. The first being a Sine wave with samples that provide a specific frequency for the selected NI 5411 Update Rate. Use the Sample Count control here to control how long the first waveform is controlled. A User selected pulse width in time is converted to the number of samples that must be generated for that waveform to appear as a sinusoidal pulse. When finished playing, the NI 5411 moves onto the second waveform, which is made up of all zeros.
The pulse waveform must be long enough to cover the entire pulse period. It is only Looped once (only run once), which allows you to have any frequency the User desires. The number of samples required in the waveform can be calculated by Samples = Pulse width ( in sec ) * Update rate. Take the integer value, which must be a multiple of 8 for the NI 5411 and at least 256 samples.
The NI 5411 generates a Marker signal, which is sent to the RTSI to trigger the Scope card. The NI 5911 is programmed to work in Flex Mode, which allows the Scope to easily acquire the burst that the NI 5411 produces.
Requirements
Filename: arbpulse.zip
Software Requirements
Application Software: LabVIEW Full Development System 5.1
Language(s): LabVIEW
Hardware Requirements
Hardware Group: High-Speed Digitizers (Scopes), Signal Source (AWG/FG/AO)
Hardware Model: PCI-5911, PXI-5411, PCI-5411
Driver: Traditional NI-DAQ (Legacy) 6.9.3, NI-SCOPE 2.0, NI-FGEN 1.5.1
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/).
