![National Instruments NI PXIe-5450 Скачать руководство пользователя страница 135](http://html2.mh-extra.com/html/national-instruments/ni-pxie-5450/ni-pxie-5450_user-manual_3486740135.webp)
Chapter 4
Programming
NI PXIe-5450 User Manual
4-16
ni.com
4.
Call the
niFgen_CreateArbSequence
function or the
niFgen_CreateAdvancedArbSequence
function.
5.
Call the
niFgen_ConfigureArbSequence
function to configure the
gain and offset of the waveform.
Configure Frequency List Mode
You can use Frequency List mode to generate a standard function using a
list of frequencies you define.
LabVIEW Example
The procedure below provides the basic steps required to configure
Frequency List mode. For an example of the use of Frequency List mode in
LabVIEW, refer to the
Fgen Sweep Generator.vi
example.
1.
Call the niFgen Configure Output Mode VI with
Output Mode
set to
Frequency List.
2.
(Optional) Call the niFgen Clear Frequency List VI to remove any
previously created frequency lists from the signal generator memory.
3.
Call the niFgen Create Frequency List VI to set the function type, the
frequency list, and the duration of each step in the list.
4.
Call the niFgen Configure Frequency List VI to select the active
frequency list and configure the amplitude, DC offset, and start phase
of the generation.
C Example
The procedure below provides the basic steps required to configure
Frequency List mode. For an example of the use of Frequency List mode in
C, refer to the Fgen Sweep SweepGenerator example for CVI.
1.
Call the
niFgen_ConfigureOutputMode
function with
outputMode
set to
NIFGEN_VAL_OUTPUT_FREQ_LIST
.
2.
(Optional) Call the
niFgen_ClearFreqList
function to remove a
previously created frequency lists from the signal generator memory.
3.
Call the
niFgen_CreateFreqList
function to set the function type,
the frequency list, and the duration of each step in the list.
4.
Call the
niFgen_ConfigureFreqList
function to select the active
frequency list and configure the amplitude, DC offset, and start phase
of the generation.