niDMM_ConfigureSampleTriggerSlope
From NI-DMM C/CVI/VB
niDMM_ConfigureSampleTriggerSlope
ViStatus = niDMM_ConfigureSampleTriggerSlope(ViSession Instrument_Handle, ViInt32 Sample_Trigger_Slope)
Purpose
Sets the NIDMM_ATTR_SAMPLE_TRIGGER_SLOPE to either rising edge (positive) or falling edge (negative) polarity.
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. | ||||||||
| Sample_Trigger_Slope | ViInt32 | Specifies the polarity of the Trigger signal on which the measurement is triggered for values of either NIDMM_VAL_POSITIVE or NIDMM_VAL_NEGATIVE. The driver sets NIDMM_ATTR_SAMPLE_TRIGGER_SLOPE to this value.
|
||||||||
Return Value
| Name | Type | Description |
| Status | ViStatus | Reports the Status of this operation. To obtain a text description of the status code, call niDMM_error_message. To obtain additional information concerning the error condition, use niDMM_GetError. |