Detector Interface Frontend (DIF)¶
API¶
-
cmd_dif.
set_mode_bit_dif
(dif_id, bit, value)[source]¶ set a specific bit in the mode register of a dif
-
cmd_dif.
set_pwrpls_dif
(dif_id, active)[source]¶ (des)activate the power pulsing alimentation of a dif
-
cmd_dif.
set_alim_mode_dif
(dif_id, alim_mode)[source]¶ Set the alimentation mode of dif: CC for continuous current, PP for power pulsing
-
cmd_dif.
set_dif_mode_dif
(dif_id, mode)[source]¶ set the running mode of the dif: BT for beam test mode, BTBCLK for beam test beam clock mode, BCLK for beam clock mode or ILC
-
cmd_dif.
init_dif
(dif_id, parent, gdcc_port, dcc_nibble, ref, cnh, bxpn_thresh, plane_thresh, min_energy, spill_period, bx_period, mapping_filename, plan, offset_x, offset_y, offset_z, simul)[source]¶ initialize a dif
-
cmd_dif.
read_BTCstatus_dif
(dif_id)[source]¶ read and display the BTCstatus register of a dif to know if a block transfer command is finished or not
-
cmd_dif.
synchro_dif
(dif_id)[source]¶ set a dif in synchronisation mode: waiting for a trigger impulsion
-
cmd_dif.
set_SC_selectbit_dif
(dif_id, value)[source]¶ set the slow control select bit of all rocs on a dif
-
cmd_dif.
set_roc_bitchain_dif
(dif_id, chainid)[source]¶ select the roc chainid: slow control or probe for loading
-
cmd_dif.
save_rocconfig_dif
(dif_id, filename)[source]¶ save in a file the configuration of all the rocs of a dif