Contents

Status

Indicate if the serial port object is connected to the device

Description

Status can be open or closed. If Status is closed, the serial port object is not connected to the device. If Status is open, the serial port object is connected to the device.

Before you can write or read data, you must connect the serial port object to the device with the fopen function. Use the fclose function to disconnect a serial port object from the device.

Characteristics

Read only

Always

Data type

String

Values

{closed}

The serial port object is not connected to the device.

open

The serial port object is connected to the device.

See Also

Functions

fclose, fopen

Was this topic helpful?