beautypg.com

Serial port properties – MagTek MAGTEK User Manual

Page 49

background image

Section 3. Installation


43

Serial Port Properties

These properties are serial port specific.

Value Notes
Port.Name

Serial Port Name to which the device is connected. Can be one of
the standard values COM1, COM2, COM3, COM4. There is no
default value. This property must be specified when a device
instance is added. If one of the standard values is used, the
Transport property is automatically set to Serial. If not, the
Transport property must be set to Serial manually.

Transport

For a serial port this property is always set to Serial. It is
automatically set if one of the standard values is used for the
Port.Name property while adding a device instance. If not, it needs
to be set manually.

Port.EDCTypeOverride

EDC type that the driver should use for all frames sent to or received
by the MCP device. Upon protocol initialization, the driver retrieves
the supported EDC types from the MCP device. If this property is
not –1, the specified EDC type is used instead of the EDC type
specified by the device. If EDCTypeOverride is –1, the driver uses
the best EDC type supported by the device (CRC first, LRC second,
No EDC last). Can be one of the following values:

-1 - Use the best EDC type supported by the MCP device.

(Default)

0 - No EDC

1 - 16-bit CRC (Cyclic Redundancy Check)

2 - 8-bit LRC (Longitudinal Redundancy Check)

Port.TraceEnabled

Enable or disable transport block trace. This type of tracing logs all
transported blocks. Another property, the transport generic
Core.TraceEnabled property allows only the application message
portion of blocks to be logged. Note that enabling this property and
the Core.TraceEnabled property at the same time causes duplicate
information to be logged.

0 – FALSE – trace disabled

(Default)

1 – TRUE – trace enabled

Port.ErrorLogLevel

Error log level. Specifies the level of the MCP session exceptions to
be logged into system event log: warnings, errors, etc. (This property
is not related to the message trace utility). This is only used for
debugging the driver and should normally be kept at its default
setting. Can be one of the following values:

0 – no logging

(Default)

1 – log errors only
2 – log everything