General property description values, Dcb property description values – Casio Naurtech CETerm Ver.5.5 Scripting Guide User Manual

Page 73

Advertising
background image

N

AURTECH

W

EB

B

ROWSER AND

T

ERMINAL

E

MULATION FOR

W

INDOWS

CE

AND

W

INDOWS

M

OBILE




CETerm Scripting Guide

Page 73


msdn.microsoft.com with the keywords “commtimeouts structure ce” and “DCB
structure ce

”.


In general, you should set all necessary properties before opening the serial port.
However, you may alter the properties of an open port by assigning new values.
See Chapter 5 for additional details about using the SerialPort object.

The SerialPort object properties are listed in the following tables. The first
table contains general purpose properties, the second contains device control
(DCB) properties and the third contains timeout properties. Values marked (D)
indicate the default setting.


General
Property

Description

Values

EventMask

Events monitored by WaitForEvent.
Default is none.

integer flags, see
Appendix 4

IsOpen

Returns true if port is open. (read
only)

true, false

LastError

Returns the last error value
associated with any SerialPort
operation. (read only)

unsigned integer

ModemStatus

Modem status. (read only)

integer flags, see
Appendix 4

PortIndex

Index of this SerialPort object. (read
only)

integer

PortName

Name of the serial port device.
Default value is “COMx:” where x is
the PortIndex.

text


DCB
Property

Description

Values

BaudRate

Baud rate of device. Default
115200.

integer, see
Appendix 4

CheckParity

Perform parity checking.

true, false(D)

CTSOutputFlowControl

Monitor CTS signal for output flow
control.

true, false(D)

DataBits

Bits per byte.

integer (D:8)

DiscardReceivedNULL

Discard any null bytes received.

true, false(D)

DSRInputControl

Monitor DSR signal for input flow.

true, false(D)

Advertising
This manual is related to the following products: