ALTRO Instructions.

ALTRO instructions are preceeded by the keyword ALTRO.

All ALTRO READ instructions read the data from the ALTRO's into the RCU result memory.

The ALTRO instructions are

READ < K1 | K2 | K3 > < channel_address | BROADCAST > (K1)
Read the parameters K1, K2, or K3 of channel_address or all ALTRO's.
WRITE < K1 | K2 | K3 > < channel_address | BROADCAST > value
Write the value of parameters K1, K2, or K3 to the channel channel_address or all ALTRO's.
READ < L1 | L2 | L3 > < channel_address | BROADCAST > (L1)
Read the parameters L1, L2, or L3 of channel_address or all ALTRO's.
WRITE < L1 | L2 | L3 > < channel_address | BROADCAST > value
Write the value of parameters L1, L2, or L3 to the channel channel_address or all ALTRO's.
READ FIRST BASELINE < channel_address | BROADCAST > (VFPED)
Read the variable and fixed pedestals of channel_address or all ALTROs.
WRITE FIRST BASELINE < channel_address | BROADCAST > value (VFPED)
Write the fixed pedestals value to channel_address or all ALTROs.
READ PEDESTAL < channel_address | BROADCAST > (PMDTA)
Read the address of one or all ALTRO chips where they will fetch the pedestal values from.
WRITE PEDESTAL < channel_address | BROADCAST > value
Write the address to one or all ALTRO chip(s) where it should read the pedestals from.
READ ZERO SUPPRESSION < chip_address | BROADCAST > (ZSTHR)
Read the zero suppression register of one or all ALTRO chips into the result memory of the RCU.
WRITE ZERO SUPPRESSION < chip_address | BROADCAST > off thr
Write the zero suppression registers into one or all ALTRO chips. off is the offset to be added to the signal, and thr is the zero suppression threshold.
READ SECOND BASELINE < chip_address | BROADCAST > (BCTHR)
Read the second baseline correction registers of one or all ALTRO chips into the RCU result memory.
WRITE SECOND BASELINE < chip_address | BROADCAST > low high
Write the second base line configuration into one or all ALTRO chips. high is the high threshold, and low is low threshold.
READ TRIGGER CONFIG < chip_address | BROADCAST > (TRCFG)
Read the trigger configuration of one or all ALTRO chips into the RCU result memory.
WRITE TRIGGER CONFIG < chip_address | BROADCAST > start end
Write the trigger configuration into one or all ALTRO chips. start is which time step to start sampling at, and end is which time step to stop sampling at
READ FIRST PATH < chip_address | BROADCAST > (DPCFG)
Read the data path configuration of one or all ALTRO chips into the RCU result memory
WRITE FIRST PATH < chip_address | BROADCAST > [INVERT] [FIRST BASELINE mode] [SECOND BASELINE pre post] [ZERO SUPPRESSION conf postz prez]
Write the data path configuration into one or all ALTRO chips. If INVERT is given then, invert the bits of the read-out data. mode is the mode of the first baseline correction, pre is the number of pre-samples excluded from the second baseline correction, post the number of post-samples excluded from the second baseline correction, conf is the Glitch filter configuration of the zero suppression, postz is the number of post-samples excluded from the zero suppression, and prez is the number of post-samples excluded from the zero suppression.
READ SECOND PATH < chip_address | BROADCAST > (BFNPT)
Read the second data path configuration of one or all ALTRO chips into the result memory of the RCU.
WRITE SECOND PATH < chip_address | BROADCAST > [PRE TRIGGER n] [BUFFER SIZE size] [FILTER] [POWER SAVE]
Write the second data path configuration into one or all ALTRO chips. n is how many samples to take before the trigger, size is the buffer size (zero=4, and one=8). If FILTER is given, then enable digital filter. If POWER SAVE is given then enable powersave
READ PEDESTAL ADDRESS < chip_address | BROADCAST > (PMADD)
Read the address where pedestal data is at into the RCU result memory
WRITE PEDESTAL ADDRESS < chip_address | BROADCAST > value
Write the address of the pedestal memory to write across the pedestals. value is the address where the pedestal memory should be read from.
READ ERROR chip_address (ERSTR)
Read the error register of one ALTRO chip into the result memory of the RCU
READ ADDRESS chip_address channel_address (ADEVL)
Read the address and event length of one ALTRO channel into the RCU result memory.
READ TRIGGER COUNTER < chip_address | BROADCAST > (TRCNT)
Read the trigger counter register of one or all ALTRO chips into the RCU result memory
WRITE INCREMENT < chip_address | BROADCAST > (WPINC)
Increment the write pointer of one or all ALTRO chips. This is equivilant to a Level 2 trigger
READ INCREMENT < chip_address | BROADCAST > (RPINC)
Increment the read pointer of one or all ALTRO chips. This releases one data buffer in the ALTRO's
READOUT channel_address chip_address (CHRDO)
Read out channel channel_address of ALTRO chip chip_address
SOFTWARE TRIGGER < chip_address | BROADCAST > (SWTRG)
Make a software trigger.
RESET TRIGGER COUNTER < chip_address | BROADCAST > (TRCLR)
Clear the trigger counter of one or all ALTRO chips.
RESET ERROR < chip_address | BROADCAST > (ERCLR)
Clear the error register of one or all ALTRO chips.
Top of page Last update Fri Jul 21 19:48:34 2006
Copyright © 2004 Christian Holm Created by DoxyGen 1.3.5