IRobotDriver interface : GetPlatePresentResult method

GetPlatePresentResult method
Description
VWorks software calls the GetPlatePresentResult method to get the result of the last call to the CheckPlatePresent method from the plugin. See “CheckPlatePresent method” .
Syntax
 
HRESULT GetPlatePresentResult(
[in] BSTR XML,
[out] BSTR *returnedXML,
[out,retval] enum ReturnCode *retVal
);
Parameters
 
[out] An IRobotDriver_GetPlatePresentResult_Output XML element that provides the result of the last call to the CheckPlatePresent method.
0 = The request was completed (RETURN_SUCCESS)
1 = Something was wrong with the input, so the request was not completed (RETURN_BAD_ARGS)
2 = The request was not completed (RETURN_FAIL)
GetPlatePresentResult method input
VWorks software passes an empty IRobotDriver_GetPlatePresentResult_Input XML element into the XML parameter of the GetPlatePresentResult method.
Example of GetPlatePresentResult method input
The following sample code is an empty IRobotDriver_GetPlatePresentResult_Input XML element that is received by the plugin from VWorks software as a string in the XML parameter of the GetPlatePresentResult method. VWorks software asks the plugin for the result of the last call to the CheckPlatePresent method.
 
<IRobotDriver_GetPlatePresentResult_Input />
GetPlatePresentResult method output
The plugin returns an IRobotDriver_GetPlatePresentResult_Output XML element in the returnedXML parameter of the GetPlatePresentResult method. This XML element provides the result of the last call to the CheckPlatePresent method. (See “CheckPlatePresent method” .)
IRobotDriver_GetPlatePresentResult_Output element
The IRobotDriver_GetPlatePresentResult_Output element has the following attribute:
 
0 = The labware is not present
1 = The labware is present
Example of GetPlatePresentResult method output
The following sample code is an IRobotDriver_GetPlatePresentResult_Output XML element that is returned by the plugin to VWorks software as a string in the returnedXML parameter of the GetPlatePresentResult method. The plugin tells VWorks software that the result of the last CheckPlatePresent method call was 0 (The labware is not present).
 
<IRobotDriver_GetPlatePresentResult_Output Present='0' />
Related information