Elmo HARmonica, HARSFEN0602 software manual Recorder, Bg,Bt, Iln, Rpn

Models: HARmonica HARSFEN0602

1 220
Download 220 pages 51.63 Kb
Page 96
Image 96

HARSFEN0602ElmoHARmonicaSoftwareManual

PRELIMINARYDRAFT

8 The Recorder

94

The recorder mechanism enables the user to record various signals that exist in the Harmonica, up to 8 signals simultaneously. The recorded signals can be uploaded to the host by communication, for the purpose of presentation and analysis.

The following section details how to define the recorder parameters to the Harmonica, how to launch and trigger the recorder, and how to fetch the recorded data.

The average user does not have to know all this detail, since the Composer program normally operate the recorder with a user-friendly interface.

The list of record-able signals supported by a Harmonica is stored internally and can be retrieved by the host. Please refer to LS and LP commands in the Software Manual.

The following commands are relevant for the recording process.

Command

Description

BG,BT,

Begin motion by software or hardware command. Motion beginning may be used to

IL[N]

trigger the recorder.

BH

Upload recorder results.

LS

Load a record from the serial flash.

 

Use in order to retrieve the list of recorder signals

RC

Defines which of the mapped signals shall be recorded.

RG

Recorder gap. Specify the sampling rate of the recorder.

RL

Recorder length.

RP[N]

Recorder parameters.

 

This command defines what event will trigger the recorder, and the trigger position.

 

It also defines:

 

- The basic time quantum for the recorder is TS or four times TS.

 

- The data to be uploaded to the host by the next BH command.

RR

Launch the recorder, and read back its status

RV

Signal mapping.

 

This command maps the ID's of the record able signals to logical ID's that the recorder

 

can refer.

SR

Status register – tells the status of the recorder – idle, armed, triggered and recording,

 

or ready with data.

TS

Sampling time the basic resolution of the recorder.

WI[21]

The actual amount of recorded data.

 

Table 8-1: Commands relevant to the recorder

8.1 Recorder sequencing: Programming, launching, and uploading data.

In order to activate the recorder, it must be programmed. Programming the recorder means telling the recorder what signals to record, at what resolution, and what shall be the trigger event.

Few limitations apply:

-The recorder cannot be programmed while it is armed, or recording. It has to be killed first (RR=-1).

-Changing the recorder programming invalidates any previously recorded data. Be sure to upload all the data you need before programming the recorder.

After programming, the recorder can be launched by:

-RR=1 will arm the recorder to trigger at the next motion begin (obsolete, please use RR=3)

-RR=2 will start recording immediately.

-RR=3 will arm the recorder to start recording at the next trigger event.

The status of the recorder may be polled using the RR and SR commands.

After the recorder data is ready, use the BH command to upload the data.

Page 96
Image 96
Elmo HARmonica, HARSFEN0602 software manual Recorder, Bg,Bt, Iln, Rpn