niDMM_SendSoftwareTrigger
- Updated2023-02-21
- 1 minute(s) read
ViStatus = niDMM_SendSoftwareTrigger(ViSession Instrument_Handle)
Purpose
Sends a command to trigger the DMM. Call this function if you have configured either the NIDMM_ATTR_TRIGGER_SOURCE or NIDMM_ATTR_SAMPLE_TRIGGER attributes. If the NIDMM_ATTR_TRIGGER_SOURCE and/or NIDMM_ATTR_SAMPLE_TRIGGER attributes are set to NIDMM_VAL_EXTERNAL or NIDMM_VAL_TTLn, you can use this function to override the trigger source that you configured and trigger the device. The NI 4050 and NI 4060 are not supported.
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. |
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. |