List of Available Functions

Page.

Function

Description

216

OBR_Open

Initialization of COM port and power on

217

OBR_Close

Release of COM port and power off

218

OBR_Send

Transmission of command to OBR

219

OBR_Stat

Acknowledgment of received data

220

OBR_Read

Read of the received data

221

OBR_Clear

Invalidation of codes in reception buffer

222

OBR_SetUserEvent

Event-code definition issued when reception is completed.

Initialization of OBR

Initializes the COM port to establish a connection with the OBR, and turns on the power to the COM

port.

SYNTAX

#include "obrlib.h"

int FAR PASCAL _export OBR_Open(int iOBRtype);

INPUT

iOBRType = DT-9650 = DT-9656

OUTPUT

0 = Normal end.

1 = iOBRType is not correct. -1= Open error.

Note :

When programming with this OBR library, first make this OBR_Open function call to initialize the COM port and the OBR.

216

Page 216
Image 216
Casio IT-2000W manual List of Available Functions, Initialization of OBR, IOBRType = DT-9650 = DT-9656