Promotic
WikipediaLinkedInYoutubeTwitterFacebook

IsConnected - property of object PmComm

Description:
Detect whether the PmComm object is connected by Ethernet or serial link.
Syntax:
IsConnected As Boolean
Calling:
b = oComm.IsConnected
Values:
true - the communication is connected
false - the communication is disconnected
Note:
Property access for read only.
- for Ethernet TCP the returned attribute signals successful TCP connection.
- for Ethernet UDP the returned attribute signals that the communication is enabled (for UDP the connection is not linked up).
- for serial link the returned attribute signals that the serial port is open.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice