2
019-
03
62
Communicating with the OIT System
Result Parameters
There are two types of result parameters:
Result data (PF.Foundation.Protocol.XML.ElementResult)
Shape data (PF.Foundation.Protocol.XML.ElementShapeBase)
The shape data is drawn directly on the corresponding image. The data consists of geometric
shapes (e.g. ElementShapeRectangle) or labels (e.g. ElementShapeText). It also contains
information regarding the position and size.
Result data is purely text data. This data contains the range of results, decoding time, and the
code type in any active window.
This is triggered when an internal error has occurred. This happens in the following
cases:
When calling
GetSingleParameter (ErrorType =
PARAMETER_NOT_FOUND)
if the required parameter has not been found in the
internal list
When calling
SetSingleParameter (ErrorType =
PARAMETER_NOT_FOUND)
if the parameter to be set is not present
When calling
SaveSettingsToFile (ErrorType = SAVE_FILE_ERROR)
if the parameter data could not be saved to a file
When calling
LoadSettingsFromFile (ErrorType =
LOAD_FILE_ERROR)
if the parameter file could not be loaded
When calling
SetAllParameters (ErrorType = LOAD_FILE_ERROR )
if
the parameter data could be loaded from the file or if the file contains invalid data
In all cases where
ParameterDataReceived
or
SensorResultDataReceived
would be triggered but the sensor data
received is incorrect
(ErrorType = INVALID_DATA_RECEIVED)
.
If incorrect log data is received from the sensor
(ErrorType =
INVALID_DATA_RECEIVED)
When calling
SendVsxFile (ErrorType = LOAD_FILE_ERROR)
if the file
cannot be loaded or does not correspond to the VSX syntax
The
errorMessage
parameter contains a more detailed description of the
respective error.
enum
·
ErrorTypes{ INVALID_DATA_RECEIVED, SAVE_FILE_ERROR,
LOAD_FILE_ERROR, PARAMETER_NOT_FOUND }
Siehe event
InternalError
.
enum
·
DataModifier{ NONE, LOAD_DATA, LOAD_DEFAULT_DATA }
See event
ParameterDataReceived
.
enum LogMessageTypes { DEBUG, INFO, RESULT_OK, RESULT_NOT_OK,
WARNING, ERROR, CRITICAL, ASSERT }
See event
LogDataReceived
.