TOC PREV NEXT INDEX

Put your logo here!


9 INTERACTIVE MODE

The interactive mode has been designed for stand-alone tests of the IRACE hardware and for development of SDMA-acquisition processes.

9.1 PRE-PROCESSOR INTERACTIVE MODE

9.1.1 PROCESS STARTUP

To start the acquisition process type:

sdmaXXX -v -nclient 2 (Santa Barbara uncorrelated)

This starts the plug-ins's in default mode producing DIT- and INT-frames. You can start them by typing this line and stop them with ctrl-c.

Remember: first boot the irace front end, then start the plug-in process, then start the sequencer.

To start a plug-in interactive mode (so that one can enter start/stop/stat commands etc.) the -i command line option has to be set and the interactive interface process sdmaImode has to be started (on any host):

Example:

host-a: sdmaXXX -v -nclient 2 -i

host-b: sdmaImode -host <host-a>

After starting sdmaImode you will get help with `?' or `? cmd'.

If one starts a new plug-in by hand, while the sdmaImode process is still running, one has to type `connect' (in sdmaImode) to reconnect to the plug-in.

To start the RTD type:

rtdServer& (only once after booting)

irtd&

9.1.2 IMPORTANT COMMANDS

start - start acquisition

stop - stop acquisition

pset <parameter name> <value> - set parameter

psync <timeout> - overtake all parameters set with pset

time - get current calculation time and data input interval

9.2 TCOM INTERACTIVE MODE

To run the interactive mode for the IRACE controller, the bootables and the example configuration files should be installed in a test directory:

iraceInstallData <iraceTest> (iraceTest is the name of the test directory)

Already existing files with the same name as the default files are overwritten, all others remain untouched.

9.2.1 PROCESS STARTUP

To boot the front end type:

cd <iraceTest>/TEST/

tcomSclImode -v -b ../SYS/dcs_scl.btl (- dcs_scl2.btl for 2 cldc)

:

:

>boot

>ldmacro xxxx.cmd

For parallel-port version on SPARC with SBus:

tcomSclImode -v -type bpp -dev /dev/bpp0 -b ../SYS/sclpp.btl

(- scl2pp.btl for 2 cldc)

For parallel-port version on SPARC with PCI-Bus:

tcomSclImode -v -type cen -dev /dev/ecpp0 -b ../SYS/sclpp2.btl

(- scl2pp2.btl for 2 cldc)

After starting tcomSclImode you will get help with `?' or `? cmd'

9.2.2 IMPORTANT COMMANDS

csetup - print clock setup

fsetup - print frame setup (readout loop)

vsetup - print voltage setup

pstat - read parameters and subpatterns

tel - telemetry

start - start sequencer

stop - stop sequencer

pset rspeed <factor> <add> - set readspeed

pset dc <n> <value> - set dc-voltage n

pset clkhi <n> <value> - set clock high n

pset clklo <n> <value> - set clock lo n

pset dac <n> <value> - set dac channel n

pget rspeed - get current readspeed

pget dc <n> - get dc-voltage n

pget clk <n> - get clock-voltages (high/low) n

pget tel <n> - read telemetry channel n

mode 0 - normal mode (= default)

mode 1 - chopping mode (external trigger)

fotest - continuous fiber optic test (interrupt with space)

seqchk <number of addresses> - continuous sequencer SRAM test (interrupt with space)

9.3 MACRO FILES

The interactive mode allows the usage of macro-files. These contain a sequence of commands to be exectued by typing ldmacro <filename>.

The macro file should look like:

ldv ../VOLTAGE/myVoltages.v

ldclk ../CLK/myClocks.clk

ldseq ../SEQ/mySeq.seq

Predefined macros (in the <iraceTest>/TEST/ directory):

sb1.cmd - Santa Barbara uncorrelated

sb2.cmd - Santa Barbara double correlated

r1.cmd - Rockwell uncorrelated

r2.cmd - Rockwell double correlated

test.cmd - Test sequence as template, which produces 256x256 convert pulses (assuming a 4-channel system). The number of convert pulses can be set:

>

>pset var DET.NX <value>

>pset var DET.NY <value>

>ldseq ../SEQ/test.seq (or just <psync>)

>

9.4 SEQUENCE FILE

The sequence file has a similar structure as the sequencer program file but uses a reduced syntax:

ASSIGN myFrame "../SSD/myFrame.ssd"

ASSIGN myDelay "../SSD/myDelay.ssd"

ASSIGN myReset "../SSD/myReset.ssd"

LOOP <loop-counter>

myReset 1

myDelay <repetition factor>

myFrame 1

END

PROG.END

9.5 DIRECTORY STRUCTURE

<iraceTest>/SYS/*.btl - bootables

<iraceTest>/VOLTAGE/ - voltage files

<iraceTest>/CLK/ - clock patterns

<iraceTest>/SSD/ - subpattern dispatcher files

<iraceTest>/SEQ/ - readout sequences

<iraceTest>/TEST/ - test macros (.cmd files)



Quadralay Corporation
http://www.webworks.com
Voice: (512) 719-3399
Fax: (512) 719-3606
sales@webworks.com
TOC PREV NEXT INDEX