![]() |
VWorks software calls the LookupLocations method to get the names from the plugin of all the locations to which or from which the robot can move labware.Note: The internal location is the location on the storage device, which is considered inside the system. The external location is the location outside the system.IMPORTANT VWorks software always calls the LookupLocations method before the LoadPlate and UnloadPlate methods. See “LoadPlate method” and “UnloadPlate method” .
HRESULT LookupLocations(
[in] VARIANT_BOOL Load,
[in] BSTR Labware,
[in] enum PlateFlagsType PlateFlags,
[in] BSTR StorageLocationXML,
[out] BSTR *ExternalLocationsXML,
[out,retval] enum ReturnCode *retVal
);
-1 = The labware is about to be loaded 0 = The labware does not have a lid and is not sealed1 = The labware has a lid2 = The labware is sealed [in] A StorageLocation XML block that contains information about the location on the storage device. [out] A LocationVector XML block that contains information about the external location. 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 a StorageLocation XML block into the StorageLocationsXML parameter of the LookupLocations method.The StorageLocation XML block contains the StorageLocation element and all its children. This XML block provides information about the location on the storage device, including the cassette/slot coordinates, that is used for a Load or Unload task.
The value Cassette.Note: The cassette name was received with a previous call to the GetMetaData method. See IWorksDriver “GetMetaData method” . The value Slot.Note: The slot name was received with a previous call to the GetMetaData method. See IWorksDriver “GetMetaData method” .The Location element contains information about the location on the storage device. The Location element is defined in “Location element” .The following sample code is a StorageLocation XML block that is received by the plugin from VWorks software as a string in the StorageLocationXML parameter of the LookupLocations method. When the value of the Load parameter is -1, VWorks software asks the plugin for all the locations on the storage device at which the robot can load the specified labware.
The plugin returns a LocationVector XML block in the ExternalLocationsXML parameter of the LookupLocations method.The LocationVector XML block contains the LocationVector element and all its children. This XML block provides information about the external location that is to be used for a Load or Unload task.
The Location element contains information about the external location. The Location element is defined in “Location element” .The following sample code is a LocationVector XML block that is returned to VWorks software by the plugin as a string in the ExternalLocationsXML parameter of the LookupLocations method. The code returns information about Primary (Load/Unload) Pad, which is one of the StoreX device’s external locations.
→Offset='0' Type='4' />