Generating Segments of Larger Waveforms with the NI 5411
Downloads
Filename: samplcnt.zip
Requirements: View
Access to the control is passed up to the top level VI in the Sequence cluster control along with the Index, Loops, and Marker controls.
To use the control, pass the array of sample counts you want to use to create a new arbitrary sequence. The array must have at least as many elements as the value you specify in the Sequence Length parameter. Each Sample Counts array element corresponds to a Waveform Handles array element and indicates how many samples of the given waveform to generate. Each element of the Sample Count array must be larger then the minimum waveform size and a multiple of the waveform quantum. You can obtain these values by calling niFgenQueryArbWfmCapabilities.
For the NI 5411, you can use a minimum of 256 Sample Counts, with a quantum of 8, which is the same as creating a waveform for the NI 5411. The other restriction is that you cannot use a number greater than the number of samples in the waveform.
In terms of use, the NI 5411 only generates the number of samples that are indicated by the Sample Count number regardless of how many actual samples are in the waveform array downloaded to the NI 5411.
To Use:
In the Sequence Array of Cluster Control on the Front Panel, there is a Samples Control. Each element of the array pertains to one waveform in the sequence you are going to generate. Choose a Sample Count number between 256 and the number of samples in this particular waveform (Set in the Waveform Data control). Remember that the number must also be divisible by 8.
Requirements
Filename: samplcnt.zip
Software Requirements
Application Software: LabVIEW Full Development System 6.0
Language(s): LabVIEW
Hardware Requirements
Hardware Group: Signal Source (AWG/FG/AO)
Hardware Model: PXI-5411, PCI-5411
Driver: Traditional NI-DAQ (Legacy) 6.9.3, 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/).
