HARSFEN0602ElmoHARmonicaSoftwareManual

PRELIMINARYDRAFT

numbers.

8.6 Launching the recorder

The recorder is launched (or killed) using the RR command. RR also reports the recorder status.

The RR command has the following options:

RR Value

Meaning

 

 

-1

Kill the recorder if active, and invalidate any recorded data.

 

 

0

Kill the recorder (Do nothing if the recorder is not active)

1

Launch the recorder, triggered on the next BG.

2

Launch the recorder with immediate trigger.

3

Launch the recorder with the trigger defined by the RP parameters.

Table 8-4: RR command options

100

Note that the actions of RR=1 and RR=2 can be obtained with RR=3 and the appropriate RP[N] definitions. The commands RR=1 and RR=2 are simply meant to allow easy interface to the most common recorder actions.

As a status report, RR may return the following values:

RR Report

Meaning

 

 

-1

No valid data in the recorder.

0

The recorder action is complete, and it is loaded with valid data.

1,2,3

Waiting for the completion of RR=1, RR=2, or RR=3 respectively.

 

The report value of 1,2, and 3 does not tell if the recorder is already

 

recording or is just waiting for a trigger. If this differentiation is

 

required, use the SR command.

 

Table 8-5: RR reports

The SR (Status Register) command details the status of the recorder. SR returns a bit field. Bits 16 and 17 of SR may have the following values:

Bit 16

Bit 17

Recorder status

0

0

Recorder inactive, no valid recorded data

0

1

Recorder armed, waiting for a trigger event

1

0

Recorder finished; valid data is ready for use.

1

1

Recording now.

Table 8-6: SR recorder status reports

8.7 Uploading recorded data

This section summarizes how to upload recorded data from the amplifier to a host.

The relevant commands for recorder data uploading are:

Parameter

 

Description

 

 

 

RR

 

If zero, tells that the recorder is ready for data upload.

WI[21]

 

Tell how much data is actually recorded.

RR[8],RR[9]

 

Define the part of the signal to be next uploaded

BH

 

Upload recorded data command.

 

Table 8-7:Parameters for uploading recorded data

Page 102
Image 102
Elmo HARmonica, HARSFEN0602 software manual 100, Launching the recorder, Uploading recorded data