Return if the current GX3348 board supports the Function Generator functionally.
Gx3348FuncGenIsSupported (nHandle, pnIsSupported, pnStatus)
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 supported1. Supported |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
Note: Function Generator functionality is only supported by firmware version 0x0000AC00 and above, use this API to check if supported.
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”);
Gx3348FuncGenSetLevels, Gx3348FuncGenSetMode, Gx3348FuncGenPulseSetTiming, Gx3348FuncGenSetState, Gx3348FuncGenTrigger, GxPdoGetErrorString