IviFgen_SendSoftwareTrigger

CVI/LabWindows IVI Class Driver

IviFgen_SendSoftwareTrigger

IviFgenSoftwareTrigger Capability Group

C Function Prototype

ViStatus IviFgen_SendSoftwareTrigger (ViSession vi);

Purpose

This function sends a command to trigger the instrument.

You must set the IVIFGEN_ATTR_TRIGGER_SOURCE attribute to IVIFGEN_VAL_SOFTWARE_TRIG before you can successfully call this function.

If the above condition is not true, this function does not send the software trigger and returns the error IVIFGEN_ERROR_TRIGGER_NOT_SOFTWARE.

This function does not normally check the instrument status. Typically, you call this function only in a sequence of calls to other low-level driver functions. The sequence performs one operation. You use the low-level functions to optimize one or more aspects of interaction with the instrument. If you want to check the instrument status, call the IviFgen_error_query function at the conclusion of the sequence.

Parameter

Name Type Description
vi ViSession The instrument handle that you obtain from the IviFgen_init or IviFgen_InitWithOptions functions. The handle identifies a particular IVI session.

Return Values