Gx3348FuncGenIsSupported

Purpose

Return if the current GX3348 board supports the Function Generator functionally.

Syntax

Gx3348FuncGenIsSupported (nHandle, pnIsSupported, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle for the PXI board.
pnIsSupported
PSHORT
Return if the current GX3348 board supports the Function Generator functionally.
0.      Not supported
1.     Supported
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

Note: Function Generator functionality is only supported by firmware version 0x0000AC00 and above, use this API to check if supported.

Example

The following example check if the current firmware supports Function Generator:

Note: see the Gx3348FuncGenTrigger() API for a complete C example.

 

SHORT  nHandle, nStatus;

SHORT  nIsSupported;

CHAR   szTestResult[512];

 

Gx3348FuncGenIsSupported (nHandle, &nIsSupported,&nStatus);

if (nIsSupported==0)

    printf(“Current firmware does not support Pulse Generator);

else

    printf(“Current firmware supports Pulse Generator”);

 

See Also

Gx3348FuncGenSetLevels, Gx3348FuncGenSetMode, Gx3348FuncGenPulseSetTiming, Gx3348FuncGenSetState, Gx3348FuncGenTrigger, GxPdoGetErrorString