|
The VWorks JavaScript interpreter provides the following objects that can be accessed by a script.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.plateDB.method( )
createPlateGroup(string plateGroup) Example: plateDB.createPlateGroup("myplategroup") deletePlateGroup(string plateGroup) Example: plateDB.deletePlateGroup("myplategroup") deleteAllPlatesFromGroup(string plateGroup)
• clearStorageLocation(string GroupName) addLabwareToLocation(string DeviceName, string CassetteNumber, string SlotNumber, string Type, bool Overwrite) getLocationByBarcode(string Barcode) exportDatabase(string FileName) importDatabase(string FileName) enumeratePlateGroup(string plateGroup) enumerateListOfGroups(int groupType) Returns an array of strings consisting of all group names in the Inventory database. groupType specifies which kind(s) of groups, where getLabwareInfo(string labwareName)
Using JavaScript in the VWorks software VWorks-defined functions Other VWorks-defined objects