WORKING WITH PROGRAMS
iKon-L SECTION 9
Page 150
SECTION 9 - WORKING WITH PROGRAMS
9.1 - WORKING WITH ANDOR BASIC
The Andor Basic programming language allows you to create programs for customized control of data
acquisition and customized manipulation of data. For more detai
led information, please refer to the
Programmer’s Guide to Andor Basic.
The system provides facilities to let you Edit, Save and Run your programs.
The Command Line gives you ready access to all functions and arithmetic data processing of the Andor Basic
programming language, without the need to write programs. However, to process the contents of a data set, the
data set must first be in memory (RAM), and a corresponding Data Window will therefore be on screen.
To open the Command Line, click the
button.
As an example, the following entry on the command line adds together the data in the data sets #1 and #2, and
stores the result in a third, possibly new, data set labeled #100. Thus #100 = #1 + #2,e.g.:
9.1.2 - Program Editor Window
Opening a program file, or selecting New Program from the File Menu launches a Program Editor Window
where you can enter unformatted text. Whilst you are working in the Program Editor Window, context sensitive
help is available on the ‘reserved words’ of the programming language: with the cursor on or immediately after a
reserved word, press Ctrl + F1.
9.1.3 - Accessing the Edit Functions
Edit facilities are available either as edit buttons on the Main Window or as options on the Edit and Save
Menus. Some options (Cut, Copy) become available only when you have highlighted a segment of text; others
are available only when preceded by another operation (Paste must be preceded by Cut or Copy). The
following pages provide details of how to work with Andor Basic.