niHSDIO_ConfigureDigitalEdgeStopTrigger
- Updated2023-02-21
- 2 minute(s) read
ViStatus = niHSDIO_ConfigureDigitalEdgeStopTrigger ( ViSession vi, ViConstString source, ViInt32 edge);
Purpose
Configures the Stop trigger for edge triggering. This function is valid only for generation sessions.
Related topics:
Parameters
| Input | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| vi | ViSession | Identifies your instrument session. vi was obtained from the niHSDIO_InitAcquisitionSession or niHSDIO_InitGenerationSession function. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Source | ViConstString | You may specify any valid source terminal for this trigger. Trigger voltages and positions
are only relevant if the source of the trigger is from the front panel connectors.
Defined Values:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Edge | ViInt32 | Specifies the edge to detect. Defined Values NIHSDIO_VAL_RISING_EDGE (12)—Rising edge trigger. NIHSDIO_VAL_FALLING_EDGE (13)—Falling edge trigger. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Return Value
| Name | Type | Description | ||||||||
| Status | ViStatus | Reports the status of this operation. To obtain a text description of the status code, call the niHSDIO_error_message function. To obtain additional information concerning the error condition, use the niHSDIO_GetError and niHSDIO_ClearError functions. The general meaning of the status code is as follows:
|
