Gx5733ModuleBufferClear

Applies To

GX5701, GX5702, GX5704

Purpose

Clear the Module’s Buffer.

Syntax

Gx5733ModuleBufferClear (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

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;

 

Gx5733ModuleBufferClear (nHandle, GX5733_PORT0, &nStatus);

 

See Also

Gx5733ModuleBufferReadData, Gx5733ModuleBufferWriteData