onConnect - event of object PmaComm
The event is triggered after the successful connection.
For Ethernet TCP the event is triggered after successful TCP connection.
For Ethernet UDP the event is not triggered (for UDP the connection is not estabilished)
For the serial link the event is triggered after successful connection, for example, to the "COM1" port.
|pMe||(Object) Reference to the PmaComm object where the event rises.|
|pEvent||(Object) Reference to object describing detailed information about the specific event. |
The pEvent parameter is not used here because this event does not need any additional information.