![]() |
VWorks software calls the GetPlatePresentResult method to get the result of the last call to the CheckPlatePresent method from the plugin. See “CheckPlatePresent method” .
HRESULT GetPlatePresentResult(
[in] BSTR XML,
[out] BSTR *returnedXML,
[out,retval] enum ReturnCode *retVal
);
[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)VWorks software passes an empty IRobotDriver_GetPlatePresentResult_Input XML element into the XML parameter of the GetPlatePresentResult method.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.
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” .)The IRobotDriver_GetPlatePresentResult_Output element has the following attribute:
Represents the result of the last call to the CheckPlatePresent method.0 = The labware is not present1 = The labware is presentThe 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).