IviSpecAnBase Behavior Model
The following state diagram shows relationships between IviSpecAn fundamental capabilities and analyzer behavior.
The main state in the IviSpecAn Class is the Idle state. The analyzer enters the Idle state as the result of being "powered-on", successfully completing a measurement, or by you aborting a previous measurement with the Abort function. Typically, the user configures the analyzer while it is in the Idle state. IviSpecAn attributes can be configured individually with the Set Attribute function (IVI-C) or using one of the higher-level functions.
The Read Y Trace and Initiate functions cause the analyzer to leave the Idle state. The Read Y Trace function does not return until the measurement process is complete and the analyzer has returned to the Idle state. The Initiate function returns as soon as the analyzer leaves the Idle state.
After the sweep is taken, the analyzer returns to the Idle state. The user can use the Acquisition Status function to determine if the acquisition is complete or is still in progress.
The Fetch Y Trace function is used to return a waveform from a previously initiated measurement.