NI-RFSG C Function Reference

niRFSG_CheckGenerationStatus

  • Updated2025-02-03
  • 1 minute(s) read

niRFSG_CheckGenerationStatus

C Function Prototype

ViStatus niRFSG_CheckGenerationStatus (ViSession vi, ViBoolean* isDone);

Purpose

Checks the status of the generation. Call this function to check for any errors that might occur during the signal generation or to check whether the device has finished generating.

Supported Devices: PXIe-5611, PXIe-5644/5645/5646, PXI/PXIe-5650/5651/5652, PXIe-5653/5654/5654 with PXIe-5696, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860

Related Topics

NI-RFSG Instrument Driver Programming Flow

Stopping Pear-to-Peer Generation

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.
Output
Name Type Description
isDone ViBoolean* Returns information about the completion of signal generation.

Defined Values:
VI_TRUESignal generation is complete.
VI_FALSE Signal generation is occurring.

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:

ValueMeaning
0Success
Positive ValuesWarnings
Negative ValuesErrors

Log in to get a better experience