PI1X Basic Programming Manual Ver. 1.10
99/156
N4%
Remote TCP connect port.
(allowed range 1024 to 49151)
S6$
WIFI security key. (1~63 characters)
You can use the GET_FILETRANS_ERROR command to get the
error code. Possible error codes and their interpretation are listed
below:
GET_FILETRANS_ERROR Meaning
-1
Set OK.
-2
Selected LinkingPort is using.
-4
Parameter error.
Purpose
:
Send the message to PC.
Syntax
:
FILE_TRANS_SENDMSG(S1$, N1%,S2$)
Example
:
FILE_TRANS_SENDMSG("Send MSG!", 1, EID$) ' message type
FILE_TRANS_SENDMSG(ScanData$, 0, "") 'barcode data type
Description
:
Several key arguments as below:
S1$
Send data string.
N1%
Send data type. set 1(message) or 0(barcode data)
S2$
Terget terminal EID.
You can use the GET_FILETRANS_ERROR command to get the
error code. Possible error codes and their interpretation are listed
below:
GET_FILETRANS_ERROR Meaning
1
Send OK.
0
Send false.
Purpose
:
Send data(Barcode or other input) to PC.
Syntax
:
FILE_TRANS_SENDBARCODE(S1$, N1%,S2$)
Example
:
FILE_TRANS_SENDBARCODE("
0123456
", 7, EID$)
Description
:
Several key arguments as below:
S1$
Send data string.(max. length is 2000)
N1%
Send data size.
S2$
Terget terminal EID.
You can use the GET_FILETRANS_ERROR command to get the
error code. Possible error codes and their interpretation are listed
below:
GET_FILETRANS_ERROR Meaning
0
FileTransfer is not enable.
1
Send false.