Ser.Num Property

Top  Previous  Next

 

Function:

Sets/returns the number of currently selected serial port (ports are enumerated from 0).

Type:

Byte

Value Range:

The value of this property won't exceed ser.numofports-1 (even if you attempt to set higher value). Default= 0 (port #0 selected)

See Also:

---

 


Details

All other properties and methods of this object relate to the serial port selected through this property. Note that serial port-related events such as on_ser_data_arrival change currently selected port!