Functions | |
void | CVCError (ErrorCode ErrorNumber, BSTR ErrorString, boolean *Continue) |
This event is fired, if an error occurs in the CVGenApiGrid Control. More... | |
void | VisibleNodeUpdated (BSTR NodeName) |
Generated when a visible Node has changed. More... | |
void CVCError | ( | ErrorCode | ErrorNumber, |
BSTR | ErrorString, | ||
boolean * | Continue | ||
) |
This event is fired, if an error occurs in the CVGenApiGrid Control.
This is used for general error reporting, for example invalid value sets by a user or write/read access errors regarding the remote device.
The user can overwrite the Continue value in order to change the default action. The default value depends on the function that caused the error.
TRUE
specifies that a message box will appear to inform the user of the error. FALSE
means that it is possible to perform custom error handling, e.g. use a self-defined message-box.
Please include the appropriate header file for your compiler (cvcerror.*). The following error codes have been defined:
1 | CVC_E_ERROR |
This error cannot be described more precisely. | |
2 | CVC_E_PARAMETER |
Incorrect parameter in a function call. | |
3 | CVC_E_FILEIO |
File I/O error, for example while saving or loading an image. | |
5 | CVC_E_MEMORY |
Memory could not be allocated. | |
11 | CVC_E_PROPERTYREAD |
A property could not be read. | |
12 | CVC_E_PROPERTYWRITE |
A property could not be written. | |
14 | CVC_E_PORTREAD |
A port could not be read. | |
15 | CVC_E_PORTWRITE |
A port could not be written. | |
17 | CVC_E_NOINTERFACE |
No interface is available. | |
19 | CVC_E_NOTSUPPORTED |
A certain feature is not supported. | |
22 | CVC_E_NOTENOUGHDATA |
Too few data available for a calculation. | |
29 | CVC_E_WRONGOBJECT |
Wrong object. | |
30 | CVC_E_NOTREADY |
Not ready for the requested operation. | |
45 | CVC_E_ACCESS |
Access error. | |
46 | CVC_E_NOTPRESENT |
Not present. | |
47 | VC_E_UNSUPPORTEDFEATURE |
Unsupported feature. |
[in] | ErrorNumber | A unique number describing the error (see above). |
[in] | ErrorString | Contains the error text of the output. |
[in,out] | Continue | This specifies whether execution should continue despite the error. |
void VisibleNodeUpdated | ( | BSTR | NodeName | ) |
Generated when a visible Node has changed.
The happens for example if a new value is set to a node by the user or a new value is polled.