![]() |
VWorks software calls the SetSpeed method to tell the plugin to set the specified robot-speed setting to a new value.
[in] An IRobotDriver_SetSpeed_Input XML element that contains the name of the robot-speed settings and their new values. 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_SetSpeed_Input XML element into the XML parameter of the SetSpeed method. This XML element provides name of the robot-speed settings and their new values.The IRobotDriver_SetSpeed_Input element has the following attributes:
The speed at which the robot can run when the gripper is not carrying any labware. The labware speed settings are ignored.This attribute is used when Always run at “robot speed” when gripper is empty is selected in the Options dialog box.0 = Slow1 = Medium2 = Fast 0 = Slow1 = Medium2 = FastThe following sample code contains an IRobotDriver_SetSpeed_Input XML element that is received by the plugin from VWorks software as a string in the XML parameter of the SetSpeed method. VWorks software tells the plugin to set the Fast robot-speed setting to the new value of 2.
The plugin returns an empty IRobotDriver_SetSpeed_Output XML element in the returnedXML parameter of the SetSpeed method.The following sample code is an empty IRobotDriver_SetSpeed_Output XML element that is returned by the plugin to VWorks software as a string in the returnedXML parameter of the SetSpeed method.