beautypg.com

6 launching the recorder, Launching the recorder -11 – ElmoMC SimplIQ Software Manual User Manual

Page 107

background image

SimplIQ

Software Manual

Development Aids

MAN-SIMSW (Ver. 1.4)

7-11

RP[N] Description

Definition

RP[3] Trigger type

0: Immediate
1: BG
2: Positive slope
3: Negative slope
4: Window
5: Trigger on digital input

RP[4] Level 1

Level of positive slope trigger, or high side of window
trigger.

RP[5] Level 2

Level of negative slope trigger, or low side of window
trigger.

RP[6]

Digital input trigger polarity.

RP[7]

Digital input trigger mask

Table

7-4: Trigger Parameters

Trigger levels RP[4] and RP[5] can be entered as either integers or floating point numbers.

7.4.6

Launching the Recorder

The RR command is used to launch (or kill) the recorder. It also reports the recorder status:
ƒ

RR=-1 kills the recorder if active, and invalidates any recorded data.

ƒ

RR=0 kills the recorder and does nothing if it is not active.

ƒ

RR=1 launches the recorder, triggered on next BG.

ƒ

RR=2 launches the recorder with an immediate trigger.

ƒ

RR=3 launches the recorder with the trigger defined by the RP parameters.

Note that the results of RR=1 and RR=2 can be achieved with RR=3 and the appropriate
RP[N] definitions. The RR=1 and RR=2 commands are used for easy interface with the most
common recorder actions.

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

RR=-1:

No valid data in recorder.

ƒ

RR=0:

Recorder action is complete and is loaded with valid data.

ƒ

RR=1, 2 and 3:

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

The report value (1, 2 or 3) does not indicate if the recorder is

already recording or if it is waiting for a trigger. If this differentia

tion is required, use the SR command.