32 Bit Trigger Card
32 Bit Trigger Card
Set the VME Address
Sets Triggers names that are displayed in the Readout list.
Read status and board info (displayed in the status log window)
Clock Record Format
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
^^^^ ^^^^ ^^^^ ^^-----------------------Clock record ID
-----------------^^ ^^^^ ^^^^ ^^^^ ^^^^-length (always 3 longs)
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
-------^^-------------------------------event trigger bits
----------^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^-top-mosts bits of mac time
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^-bottom 32 bits of mac time
Global Trigger Record
The trigger card will put out the short form if at all possible, but will switch to the long form if it has to.
Short Form
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
^^^^ ^^---------------------------------GTID Record ID
-------^^-------------------------------event trigger bits
---------------^^^^ ^^^^ ^^^^ ^^^^ ^^^^-gtid for this trigger event
Long Form
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
^^^^ ^^^^ ^^^^ ^^-----------------------GTID Record ID
-----------------^^ ^^^^ ^^^^ ^^^^ ^^^^-length (always 2 longs)
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
-------^^-------------------------------event trigger bits
---------------^^^^ ^^^^ ^^^^ ^^^^ ^^^^-gtid for this trigger event
Live-Time Record
The trigger cards can put out the following record which is fixed length. The format is:
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
^^^^ ^^^^ ^^^^ ^^-----------------------record id
-----------------^^ ^^^^ ^^^^ ^^^^ ^^^^-size including this word (in longs)
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
----------^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^-gtid
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
-----------------^^---------------------1,0,3 startrun,stoprun,middlerun
-------------------------^^^^-----------crate
---------------------------------^ ^^^^-slot
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
^^^^ ^^^^--------------------------------top 8 bits of the scope livetime
----------^^^^ ^^^^ ---------------------top 8 bits of trigger2 livetime
--------------------^^^^ ^^^^ -----------top 8 bits of trigger1 livetime
------------------------------^^^^ ^^^^ -top 8 bits of total livetime
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^-bottom 32 bits of total livetime
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^-bottom 32 bits of trigger1 livetime
xxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^-bottom 32 bits of trigger2 livetime
xxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^-bottom 32 bits of scope livetime
Enables M-SAME mode, sets pre-scale number of events before forced scope read
Set Shaper trigger parameters: use only shaper output to the MTC, enable use of shaper inhibit and multiple boards, whether to ship event clock
Loads value to GTID register and forces read of latched GTID registers
Loads value to Clock register and forces read of latched Clock registers
Enables use of live-time clocks. No hardware mode (ignores trigger board) and Software GTID
Loads all values to hardware, prepares card for run
Set Mux trigger condition to use only mux output to MTC, Ship event clock
Loads value to Test register and forces read of latched Test registers
Enables 10 MHz clock
Various test functions to latch,read, or reset registers
Note:
These are true test functions that should not be needed during normal operations of this card.