GxFpgaPioReset

Applies to

GX3501, GX3509, GX3510, GX3540

Purpose

Resets the specified PIO expansion board to its default settings.

Syntax

GxFpgaPioReset (nHandle, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX3500 board.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

GX3501, GX3509, GX3510: This command will set all channels for all four I/O groups to input.

GX3540: This command will set all channel in GXFPGA_PIO_GROUP_D to output a logical low.

Example

The following example resets the specified PIO expansion board:

 

GxFpgaPioReset (nHandle, &nStatus);

 

See Also

GxFpgaGetErrorString