Programming, Chapter 3: commands and programming, Tasks normally controlled by programs – Casio EA-100 Commands and Programming User Manual

Page 4

Advertising
background image

26

Chapter 3: Commands and Programming

Programming

Programs can be input on the CFX-9850G graphic scientific calculator and
then sent to the data analyzer to make it perform a series of tasks.

• Note that data analyzer control programs can be input on the CFX-9850G

graphic scientific calculator only. The CFX-9800G can be used to send
commands one-by-one.

Tasks Normally Controlled by Programs

The following outline describes the normal sequence of a data analyzer sys-
tem control program.

1. Command 0 (ALL CLEAR) or Command 1 (CHANNEL SETUP, setting

the channel parameter to 0)

Either of these commands is used to reset all channels and clear any
sampled data currently in data analyzer memory.

2. Command 1 (CHANNEL SETUP)

This command is used to perform channel setup and specify the type of
data to be sampled.

3. Command 2 (DATA TYPE/DISPLAY SETUP)

This command is used when necessary to specify special data type.

4. Command 4 (CONVERSION EQUATION SETUP)

This command is used when necessary to specify a conversion equation.

5. Command 9 (PROBE CALIBRATE)

This command is used when necessary to calibrate the probe.

6. Command 3 (SAMPLE AND TRIGGER SETUP)

This command specifies such sampling parameters as sampling duration,
number of samples, time recording, etc. The data analyzer interprets re-
ceipt of Command 3 as being the end of the setup routine, and expects
sampling to begin next.

Whenever using Command 3, be sure to also include a display halt com-
mand (

^

). This causes the calculator to wait until the data analyzer fin-

ishes its sampling operation before continuing with program execution.

—————— Sampling operation with data analyzer

7. Command 5 (DATA RANGE SETUP)

This command is used when necessary to specify the range of data to be
transferred from the data analyzer to the CFX-9850G.

8. Data transfer from the data analyzer to the CFX-9850G

Though the actual tasks included in a program will differ according to the
type of sampling being performed, tasks 1, 2, 6, and 8 in the above outline
should be included in all programs.

Advertising