niDMM_ConfigureMeasCompleteSlope
ViStatus = niDMM_ConfigureMeasCompleteSlope(ViSession Instrument_Handle, ViInt32 Meas_Complete_Slope)
Purpose
Sets the Measurement Complete signal 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.
|
Meas_Complete_Slope |
ViInt32 |
Specifies the polarity of the signal that is generated. The driver sets NIDMM_ATTR_MEAS_DEST_SLOPE to this value.
Rising Edge |
0 |
NIDMM_VAL_POSITIVE |
The driver triggers on the rising edge of the trigger signal. |
Falling Edge (default) |
1 |
NIDMM_VAL_NEGATIVE |
The driver triggers on the falling edge of the trigger signal. |
|
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. |