IviFgen_QueryArbWfmCapabilities

CVI/LabWindows IVI Class Driver

IviFgen_QueryArbWfmCapabilities

IviFgenArbWfm Capability Group

C Function Prototype

ViStatus IviFgen_QueryArbWfmCapabilities (ViSession vi, ViInt32 *maximumNumberofWaveforms, ViInt32 *waveformQuantum, ViInt32 *minimumWaveformSize, ViInt32 *maximumWaveformSize);

Purpose

This function returns the attributes of the function generator that are related to creating arbitrary waveforms. These attributes are the maximum number of waveforms, waveform quantum, minimum waveform size, and maximum waveform size.

Note  If you do not want to obtain one of these values, pass a value of VI_NULL for that parameter.

Parameters

Inputs Type Description
vi ViSession The instrument handle that you obtain from the IviFgen_init or IviFgen_InitWithOptions functions. The handle identifies a particular IVI session.
     
Outputs Type Description
maximumNumberof
Waveforms
ViInt32
(passed
by
reference)
Returns the maximum number of arbitrary waveforms that the function generator allows. The driver obtains this value from the IVIFGEN_ATTR_MAX_NUM_WAVEFORMS attribute.
waveformQuantum ViInt32
(passed
by
reference)
The size of each waveform must be a multiple of a constant quantum value. This parameter obtains the quantum value the function generator uses. The driver returns this value from the IVIFGEN_ATTR_WAVEFORM_QUANTUM attribute. For example, when this attribute returns a value of 8, all waveform sizes must be a multiple of 8.
minimumWaveform
Size
ViInt32
(passed
by
reference)
Returns the minimum number of points the function generator allows in a waveform. The driver obtains this value from the IVIFGEN_ATTR_MIN_WAVEFORM_SIZE attribute.
maximumWaveform
Size
ViInt32
(passed
by
reference)
Returns the maximum number of points the function generator allows in a waveform. The driver obtains this value from the IVIFGEN_ATTR_MAX_WAVEFORM_SIZE attribute.

Return Values