niRFSG_ConfigureDigitalEdgeScriptTrigger
- Updated2024-05-08
- 1 minute(s) read
niRFSG_ConfigureDigitalEdgeScriptTrigger
Specific Function
C Function Prototype
ViStatus niRFSG_ConfigureDigitalEdgeScriptTrigger (ViSession vi, ViConstString triggerIdentifier, ViConstString source, ViInt32 edge);
Purpose
Configures the specified Script Trigger for digital edge triggering. The NI-RFSG device must be in the Configuration state before calling this function.
Supported Devices: PXIe-5644/5645/5646, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842
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. |
triggerIdentifier | ViConstString | Specifies the Script Trigger to configure. |
source | ViConstString | Specifies the source terminal for the digital edge Script Trigger. NI-RFSG sets the NIRFSG_ATTR_DIGITAL_EDGE_SCRIPT_TRIGGER_SOURCE attribute to this value. |
edge | ViInt32 | Specifies the active edge for the digital edge Script Trigger. NI-RFSG sets the NIRFSG_ATTR_DIGITAL_EDGE_SCRIPT_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:
|
||||||||