![]() |
VWorks software calls the CheckPlatePresent method to ask the plugin if the robot labware sensor can detect a labware using the specified robot gripper offset at the specified location.
HRESULT CheckPlatePresent(
[in] BSTR XML,
[out] BSTR *returnedXML,
[out,retval] enum ReturnCode *retVal
);
[in] An IRobotDriver_CheckPlatePresent_Input XML element that contains the robot gripper offset and the location to check. [out] An IRobot_CheckPlatePresent_Output XML element that indicates whether a labware is present. 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 IRobotDriver_CheckPlatePresent_Input XML element into the XML parameter of the CheckPlatePresent method. This XML element provides the robot gripper offset and the location to check.The IRobotDriver_CheckPlatePresent_Input element has the following attributes:
The following sample code is an IRobotDriver_CheckPlatePresent_Input XML element that is received by the plugin from VWorks software as a string in the XML parameter of the CheckPlatePresent method. VWorks software tells the plugin to determine if the robot labware sensor can detect a labware using the gripper offset height of 0 mm at the location named Location1.
The plugin returns an IRobotDriver_CheckPlatePresent_Output XML element in the returnedXML parameter of the CheckPlatePresent method. This XML element indicates whether a labware is present at the specified location using the specified gripper offset. A labware is present if the robot’s labware sensor can detect it.The IRobotDriver_CheckPlatePresent_Output element has the following attribute:
The value of this attribute indicates whether the labware is present at the specified gripper offset.0 = The labware is not present1 = The labware is presentThe following sample code is an IRobotDriver_CheckPlatePresent_Output XML element that is returned by the plugin to VWorks software as a string in the returnedXML parameter of the CheckPlatePresent method. The plugin tells VWorks software that a labware is not present at the specified location, that is, the robot cannot detect a labware.