12.01.2014 Views

Software Manual Freedom EVOware Standard 2.3 Freedom ...

Software Manual Freedom EVOware Standard 2.3 Freedom ...

Software Manual Freedom EVOware Standard 2.3 Freedom ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

14 - Advanced Programming Features for Scripts<br />

Variables and Expressions in Scripts<br />

If you omit [index], then the string returns the labware or tube rack barcode<br />

instead of the well or tube barcode.<br />

For example:<br />

$MyTubeRack2[5].ID$ - barcode of tube 5 in tube rack “MyTubeRack2”<br />

$MyTubeRack1.ID$ - barcode for the tube rack “MyTubeRack1”<br />

See 11.7.1 “Assigning a Label (Name) to the Labware”, 11-19.<br />

An alternative syntax is as follows:<br />

$[site_global][index].$<br />

[site_global] is the site number counted for all sites for this labware type on the<br />

worktable, counted from rear to front and then from left to right. It is not the same<br />

as the site number on the carrier. For example, if there are two 3-position MP<br />

carriers on the worktable at grid position 10 and 20, [site_global] = 4 for this carrier<br />

type refers to site 1 of the carrier at grid position 20.<br />

[index] is the well number (for microplates) or tube number (for tube racks).<br />

If you omit [index], then the string returns the labware or tube rack barcode<br />

instead of the well or tube barcode. You must not omit [site_global].<br />

For example:<br />

$Tube 16 mm 16 Pos[2][3].ID$ - barcode of tube 3, second tube rack on the<br />

worktable (tube racks only have one site)<br />

$MP 3Pos[4].ID$ - barcode of the labware at site 1 of the second MP carrier on<br />

the worktable<br />

$MP 3Pos[3][18].ID$ - barcode of well 18 on the labware at site 3 of the first MP<br />

carrier on the worktable<br />

Microplate wells do not normally have barcode labels. Nonetheless, the internal<br />

database of <strong>Freedom</strong> <strong>EVOware</strong> provides a barcode attribute field for microplate<br />

wells, too. This can be used for special applications, e.g. sample tracking.<br />

Script example<br />

The following example assumes that there is only one MP carrier on the<br />

worktable.<br />

The label of the labware on site 1 is Labware4.<br />

The label of the labware on site 2 is Labware5.<br />

Fig. 14-14 Example script<br />

Line 1 sets the labware barcode of site 1 to “567”.<br />

Line 2 sets the well barcode of site 2, well 3 to “d123”.<br />

Line 3 copies the labware barcode of site 1 to string variable BC1.<br />

Line 4 displays the string BC1 (= “567”) on the screen.<br />

<strong>Freedom</strong> <strong>EVOware</strong> <strong>Software</strong> <strong>Manual</strong>, 393172, en, V<strong>2.3</strong> 14 - 17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!