Ser.Enabled Property

Function:

Enables/disables currently selected serial port (selection is made through ser.num).

Type:

Enum (no_yes, byte)

Value Range:

0- NO (default): not enabled

1- YES: enabled

See Also:

Buffer Memory Status

Details

Enabling/disabling the serial port does not automatically clear its buffers, this is done via ser.rxclear and ser.txclear . Notice that certain properties can only be changed and methods executed when the port is not enabled. These are ser.rtsmap , ser.ctsmap , ser.mode , ser.redir . You also cannot allocate buffer memory for the port (do sys.buffalloc ) when the port is enabled.