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
.
The treatment of the extra code files is very similar compared to virtual counters (see section 7.2.2):
Apply
overwrite the file and creates a new file version, e.g.:
~/prog/Code_before_00007.pl
.