GX5701, GX5702, GX5704
Test the specified Module’s Buffer.
Gx5733ModuleBufferTest (nHandle, nPort, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX5733 board. |
nPort |
SHORT |
Module port 0 (GX5733_PORT0) only. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
This function runs an internal test to check the specified module’s buffer for read and write operations. The specified buffer is empty upon return.
The following example return the Buffer flag mode of module port 0:
SHORT nMode, nStatus;
Gx5733ModuleBufferTest (nHandle, GX5733_PORT0, &nStatus);