Commport – MagTek MTPPSWIPE.OCX User Manual

Page 7

Advertising
background image

Properties

3

COMMPORT
Sets or returns the communications port number.

Syntax

PortPowerSwipe.CommPort[ = value]

The CommPort property syntax has these parts:

Part

Description

Value An integer value specifying the port number.

Remarks

You can set Value to any number between 1 and 16 at design time (the default is 1). However,
the PortPowerSwipe control generates error 68 (Device unavailable) if the port does not exist
when you attempt to open it with the PortOpen property.

Data Type

Integer

Advertising