.portnum Property

Function:

Sets/returns the number of currently selected I/O port.

Type:

Enum (pl_io_port_num, byte)

Value Range:

Platform-specific. See the list of pl_io_port_num constants in the platform specifications.

See Also:

Line/Port Manipulation with Preselection


Details

Selects a particular I/O port to be manipulated through the io.portstate and io.portenabled properties (the latter may or not be available on your platform). Each port groups eight I/O lines. The list of available I/O ports is defined by the pl_io_port_num constant.


.portnum Property

Details