File size: 8,742 Bytes
44efec5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
Labware Properties
=========================================

https://github.com/theonetruenerd/VenusPackages/blob/main/Labware_Properties.pkg

The labware properties library adds a variety of functions which assist with obtaining the physical data of the labware, as well as things like its ID. The functions it adds are:

  - :ven:func:`GetCarrierIDandSiteID_FromLabID`
  - :ven:func:`Get_ContainerBaseOffset`
  - :ven:func:`Get_ContainerBaseThickness`
  - :ven:func:`Get_Height`
  - :ven:func:`Get_NameAndFileName`
  - :ven:func:`Get_NumberOfColumns`
  - :ven:func:`Get_NumberOfRows`
  - :ven:func:`Get_RackBaseToCoverBase`
  - :ven:func:`Get_StackHeight`
  - :ven:func:`Get_XYZ_deckPosition`
  - :ven:func:`Get_XY_dimensions`

.. ven:function:: GetCarrierIDandSiteID_FromLabID(device io_instrument, variable i_labware_ID, variable o_carrier_ID, variable o_site_ID)

  This function takes outputs the carrier ID and site ID which are associated with the given labware ID. It works on both the Nimbus and the STAR.

  :params io_instrument: The instrument being used. Will either be ML_STAR or Nimbus.
  :params i_labware_ID: The labware ID from which the other IDs are being pulled.
  :params o_carrier_ID: The carrier ID associated with the given labware ID.
  :params o_site_ID: The site ID associated with the given labware ID.
  :type io_instrument: Device
  :type i_labware_ID: Variable
  :type o_carrier_ID: Variable
  :type o_site_ID: Variable
  :return: A boolean determining whether the labware ID exists (1) or not (0)
  :rtype: Boolean

.. ven:function:: Get_ContainerBaseOFfset(device io_instrument, sequence i_sequenceLabware, variable i_sequencePosition, variable o_ContainerBaseOffset)

  This function outputs the distance from the rack base to the container base for the labware at the given sequence position.

  :params io_instrument: The instrument being used. Will either be ML_STAR or Nimbus.
  :params i_sequenceLabware: The sequence associated with the labware being checked.
  :params i_sequencePosition: The position ID or index of the sequence being checked. Can be either int or str. An input of 0 will auto-select the first position.
  :params o_ContainerBaseOFfset: The distance from the rack base to the container base at the specified position
  :type io_instrument: Device
  :type i_sequenceLabware: Sequence
  :type i_sequencePosition: Variable
  :type o_ContainerBaseOFfset: Variable
  :return: None
  :rtype: N/A

.. ven:function:: Get_ContainerBaseThickness(device io_instrument, sequence i_sequenceLabware, variable o_containerBaseThickness)

  This function outputs the base thickness of the container at the first position of a given sequence.

  :params io_instrument: The instrument being used. Will be either ML_STAR or Nimbus.
  :params i_sequenceLabware: The sequence asspciated with the labware being checked.
  :params o_containerBaseThickness: The thickness of the base of the container being checked.
  :type io_instrument: Device
  :type i_sequenceLabware: Sequence
  :type o_containerBaseThickness: Variable
  :return: None
  :rtype: N/A

.. ven:function:: Get_Height(device io_instrument, sequence i_sequenceLabware, variable o_labwareHeight)

  This function outputs the height of the labware at the first position of a given sequence. This value is only the labware height, not the absolute Z position.

  :params io_instrument: The instrument being used. Will be either ML_STAR or Nimbus.
  :params i_sequenceLabware: The sequence associated with the labware being checked.
  :params o_labwareHeight: The height of the labware being checked.
  :type io_instrument: Device
  :type i_sequenceLabware: Sequence
  :type o_labwareHeight: Variable
  :return: None  
  :rtype: N/A

.. ven:function:: Get_NameAndFileName(device io_instrument, sequence i_sequenceLabware, variable o_viewName, variable o_fileName)

  This function outputs the labware view name and the file name associated with it (with path)

  :params io_instrument: The instrument being used. Will be either ML_STAR or Nimbus.
  :params i_sequenceLabware: The sequence associated with the labware of interest.
  :params o_viewName: The view name of the labware being checked.
  :params o_fileName: The file name (with path) of the labware being checked.
  :return: None
  :rtype: N/A

