Gx5733ModuleBufferTest

Applies To

GX5701, GX5702, GX5704

Purpose

Test the specified Module’s Buffer.

Syntax

Gx5733ModuleBufferTest (nHandle, nPort, pnStatus)

Parameters

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.

Comments

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.

Example

The following example return the Buffer flag mode of module port 0:

 

SHORT nMode, nStatus;

Gx5733ModuleBufferTest (nHandle, GX5733_PORT0, &nStatus);

 

See Also

Gx5733ModuleBufferWriteData, Gx5733ModuleBufferReadData,