IviSpecAn 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 by you with the Abort VI. Typically, you configure the analyzer while it is in the Idle state. IviSpecAn properties can be configured individually with the Set Attribute VI (IVI-C) or using one of the higher-level VIs.
The Read Y Trace and Initiate VIs cause the analyzer to leave the Idle state. The Read Y Trace VI does not return until the measurement process is complete and the analyzer has returned to the Idle state. The Initiate VI returns as soon as the analyzer leaves the Idle state.
After the sweep is taken, the analyzer returns to the Idle state. You can use the Acquisition Status VI to determine if the acquisition is complete or is still in progress.
The Fetch Y Trace IviSpecAn_Fetch_Y_Trace.html is used to return a waveform from a previously initiated measurement.