beautypg.com

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

Page 11

background image

33

Chapter 3: Commands and Programming

with the first derivative calculated for CH1 sample data, and the second de-
rivative calculated for the SONIC channel.

DATA RANGE SETUP parameters (Command 5) can be used to specify the
data groups and data range to be transferred to the CFX-9850G. This com-
mand comes in handy when you want to fetch only specific data items, or
when there are more than 255 data items in data analyzer memory. Note that
executing the Receive(List n) command without using Command 5 to specify
a data range when there are more than 255 data items causes an error on
the calculator because the number of data items that can be assigned to a
list is limited to 255.

• Whenever you are fetching post-processed data, you must use CHAN-

NEL SETUP (Command 1) to set the post-processed sample parameter
to 1 (

d/dt

), 2 (

d/dt

or

d

2

/dt

2

) or 3 (STAT). Note also that the DATA RANGE

SETUP (Command 5) Data Select parameter must match the specifica-
tion you make here.

Sample Operation Using Receive(List) to Fetch
Sampled Data and Post-Processed Data

The following program fetches sampled data and post-processed data to a
CFX-9850G list.

{5,1,0,1,255}

List 6

Send(List 6)
Receive(List 1)

Receive(List 2)

{5,4,2,1,255}

List 3

Send(List 3)

Receive(List 3)

{5,1,0,256,300}

List 4

Send(List 4)

Receive(List 4)

Receive(List 5)

{5,4,2,256,300}

List 6

Send(List 6)

Receive(List 6)

P.52

Fetches CH1 data samples (1 to 255).

Fetches

d/dt

for CH1 (1 to 255).

Sends DATA RANGE SETUP Command
(Command 5) to specify SONIC and sec-
ond derivative data to data analyzer.

Fetches SONIC

d

2

/dt

2

(1 to 255).

Sends DATA RANGE SETUP command to
data analyzer: CH1 (256 to 300).

Fetches CH1 data samples (256 to 300).

Fetches

d/dt

for CH1 (256 to 300).

Sends DATA RANGE SETUP command to
data analyzer: SONIC

d

2

/dt

2

(256 to 300).

Fetches SONIC

d

2

/dt

2

(256 to 300).

P.37

P.52