IviDCPwrTrigger Behavior Model
The IviDCPwrSoftwareTrigger Extension Group follows the behavior model of the IviDCPwrTrigger capability group. The only modification to the behavior model from the IviDCPwrTrigger capability group is the ability to send software triggers.
The following behavior model shows the relationship between the IviDCPwrTrigger capability group and power supply behavior.
IviDCPwr Trigger Behavior Model
After you call the IviDCPwr_init, IviDCPwr_InitWithOptions, or IviDCPwr_Reset functions, the power supply enters the ignore trigger state.
In the ignore trigger state, the attributes of the IviDCPwrBase capability group determine the signal that the power supply produces. IviDCPwrTrigger attributes can be set, but do not affect the output signal.
Calling IviDCPwr_Initiate moves the power supply to the wait for trigger state.
In the wait for trigger state, the power supply waits for a trigger on the trigger source specified by the IVIDCPWR_ATTR_TRIGGER_SOURCE attribute. After the power supply receives a trigger, it sets the voltage level to the value of the IVIDCPWR_ATTR_TRIGGERED_VOLTAGE_LEVEL attribute, and the current limit to the value of the IVIDCPWR_ATTR_TRIGGERED_CURRENT_LIMIT attribute. It then returns to the ignore trigger state.
After the changes in output occur, the IVIDCPWR_ATTR_VOLTAGE_LEVEL and IVIDCPWR_ATTR_CURRENT_LIMIT attributes reflect the power supply's new configuration.
Calling IviDCPwr_Abort moves the power supply from its current state to the ignore trigger state. If the power supply has not yet responded to a trigger, no change occurs to the voltage level or current limit.