Chapter 3: commands and programming – Casio EA-100 Commands and Programming User Manual
Page 38

60
Chapter 3: Commands and Programming
Example 3: Improving probe accuracy
The following example produces calibration values for improving the accu-
racy of sampling using a light probe.
• When performing calibration to improve accuracy, it is necessary to first
produce reference values using a high-accuracy measuring instrument.
{1,0}
→
List 6
↵
Send(List 6)
↵
{1,1,1}
→
List 6
↵
Send(List 6)
↵
ClrText
↵
”HOW MANY POINTS”?
→
N
↵
Seq(0,X,1,N,1)
→
List 2
↵
Seq(0,X,1,N,1)
→
List 3
↵
For 1
→
I To N Step 1
↵
ClrText
↵
”ENTER BASE VALUE”?
→
B
↵
B
→
List 2[I]
↵
{3,0.01,5,0,0}
→
List 6
↵
Send(List 6)
^
Receive(List 4)
↵
(Sum List 4-Min(List 4)-Max(List 4))
÷
3
→
List 3[I]
↵
Next
↵
QuadReg List3, List2
↵
”FINISHED”
↵
”A=”:a
^
”B=”:b
^
”C=”:c
Values a, b, and c obtained by this program are specified using Command 9
before performing actual sampling.
{9,Channel,2,a,b,c}
→
List 6
Send(List 6)
Specify five points (approximate maximum,
minimum of sampling range and additional
3 points) for this example.
Input of reference value. At this time, light
probe should be in state that will be experi-
enced during sampling.
(“Channel” is the specification of the chan-
nel to be used for sampling.)