niHSDIO_ConfigureSoftwareRefTrigger
- Updated2023-02-21
- 1 minute(s) read
ViStatus = niHSDIO_ConfigureSoftwareRefTrigger ( ViSession vi, ViInt32 pretriggerSamples);
Purpose
Configures the Reference trigger for software triggering. If the Reference trigger asserts before all the pretrigger samples are acquired, then it is ignored. This function is valid only for acquisition sessions.
Refer to niHSDIO_SendSoftwareEdgeTrigger for more information about the software Reference trigger.
Related topics:
Parameters
| Input | ||
| Name | Type | Description |
| vi | ViSession | Identifies your instrument session. vi was obtained from the niHSDIO_InitAcquisitionSession or niHSDIO_InitGenerationSession function. |
| Pretrigger Samples | ViInt32 | Specifies the number of necessary pretrigger samples before the Reference trigger is acknowledged. |
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:
|