256
Platforms
©2000-2008 Tibbo Technology Inc.
transmitted through the TX pin and received through the RX
pin. Optionally, RTS (output) and CTS (input) lines are used for
flow control (see
) in the full-duplex mode.
Additionally, RTS can be used for direction control in the
half-duplex mode.
Wiegand mode
Suitable for sending to or receiving data from any standard
Wiegand device. Data transmission is through pins W0out and
W1out, reception- through W0&1in and W1in. "W0&1in"
means that a logical AND of W0 and W1 signals must be applied
to this input. Therefore, external logical gate is needed in order
to receive Wiegand data.
Clock/data mode Suitable for sending to or receiving data from any standard
clock/data (or magstripe) device. Data transmission is through
pins cout and dout, reception- through cin and din. Third line
of the magstripe interface- card present- is not required for data
reception. For transmission, any I/O line can be used as card
present output (under software control).
Changing port mode is only possible when the port is closed (
= 0-
NO). Depending on your platform, you may be allowed to remap RTS/W1out/cout
and CTS/W0&1in/cin lines to other I/O pins of the device through the
and
properties. Also, depending on selected mode and your
platform you may be required to correctly configure some of your serial port's lines
as inputs or outputs through the
property of the
object. See
"Platform-dependent Programming Information" topic inside your platform
specifications section.
We understand that it would be much more logical to call this property
"interface", not "mode". Problem is, this property was added later,
when ser.interface already came to mean something
. So, we
had no choice but to choose unused term.
.Newtxlen R/O Property
Function:
For the selected serial port (selection is made through
) returns the amount of uncommited TX data
in bytes.
Type:
Word
Value Range:
0-65535, default= 0 (bytes)
See Also:
Details
Uncommitted data is the one that was added to the TX buffer with the
method but not yet committed using the
method.
253
251
261
249
370
365
255
257
243
267
266
264
264