niRFSG_ConfigureDigitalEdgeStartTrigger
- Updated2025-02-03
- 2 minute(s) read
niRFSG_ConfigureDigitalEdgeStartTrigger
C Function Prototype
ViStatus niRFSG_ConfigureDigitalEdgeStartTrigger (ViSession vi, ViConstString source, ViInt32 edge);
Purpose
Configures the Start Trigger for digital edge triggering. The NI-RFSG device must be in the Configuration state before calling this function.
![]() |
Note For the PXIe-5654/5654 with PXIe-5696, the Start Trigger is valid only with a timer-based list when RF list mode is enabled. |
Supported Devices: PXIe-5644/5645/5646, PXIe-5654/5654 with PXIe-5696, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860
Related Topics
Parameters
Input | ||
Name | Type | Description |
vi | ViSession | Identifies your instrument session. The ViSession handle is obtained from the niRFSG_init function or the niRFSG_InitWithOptions function and identifies a particular instrument session. |
source | ViConstString | Specifies the source terminal for the digital edge trigger. NI-RFSG sets the NIRFSG_ATTR_DIGITAL_EDGE_START_TRIGGER_SOURCE attribute to this value. |
edge | ViInt32 | Specifies the active edge for the Start Trigger. NI-RFSG sets the NIRFSG_ATTR_DIGITAL_EDGE_START_TRIGGER_EDGE attribute to this value. |
Return Value
Name | Type | Description | ||||||||
status | ViStatus | Returns the status code of this operation. The status code either indicates success or describes an error or warning condition. Examine the status code from each call to an instrument driver function to determine if an error occurred.
To obtain a text description of the error code, call the niRFSG_GetError function. The general meaning of the status code is as follows:
|
||||||||