Gx5731ModuleBufferClear

Applies To

GX5701, GX5702, GX5704

Purpose

Clear the Module’s Buffer.

Syntax

Gx5731ModuleBufferClear (nHandle, nPort, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX5731 board.
nPort
SHORT
Module port 0 (GX5731_PORT0) only.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

Calling this function clears the Module’s Buffer. All Module’s Buffer data will be erased.

Example

The following example return the clears Module 2 Buffer:

 

SHORT nStatus;

 

Gx5731ModuleBufferClear (nHandle, GX5731_PORT2, &nStatus);

 

See Also

Gx5731ModuleBufferReadData, Gx5731ModuleBufferWriteData