VWorks User Guide : Creating a protocol: advanced topics : plateDB object

plateDB object
About the plateDB object
The VWorks JavaScript interpreter provides the following objects that can be accessed by a script.
This topic describes the plateDB object properties and methods.
plateDB enables control of the database through JavaScript. You can use the plateDB object to create plate groups, add plates to existing plate groups (if they exist in a location group), remove plates from plate groups, and delete plate groups.
Properties
The plateDB object has no properties.
Methods
Methods are JavaScript functions invoked through an object. The plateDB object has the following methods, which are available on systems with the inventory database option.
Syntax:
plateDB.method( )
Note: A common set of return codes are used in the applicable methods. However, based on relevance, an applicable method might use only a subset of the return codes.
 
Example: plateDB.createPlateGroup("myplategroup")
Example: plateDB.deletePlateGroup("myplategroup")
addPlateToGroup(int side, string barcode, string locationGroup, string plateGroup)
importCsvToInventory(string CSVFilepath, bool OverwriteInventory)
importLabwareToInventory(array Labware, bool OverwriteInventory)
addLabwareToLocation(string DeviceName, string CassetteNumber, string SlotNumber, string Type, bool Overwrite)
deleteLabwareAtLocation(string DeviceName, string CassetteNumber, string SlotNumber)
getPlateBarcode(int side, array plateID)
Related information
 
VWorks-defined functions
Other VWorks-defined objects