I am wondering if there is a way to get the dimensions of a labware at run time, particularly the height of a plate. I am trying to add labware at run time based on user input and I would like to get the height of a selected plate in order to determine the appropriate carrier to add it to (taller plates should go on an AC carrier where as shorter plates, ex. microtiter plates, can go on an MD carrier). I am already pulling in the .rck file, with which the labware dimensions should be associated, to use with the DevAddLabwareToTemplate function.
If you have STAR Tools installed on your computer, you will have access to a library called Labware_Property_Query. There is a function in there that will return the Rack Height and Clearance Height, but will require a sequence as an input.
Is there a way to do it without requiring a sequence? Only because I would like to get the rack height prior to adding the labware to the deck and generating a sequence for it so I know where on the deck to add the labware.
The i_str_ConfigFilePath = the labware definition (full path). The i_str_ValueToSearch = “Dim.Dz”.
The function will return true or false if it doesn’t find the value and the return is a string. You will need to convert it to a float before using it. I would recommend using either the HSLStrLib:StrFVal function or HSLExtensions:Core::ConvertToFloat function to do this conversion. This should return the value from your labware defintion.
Perfect, that worked! Is there any documentation that lists the different i_str_ValueToSearch for each labware definition value in case I want to get some other value (ex. plate format, stack height etc)?