niDMM_ConfigureTrigger
- Updated2023-02-21
- 2 minute(s) read
ViStatus = niDMM_ConfigureTrigger(ViSession Instrument_Handle, ViInt32 Trigger_Source, ViReal64 Trigger_Delay)
Purpose
Configures the DMM Trigger_Source and Trigger_Delay. Refer to Triggering and Using Switches for more information.
Parameters
| Input | ||||
| Name | Type | Description | ||
| Instrument_Handle | ViSession | Identifies a particular instrument session. You obtain the Instrument_Handle parameter from niDMM_init or niDMM_InitWithOptions. The default is None. | ||
| Trigger_Source | ViInt32 | Specifies the Trigger_Source that initiates the acquisition. The driver sets
NIDMM_ATTR_TRIGGER_SOURCE to this value. Software configures the DMM to wait until
niDMM_SendSoftwareTrigger is called before triggering the DMM.
|
||
| Trigger_Delay | ViReal64 | Specifies the time that the DMM waits after it has received a trigger before taking a measurement. The driver sets the
NIDMM_ATTR_TRIGGER_DELAY attribute to this value. By default, Trigger_Delay is NIDMM_VAL_AUTO_DELAY (-1), which means the DMM waits an appropriate settling time before taking the measurement. On the NI 4060, if you set Trigger_Delay to 0, the DMM does not settle before taking the measurement. The NI 4065 and NI 4070/4071/4072 use the value specified in Trigger_Delay as additional settling time.
|
||
Return Value
| Name | Type | Description |
| Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_GetErrorMessage. To obtain additional information concerning the error condition, use niDMM_GetError. |
