IviFgen_QueryArbSeqCapabilities

CVI/LabWindows IVI Class Driver

IviFgen_QueryArbSeqCapabilities

IviFgenArbSeq Capability Group

C Function Prototype

ViStatus IviFgen_QueryArbSeqCapabilities (ViSession vi, ViInt32 *maximumNumberofSequences, ViInt32 *minimumSequenceLength, ViInt32 *maximumSequenceLength, ViInt32 *maximumLoopCount);

Purpose

This function returns the attributes of the function generator that are related to creating arbitrary sequences. These attributes are the maximum number of sequences, minimum sequence length, maximum sequence length, and maximum loop count.

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
Sequences
ViInt32
(passed
by
reference)
Returns the maximum number of arbitrary waveform sequences that the function generator allows. The driver obtains this value from the IVIFGEN_ATTR_MAX_NUM_SEQUENCES attribute.
minimumSequence
Length
ViInt32
(passed
by
reference)
Returns the minimum number of arbitrary waveforms the function generator allows in a sequence. The driver obtains this value from the IVIFGEN_ATTR_MIN_SEQUENCE_LENGTH attribute.
maximumSequence
Length
ViInt32
(passed
by
reference)
Returns the maximum number of arbitrary waveforms the function generator allows in a sequence. The driver obtains this value from the IVIFGEN_ATTR_MAX_SEQUENCE_LENGTH attribute.
maximumLoop
Count
ViInt32
(passed
by
reference)
Returns the maximum number of times the function generator can repeat an arbitrary waveform in a sequence. The driver obtains this value from the IVIFGEN_ATTR_MAX_LOOP_COUNT attribute.

Return Values