Casio IT-2000D Manuel d'utilisateur Page 175

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 224
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 174
175
Readout of Received Data
Acquires the first barcode in the reception buffer and writes it to the specified buffer. The reception
data SYNTAX is as follows:
Barcode O
Fig. 7.20
SYNTAX
#include "obrlib.h"
int OBR_Read (unsigned char *pBuf);
INPUT
pBuf = Pointer to the buffer that stores the received barcode
OUTPUT
The absolute value shows the number of characters in the received barcode.
The sign indicates the validity of the barcode.
> 0 The read barcode has no data error.
= 0 Either the reception acknowledgment is not performed (OBR_Stat function is
not used) or there is no received data.
< 0 The read barcode has a data error.
Note :
Before reading a barcode using this function, acknowledge reception with the OBR_Stat function.
Note that received barcode data will be cleared from the reception buffer after it has been read by the
OBR_Read function. This means that the following barcode can be read immediately after the
preceding one, even if there is an error, has been read.
Invalidating Code in Buffer
Invalidates a barcode in the reception buffer.
SYNTAX
#include "obrlib.h"
void OBR_Clear();
INPUT
None
OUTPUT
None
Vue de la page 174
1 2 ... 170 171 172 173 174 175 176 177 178 179 180 ... 223 224

Commentaires sur ces manuels

Pas de commentaire