Returns whether the configuration list that you specify as listName exists.

Syntax

ViStatus __stdcall niRFSG_CheckIfConfigurationListExists(ViSession vi, ViConstString listName, ViBoolean *listExists)

Remarks

Supported Devices: PXIe-5650/5651/5652, PXIe-5654/5654 with PXIe-5696, PXIe-5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860, PXIe-5842 with 54GHz Frequency Extension

Parameters

NameDirectionTypeDescription
vi[in]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.

listName[in]ViConstString

Specifies the name of the configuration list. This string is case-insensitive.

listExists[out]ViBoolean *

Returns VI_TRUE if the configuration list exists.

Defined Values:

Value

Description

VI_TRUE

The configuration list exists.

VI_FALSE

The configuration list does not exist.

Returns

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:

Value

Meaning

0

Success

Positive Values

Warnings

Negative Values

Errors