EasyManua.ls Logo

Pepperl+Fuchs OPC - Page 65

Pepperl+Fuchs OPC
75 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
OPC / OPD / OPE
Appendix
2015-07
65
event InternalError(ErrorTypes errorType, string errorMessage)
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 not 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 log data is received from the sensor but this is incorrect (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 }
See InternalError event.
enum·DataModifier{ NONE, LOAD_DATA, LOAD_DEFAULT_DATA }
See ParameterDataReceived event.
enum LogMessageTypes { DEBUG, INFO, RESULT_OK, RESULT_NOT_OK,
WARNING, ERROR, CRITICAL, ASSERT }
See LogDataReceived event.

Related product manuals