- Input:
- chain
- natural
- crate
- natural
- slot
- natural
- Output:
- CALBT_OTispresent
- C function:
- calbt_tl_ispresent
Query if a CALB board is present
Also returns the type of the board
calb open chain crate slot
- Input:
- chain
- natural
- crate
- natural
- slot
- natural
- Output:
- CALBT_OTcid
- C function:
- calbt_tl_open
Open a CALB board
Returns a cid
calb close cid
- Input:
- cid
- CALBT_ITcid
- Output:
- CALBT_OTdummy
- C function:
- calbt_tl_close
Close a CALB board
calb raw read creg cid
- Input:
- cid
- CALBT_ITcid
- Output:
- natural
- C function:
- calbt_tl_raw_read_creg
Raw read control register
calb raw read sreg cid
- Input:
- cid
- CALBT_ITcid
- Output:
- natural
- C function:
- calbt_tl_raw_read_sreg
Raw read status register
calb raw read rdtrg cid
- Input:
- cid
- CALBT_ITcid
- Output:
- natural
- C function:
- calbt_tl_raw_read_rdtrg
Raw read trigger counter
calb raw read dfifo cid
- Input:
- cid
- CALBT_ITcid
- Output:
- natural
- C function:
- calbt_tl_raw_read_dfifo
Raw read data FIFO
calb raw read hfifo cid
- Input:
- cid
- CALBT_ITcid
- Output:
- natural
- C function:
- calbt_tl_raw_read_hfifo
Raw read header FIFO
calb raw read latch cid chnr
- Input:
- cid
- CALBT_ITcid
- chnr
- CALBT_ITlatchnr
- Output:
- natural
- C function:
- calbt_tl_raw_read_latch
Raw read a Latch
calb raw read pedestal cid pednr pedside
- Input:
- cid
- CALBT_ITcid
- pednr
- CALBT_ITpednr
- pedside
- CALBT_ITpedside
- Output:
- natural
- C function:
- calbt_tl_raw_read_pedestal
Raw read a pedestal
calb raw write creg cid value
- Input:
- cid
- CALBT_ITcid
- value
- natural
- Output:
- CALBT_OTdummy
- C function:
- calbt_tl_raw_write_creg
Raw write control register
calb raw write pedestal cid pednr pedside value
- Input:
- cid
- CALBT_ITcid
- pednr
- CALBT_ITpednr
- pedside
- CALBT_ITpedside
- value
- natural
Write with an AND 0xfff
- Output:
- CALBT_OTdummy
- C function:
- calbt_tl_raw_write_pedestal
Raw write a pedestal
calb read creg cid
- Input:
- cid
- CALBT_ITcid
- Output:
- CALBT_OTread_creg
- C function:
- calbt_tl_read_creg
Read the Control Register
calb read sreg cid
- Input:
- cid
- CALBT_ITcid
- Output:
- CALBT_OTread_sreg
- C function:
- calbt_tl_read_sreg
Read the Status Register
calb read rdtrg cid
- Input:
- cid
- CALBT_ITcid
- Output:
- natural
- C function:
- calbt_tl_read_rdtrg
Reat The Rigger Count register
calb read dfifo cid
- Input:
- cid
- CALBT_ITcid
- Output:
- CALBT_OTread_dfifo
- C function:
- calbt_tl_read_dfifo
Read the DFIFO
calb read hfifo cid
- Input:
- cid
- CALBT_ITcid
- Output:
- CALBT_OTread_hfifo
- C function:
- calbt_tl_read_hfifo
Read the HFIFO
calb read latch cid chnr
- Input:
- cid
- CALBT_ITcid
- chnr
- CALBT_ITlatchnr
- Output:
- CALBT_OTreadlatch
- C function:
- calbt_tl_read_latch
Read a Latch
calb read pedestal cid pednr pedside
- Input:
- cid
- CALBT_ITcid
- pednr
- CALBT_ITpednr
- pedside
- CALBT_ITpedside
- Output:
- natural
- C function:
- calbt_tl_read_pedestal
Read a pedestal
calb write creg cid rec
- Input:
- cid
- CALBT_ITcid
- rec
- CALBT_ITwrite_creg
- Output:
- CALBT_OTdummy
- C function:
- calbt_tl_write_creg
Write the Control Register
calb write reset cid
- Input:
- cid
- CALBT_ITcid
- Output:
- CALBT_OTdummy
- C function:
- calbt_tl_write_reset
Write to the Reset register
Reset the board
calb write clrtrg cid
- Input:
- cid
- CALBT_ITcid
- Output:
- CALBT_OTdummy
- C function:
- calbt_tl_write_clrtrg
Write to the Clear Trigger Counter register
Clear the trigger counter
calb write swtrg cid
- Input:
- cid
- CALBT_ITcid
- Output:
- CALBT_OTdummy
- C function:
- calbt_tl_write_swtrg
Write to the Trigger register
Send an internal trigger
calb write pedestal cid pednr pedside value
- Input:
- cid
- CALBT_ITcid
- pednr
- CALBT_ITpednr
- pedside
- CALBT_ITpedside
- value
- integer range [0..4095]
- Output:
- CALBT_OTdummy
- C function:
- calbt_tl_write_pedestal
Write a pedestal
calb get fieldname cid
- Input:
- fieldname
- CALBT_ITget_fields
- cid
- CALBT_ITcid
- Output:
- natural
- C function:
- calbt_tl_get
Get a field
calb set fieldname cid value
- Input:
- fieldname
- CALBT_ITset_fields
- cid
- CALBT_ITcid
- value
- natural
- Output:
- CALBT_OTdummy
- C function:
- calbt_tl_set
Set a field
calb readpage csreg cid
- Input:
- cid
- CALBT_ITcid
- Output:
- CALBT_OTreadpage_csreg
- C function:
- calbt_tl_readpage_csreg
Read control and status register
calb readpage pedestal cid
- Input:
- cid
- CALBT_ITcid
- Output:
- CALBT_OTreadpage_pedestal
- C function:
- calbt_tl_readpage_pedestal
Read all the pedestals