.. ven:function:: Get_NumberOfColumns(device io_instrument, sequence i_sequenceLabware, variable o_labwareColumns)

  This function outputs the number of columns defined in the labware from the first position of a given sequence.

  :params io_instrument: The instrument being used. Will be either ML_STAR or Nimbus.
  :params i_sequenceLabware: The sequence associated with the labware of interest.
  :params o_labwareColumns: The number of columns defined in the labware being checked.
  :type io_instrument: Device
  :type i_sequenceLabware: Sequence
  :type o_labwareColumns: Variable  
  :return: None
  :rtype: N/A

.. ven:function:: Get_NumberOfRows(device io_instrument, sequence i_sequenceLabware, variable o_labwareColumns)

  This function outputs the number of rows defined in the labware at the first position of a given sequence. The variable and function description both say columns; this is incorrect.

  :params io_instrument: The instrument being used. Will be either ML_STAR or Nimbus.
  :params i_sequenceLabware: The sequence associated with the labware being checked.
  :params o_labwareColumns: The number of rows defined in the labware being checked.
  :type io_instrument: Device
  :type i_sequenceLabware: Sequence
  :type o_labwareColumns: Variable
  :return: None
  :rtype: N/A

.. ven:function:: Get_RackBaseToCoverBase(device io_instrument, sequence i_sequenceLabware, variable o_RackBaseToCoverBase_Height)

  This function outputs the height from the base of the rack to the base of the cover/lid of the labware at the first position of a given sequence.

  :params io_instrument: The instrument being used. Will be either ML_STAR or Nimbus.
  :params i_sequenceLabware: The sequence associated with the labware being checked.
  :params o_RackBaseToCoverBase_Height: The distance from the rack base to the cover base.
  :type io_instrument: Device
  :type i_sequenceLabware: Sequence
  :type o_RackBaseToCoverBase_Height: Variable
  :return: None
  :rtype: N/A

.. ven:function:: Get_StackHeight(device io_instrument, sequence i_sequenceLabware, variable o_labwareStackHeight)

  This function outputs the stack height of the specified labware at the first position of a given sequence.

  :params io_instrument: The instrument being used. Will be either ML_STAR or Nimbus.
  :params i_sequenceLabware: The sequence associated with the labware being checked.
  :params o_labwareStackHeight: The stack height of the labware being checked, or the covered stack height if the labware is lidded.
  :type io_instrument: Device
  :type i_sequenceLabware: Sequence
  :type o_labwareStackHeight: Variable
  :return: None
  :rtype: N/A

.. ven:function:: Get_XYZ_deckPosition(device io_instrument, sequence i_sequenceLabware, variable o_labware_deckPosition_X, variable o_labware_deckPosition_Y, variable o_labware_deckPosition_Z)

  This function returns the X, Y and Z coordinates of the upper left well of the specified labware at the first position of a given sequence. The description of this function says it only does the X and Y coordinates, this is incorrect.

  :params io_instrument: The instrument being used. Will be either ML_STAR or Nimbus.
  :params i_sequenceLabware: The sequence associated with the labware being checked.
  :params o_labware_deckPosition_X: The X coordinate of the labware on the deck.
  :params o_labware_deckPosition_Y: The Y coordinate of the labware on the deck.
  :params o_labware_deckPosition_Z: The Z coordinate of the labware on the deck.
  :type io_instrument: Device
  :type i_sequenceLabware: Sequence
  :type o_labware_deckPosition_X: Variable
  :type o_labware_deckPosition_Y: Variable
  :type o_labware_deckPosition_Z: Variable
  :return: None
  :rtype: N/A

.. ven:function:: Get_XY_dimensions(device io_instrument, sequence i_sequenceLabware, variable o_X_width, variable o_Y_depth)

  This function outputs the X (width) and Y (depth) dimensions of the specified labware at the first position of a given sequence.

  :params io_instrument: The instrument being used. Will be either ML_STAR or Nimbus.
  :params i_sequenceLabware: The sequence associated with the labware being checked.
  :params o_X_width: The width of the labware being checked.
  :params o_Y_depth: The depth of the labware being checked.
  :type io_instrument: Device
  :type i_sequenceLabware: Sequence
  :type o_X_width: Variable
  :type o_Y_depth: Variable
  :return: None
  :rtype: N/A