# GetConnectionStatus

This function is used to get the connection status of the specified communication protocol.

## GetConnectionStatus Inputs

Parameter | Description
Event | Specifies an event function that is set to capture the network error event. This parameter needs to be a reference to any event with a timestamp, for example an InputPointCloud function.
Protocol | Specifies which protocol will be polled for a status update. 1 = EtherNet/IP 2 = PROFINET 100 = Default

## GetConnectionStatus Outputs

Returns | The connection status of the specified communication protocol, or #ERR if any of the input parameters are invalid.