IviFgenBase Behavior Model

CVI/LabWindows IVI Class Driver

IviFgenBase Behavior Model

The following behavior model shows the relationship between the IviFgen base capability group and function generator behavior.

IviFgenBase Behavior Model

After you call the IviFgen_init, IviFgen_InitWithOptions, or IviFgen_reset functions, the function generator enters the output generation state.

Calling IviFgen_AbortGeneration moves the function generator to the configuration state. Depending on the specific function generator, this might cause signal generation to cease. Any changes made to the instrument while in the configuration state take place no later than when you call IviFgen_InitiateGeneration, but can occur before then.

Calling IviFgen_InitiateGeneration moves the function generator back to the output generation state. The output signal then reflects all configuration changes made to the function generator while in the configuration state. Any changes made to the instrument while in the output generation state take place immediately.

When the function generator is in the output generation state, it generates output based on the current value of the IVIFGEN_ATTR_OPERATION_MODE attribute. If the IVIFGEN_ATTR_OPERATION_MODE attribute is set to IVIFGEN_VAL_OPERATE_CONTINUOUS, the function generator produces the waveform continuously.

If the IVIFGEN_ATTR_OPERATION_MODE attribute is set to a value other than IVIFGEN_VAL_OPERATE_CONTINUOUS, the attributes and functions of a corresponding extension group control the operation of the function generator. Refer to the behavior model for the corresponding extension group for details regarding instrument behavior.

This specification does not define when the function generator changes to a new operation mode if the value of the IVIFGEN_ATTR_OPERATION_MODE attribute changes while the function generator is in the output generation state.