Senddatasyncwlen, Wait, Dowait – MagTek MTBLUETOOTH.OCX User Manual
Page 16

MTBLUETOOTH.OCX Programming Reference Manual
12
Part
Description
Data
A string value that is the data sent to the reader.
Response
A Variant data type that contains the response from the reader
to the data sent.
Remarks
This Command does not require the length to be included in the command. The response can
also be accessed from the property CommandOutput.
Data Type
Boolean
SENDDATASYNCWLEN
This function sends a string and a variant to the reader and returns a boolean value of true if the
data was sent.
Syntax
CtlMTBluetooth1.SendDataSyncWlen(Data as String, Response as Variant) As Boolean
The SendDataSyncWlen method syntax has these parts:
Part
Description
Data
A string value that is the data sent to the reader.
Response
A Variant data type that contains the response from the reader
to the data sent.
Remarks
This Command does require the length to be included in the command. The response can also be
accessed from the property CommandOutput.
Data Type
Boolean
WAIT
This function pauses the software.
Syntax
CtlMTBluetooth1.Wait(Time as long)
The Wait method syntax has these parts:
Part
Description
Time
A long value that represents the number of seconds that the software will
be paused.