Gx6021Reset (pnHandle, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX6021 board. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The function is normally called after calling the Gx6021Initialize function, since the initialize function will not reset the board.
The following example initializes the driver and then resets the board.
Gx6021Initialize(1, &nHandle, &nStatus);
if (nStatus<0)
return nStatus; // return error
Gx6021Reset (nHandle, &nStatus);