IviDmm_ConfigureTrigger
IviDmmBase Capability Group
C Function Prototype
ViStatus IviDmm_ConfigureTrigger (ViSession vi, ViInt32 triggerSource, ViReal64 triggerDelay);
Purpose
Configures the common DMM trigger attributes. These attributes include the trigger source and trigger delay.
Parameters
Name | Type | Description | ||
---|---|---|---|---|
vi | ViSession | The instrument handle that you obtain from the IviDmm_init or IviDmm_InitWithOptions functions. The handle identifies a particular IVI session. | ||
triggerSource | ViInt32 | Specify the trigger source you want to use. The driver sets the IVIDMM_ATTR_TRIGGER_SOURCE attribute to this value. The DMM waits for the trigger you specify with this parameter after you call either the IviDmm_Read or IviDmm_Initiate function. After it receives the trigger, the DMM waits the length of time you specify with the triggerDelaysec parameter. The DMM then takes a measurement. Defined Values | ||
triggerDelay | ViReal64 | Pass the value you want to use for the trigger delay in seconds. The driver sets the IVIDMM_ATTR_TRIGGER_DELAY attribute to this value. The trigger delay specifies the length of time the DMM waits after it receives the trigger and before it takes a measurement. Use positive values to set the trigger delay in seconds. The driver reserves negative values for configuring the DMM to calculate the trigger delay automatically.
|