IviPwrMeterTriggerSource Behavior Model
The IviPwrMeterTriggerSource behavior model leverages the behavior model of the IviPwrMeterBase capability group. Furthermore, it defines an additional Wait-For-Trigger state after the Idle state. The following state diagram shows the relationship between IviPwrMeterTriggerSource capabilities and the IviPwrMeterBase capability behavior model.
The Initiate and Read functions cause the power meter to leave the Idle state and transition to the Wait-For-Trigger state. The Read function does not return until the measurement process is complete and the power meter returns to the Idle state. The Initiate function returns as soon as the power meter leaves the Idle state.
In the Wait-For-Trigger state, the power meter waits for a trigger event. The type of trigger event is specified by the Trigger Source attribute. When the specified trigger event occurs, the power meter leaves the Wait-For-Trigger state and takes a measurement on all enabled channels.