Communicating with the OIT System
2
019-
03
61
This is triggered when any data is received from the sensor. Details of the sensor
type, its firmware version, and its MAC ID are transmitted.
event DisconnectReceived(string errorMessage)
This is triggered if the connection is not disconnected with
Disconnect.
getrennt
wurde. A description of the reason for the lost connection is transmitted.
event SaveDataOnSensorReceived()
This is triggered after
SaveSensorSettings
has been called successfully.
event GetNetworkReceived(string ipAddress, string mask, string
gateway)
This is triggered after the data requested from the sensor with
GetNetworkSettings
has been received. The IP address, the network mask, and
the sensor's gateway are transmitted.
event LogDataReceived(string logData, LogMessageTypes logType)
This is triggered when log data has been received from the sensor. The data and log
data type are transmitted as parameters.
event ShapeDataReceived(ushort frameCounter)
This is triggered when graphics for the image overlay have been received. The
image number specifies the image with which the graphics are associated. A list of
all graphics can then be retrieved using the
GetShapes(ushort
frameCounter)
function.
The following event is supported by laser triangulation sensors only:
event LineDataReceived(ushort frameCounter, LineMulti lines, ushort
status)
This is triggered when line data has been received from the sensor. In addition to the
line data, the image number is issued so that the data can be assigned to the
appropriate image. A status is issued that reflects the sensor's hardware inputs and
outputs.
event ImageReceived(ushort frameCounter)
This is triggered when an image has been received from the sensor. The image
number is transmitted as a parameter. The image can then be retrieved using the
GetImage(ushort frameCounter)
function.
event SaveDataOnHddReceived()
This is triggered when the current parameter set has been successfully saved to a
file.
event ErrorReceived(string id, string name)
This is triggered when an error has occurred in the sensor software. The parameters
contain more details about this error.
event InternalError(ErrorTypes errorType, string errorMessage)