ni4133_ConfigurePulseTrigger
- Updated2025-11-18
- 1 minute(s) read
Configures the trigger source, delay, and timeout to generate a pulse.
Syntax
ni4133_Status NI4133_DECL ni4133_ConfigurePulseTrigger(ni4133_SessionHandle sessionHandle, const char *pulseTriggerSource, double triggerDelay, double triggerTimeout)
Parameters
| Name | Direction | Type | Description |
|---|---|---|---|
| sessionHandle | [in] | ni4133_SessionHandle | Specifies the session to configure. |
| pulseTriggerSource | [in] | const char * | Specifies the pulse trigger source. |
| triggerDelay | [in] | double | Specifies the delay, in seconds, between receiving the trigger and generating a pulse. |
| triggerTimeout | [in] | double | Specifies the timeout, in seconds, to wait for a trigger. |
Returns
Reports the status of this operation.
To obtain a text description of the status code, call ni4133_GetErrorDescription. The general meaning of the status code is as follows:
Value | Meaning |
|---|---|
Positive Values | Warnings |
Negative Values | Errors |