Extra code

Extra code can be enabled using the Select Scan Devices widget. It is inserted in the scan macros when the scan is started. Figure 7.18 shows an example. The code is stored in the files
~/prog/Code_before.pl,
~/prog/Code_before_during.pl,
~/prog/Code_after_during.pl,
~/prog/Code_after.pl.

The ~/prog directory stores also the file versions, e.g.: ~/prog/Code_before_00001.pl.

Figure 7.18: An Extra Code Example
Image scan_extra_code

The treatment of the extra code files is very similar compared to virtual counters (see section 7.2.2):