.num Property

Function:

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

Type:

Enum (pl_io_num, byte)

Value Range:

See the list of pl_io_num constants in the platform specifications.

See Also:

Line/Port Manipulation with Preselection


Details

Selects a particular I/O line to be manipulated through the io.state and io.enabled properties. The list of available I/O lines is defined by the pl_io_num enum.


Exception Safety

There are a few situations in which an exception may be thrown when getting or setting this property. For more information, see Handling Exceptions.


Exception

Root Cause(s)

std::invalid_argument

The selected I/O line number is invalid.


.num Property

Details

Exception Safety