Specifications

Table Of Contents
SDK software development | VI-88R development handbook
3.2.2 Control command function
3.2.2.1 Connect reader
Using serial port Connection:
apiReturn ConnectScanner(HANDLE *hScanner, char *szPort, int
nBaudRate);
Function: to establish communication connection with reader, and set baud
rate for reader.
Input parameter:
szPort : character pointer directing at communication port, eg. COM1
COM2……
nBaudRate: baud rate of serial, effective value is: 96001920038400
57600115200.
Output parameter: to judge if connection success or failure reason
according to apiReturn value returned by function.
hScanner : reader handle
command with reader adress:
apiReturn _stdcall ConnectScanner485 (HANDLE *hScanner, char *szPort,
int nBaudRate,int Address);
Function: to establish communication connection with reader, and set baud
rate for reader.
090909RevA|Page 71 of 97