IWorksDriver interface : GetErrorInfo method

GetErrorInfo method
Description
VWorks software calls the GetErrorInfo method when the plugin returns a value other than RETURN_SUCCESS for a method with a retVal output parameter of type ReturnCode. See “ReturnCode enumerated type” .
When the plugin notifies VWorks software that an error occurred during a task, VWorks software does the following:
1
Calls the GetErrorInfo method to get a text string from the plugin that describes the error.
2
3
The following figure shows a standard error dialog box for the 3-Axis Robot.
Figure Standard error dialog box
 
Syntax
 
HRESULT GetErrorInfo(
[out,retval] BSTR *ErrorInfoXML
);
Parameter
 
Agilent Technologies does not currently support error codes. The plugin developer can embed error codes in this parameter.
Related information