/* CAEN V785 32 channel ADC*/
#include "stdio.h"
#include "s_veshe.h"
//----------------------------------------------
#define MWPC_downscale 0 // reduction = 2**MWPC_downscale
#define SI_downscale 0
#define VME_BASE 0x00000000
#define TB__OFFSET 0x05000000
#define TB__No_Ch 16
#define TB__No_Ch_enabled 16
#define TB__lmd_offset 0x300
#define ADC_V785__VME_OFFSET 0x00200000
#define ADC_V785__VME_SIZE 0x10000
#define ADC_V785__No_Ch 32
#define ADC_V785__lmd_offset 0x00
#define ADC_V785__No_Mod 3
#define SCA_V830_VME_OFFSET 0x00000000
#define SCA_V830_VME_SIZE 0x10000
#define SCA_V830__No_Ch 32
#define SCA_V830__lmd_offset 0x100
#define TDC_V1190a__OFFSET 0x01200000
#define TDC_V1190a__VME_SIZE 0x10000
#define TDC_V1190a__No_Ch 128
#define TDC_V1190a__No_hit_per_Ch 1 //only single hit allowed
#define TDC_V1190a__lmd_offset 0x200
#define TDC_V1190a__win_width 200
#define TDC_V1190a__win_offset -180
const long TB_Ch_enable_reg_F_0 = 0x00FF ;
//------------//
// scale down: ch00, ch01, ch02
const long TB_scale_down_0_F[TB__No_Ch] ={ SI_downscale,MWPC_downscale,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0} ;
const long ADC_threshold_value = 0x0000 ;
/*****************************************************************************/
/*
* all pointer wllhich are used for read/write operations in the functions
* f_user_init and f_user_readout must be defined here as static variables
*/
static long volatile *pl_VME_virtual_mem_base ;
static long volatile *pl_trig_vme_str; // triva status register
static long ll_evt_ctr = 0;
/* TB - Triggerbox on Vulom3 */
static long volatile *pl_TB__base ;
static long volatile *pl_TB__Ch_enable_reg_F_0 ;
static long volatile *pl_TB__scale_down_7_0 ;
static long volatile *pl_TB__scale_down_F_8 ;
static long volatile *pl_TB__latch_reg ;
static long volatile *pl_TB__version ;
static long volatile *pl_TB__scaler_inp [TB__No_Ch];
static long volatile *pl_TB__scaler_inhib [TB__No_Ch] ;
static long volatile *pl_TB__scaler_after_reduction [TB__No_Ch] ;
long TB__scaler_inp_old [TB__No_Ch] = { 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0} ;
long TB__scaler_inhib_old [TB__No_Ch] = { 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0} ;
long TB__scaler_after_reduction_old [TB__No_Ch] = { 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0} ;
/* ADC - Analog to Digital Converter CAEN V785AH */
static long volatile *pl_ADC_V785__base [ADC_V785__No_Mod];
static short volatile *ps_ADC_V785__firm_rev [ADC_V785__No_Mod];
static short volatile *ps_ADC_V785__geo_adr [ADC_V785__No_Mod];
static short volatile *ps_ADC_V785__oui_msb [ADC_V785__No_Mod] ;
static short volatile *ps_ADC_V785__oui [ADC_V785__No_Mod] ;
static short volatile *ps_ADC_V785__oui_lsb [ADC_V785__No_Mod] ;
static short volatile *ps_ADC_V785__version [ADC_V785__No_Mod] ;
static short volatile *ps_ADC_V785__board_id_msb [ADC_V785__No_Mod] ;
static short volatile *ps_ADC_V785__board_id [ADC_V785__No_Mod] ;
static short volatile *ps_ADC_V785__board_id_lsb [ADC_V785__No_Mod] ;
static short volatile *ps_ADC_V785__revision [ADC_V785__No_Mod] ;
static short volatile *ps_ADC_V785__serial_msb [ADC_V785__No_Mod];
static short volatile *ps_ADC_V785__serial_lsb [ADC_V785__No_Mod];
static long volatile *pl_ADC_V785__outp_buffer [ADC_V785__No_Mod];
static short volatile *ps_ADC_V785__bit_set_1 [ADC_V785__No_Mod];
static short volatile *ps_ADC_V785__bit_clr_1 [ADC_V785__No_Mod];
static short volatile *ps_ADC_V785__stat_reg_1 [ADC_V785__No_Mod];
static short volatile *ps_ADC_V785__ctrl_reg_1 [ADC_V785__No_Mod];
static short volatile *ps_ADC_V785__stat_reg_2 [ADC_V785__No_Mod];
static short volatile *ps_ADC_V785__bit_set_2 [ADC_V785__No_Mod];
static short volatile *ps_ADC_V785__bit_clr_2 [ADC_V785__No_Mod];
static short volatile *ps_ADC_V785__threshs[ADC_V785__No_Ch] [ADC_V785__No_Mod];
/* SCA - Scaler CAEN V830 */
static long volatile *pl_SCA_V830__base;
static long volatile *pl_SCA_V830__outp_buffer;
static long volatile *pl_SCA_V830__counter[SCA_V830__No_Ch];
static short volatile *ps_SCA_V830__scaler_clr;
static short volatile *ps_SCA_V830__scaler_status_reg;
static short volatile *ps_SCA_V830__fixed_code;
static short volatile *ps_SCA_V830__manuf_mod_type;
static short volatile *ps_SCA_V830__version_series;
static short volatile *ps_SCA_V830__firm_rev;
static short volatile *ps_SCA_V830__geo_adr;
static short volatile *ps_SCA_V830__oui_msb ;
static short volatile *ps_SCA_V830__oui ;
static short volatile *ps_SCA_V830__oui_lsb ;
static short volatile *ps_SCA_V830__version ;
static short volatile *ps_SCA_V830__board_id_msb ;
static short volatile *ps_SCA_V830__board_id ;
static short volatile *ps_SCA_V830__board_id_lsb ;
static short volatile *ps_SCA_V830__revision ;
static short volatile *ps_SCA_V830__serial_msb;
static short volatile *ps_SCA_V830__serial_lsb;
static short volatile *ps_SCA_V830__bit_set_1 ;
static short volatile *ps_SCA_V830__bit_clr_1 ;
static short volatile *ps_SCA_V830__stat_reg_1;
static short volatile *ps_SCA_V830__ctrl_reg_1;
static short volatile *ps_SCA_V830__sw_clr_reg ;
long SCA_V830__data_old [SCA_V830__No_Ch] ;
/* TDC - Time to Digital Converter CAEN V1190a */
static long volatile *pl_TDC_V1190a__base ;
static long volatile *pl_TDC_V1190a__outp_buffer ;
static short volatile *ps_TDC_V1190a__ctrl_reg_1 ;
static short volatile *ps_TDC_V1190a__stat_reg_1 ;
static short volatile *ps_TDC_V1190a__geo_adr ;
static short volatile *ps_TDC_V1190a__module_reset ;
static short volatile *ps_TDC_V1190a__sw_clr ;
static short volatile *ps_TDC_V1190a__sw_evt_reset ;
static short volatile *ps_TDC_V1190a__sw_trig ;
static short volatile *pl_TDC_V1190a__evt_cnt ;
static short volatile *ps_TDC_V1190a__firmware_rev ;
static short volatile *ps_TDC_V1190a__micro_reg ;
static short volatile *ps_TDC_V1190a__micro_hdshk_reg ;
static short volatile *ps_TDC_V1190a__oui_2 ;
static short volatile *ps_TDC_V1190a__oui_1 ;
static short volatile *ps_TDC_V1190a__oui_0 ;
static short volatile *ps_TDC_V1190a__board_ver ;
static short volatile *ps_TDC_V1190a__board_id_2 ;
static short volatile *ps_TDC_V1190a__board_id_1 ;
static short volatile *ps_TDC_V1190a__board_id_0 ;
static short volatile *ps_TDC_V1190a__revision_3 ;
static short volatile *ps_TDC_V1190a__revision_2 ;
static short volatile *ps_TDC_V1190a__revision_1 ;
static short volatile *ps_TDC_V1190a__revision_0 ;
static short volatile *ps_TDC_V1190a__serial_1 ;
static short volatile *ps_TDC_V1190a__serial_0 ;
int l_mod;
int l_ch;
long l_event_counter;
/*****************************************************************************/
/*****************************************************************************/
int f_user_get_virt_ptr (long *pl_loc_hwacc, long pl_rem_cam[])
{
int i;
long l_i, l_j;
/*
* create virtual pointer to be used in f_user_init and f_user_readout
*/
l_event_counter = 0;
//***************
// CAEN mapping
//***************
{ //#ifdef CAEN
pl_VME_virtual_mem_base = (long*) ((long)pl_loc_hwacc) ;
} //#endif // CAEN
// *****************************************************************************/
{
// * create virtual pointer to be used in f_user_init and f_user_readout
/*------------------------------------------------------------------------------*/
/* TB on VULOM3 */
/*------------------------------------------------------------------------------*/
{
pl_TB__base = (long*) ((long) pl_VME_virtual_mem_base + TB__OFFSET ) ;
pl_TB__Ch_enable_reg_F_0 = (long*) ( (long) pl_TB__base + 0x0000 );
pl_TB__scale_down_7_0 = (long*) ( (long) pl_TB__base + 0x0004 );
pl_TB__scale_down_F_8 = (long*) ( (long) pl_TB__base + 0x0008 ) ;
pl_TB__latch_reg = (long*) ( (long) pl_TB__base + 0x000c );
pl_TB__version = (long*) ( (long) pl_TB__base + 0x003c );
long l_ch ;
for (l_ch=0; l_ch<TB__No_Ch; l_ch++)
{ pl_TB__scaler_inp[l_ch] =
(long*) ( (long) pl_TB__base + 0x0040 +(l_ch*4));
pl_TB__scaler_inhib[l_ch] =
(long*) ( (long) pl_TB__base + 0x0080 +(l_ch*4));
pl_TB__scaler_after_reduction[l_ch] =
(long*) ( (long) pl_TB__base + 0x00c0 +(l_ch*4));
}
}
/*------------------------------------------------------------------------------*/
/* ADC CAEN 785AH */
/*------------------------------------------------------------------------------*/
for (l_mod = 0 ; l_mod < ADC_V785__No_Mod; l_mod++)
{
pl_ADC_V785__base[l_mod] = (long*) ( (long) pl_VME_virtual_mem_base + ADC_V785__VME_OFFSET + l_mod * ADC_V785__VME_SIZE) ;
ps_ADC_V785__firm_rev[l_mod] = (short*) ( (long) pl_ADC_V785__base[l_mod] + 0x1000 );
ps_ADC_V785__geo_adr[l_mod] = (short*) ( (long) pl_ADC_V785__base[l_mod] + 0x1002 );
ps_ADC_V785__oui_msb[l_mod] = (short*) ( (long) pl_ADC_V785__base[l_mod] + 0x8026 );
ps_ADC_V785__oui[l_mod] = (short*) ( (long) pl_ADC_V785__base[l_mod] + 0x802a );
ps_ADC_V785__oui_lsb[l_mod] = (short*) ( (long) pl_ADC_V785__base[l_mod] + 0x802e );
ps_ADC_V785__version[l_mod] = (short*) ( (long) pl_ADC_V785__base[l_mod] + 0x8032 );
ps_ADC_V785__board_id_msb[l_mod]= (short*) ( (long) pl_ADC_V785__base[l_mod] + 0x8036 );
ps_ADC_V785__board_id[l_mod] = (short*) ( (long) pl_ADC_V785__base[l_mod] + 0x802a );
ps_ADC_V785__board_id_lsb[l_mod]= (short*) ( (long) pl_ADC_V785__base[l_mod] + 0x802e );
ps_ADC_V785__revision[l_mod] = (short*) ( (long) pl_ADC_V785__base[l_mod] + 0x804e );
ps_ADC_V785__serial_msb[l_mod] = (short*) ( (long) pl_ADC_V785__base[l_mod] + 0x8f02 );
ps_ADC_V785__serial_lsb[l_mod] = (short*) ( (long) pl_ADC_V785__base[l_mod] + 0x8f06 );
pl_ADC_V785__outp_buffer[l_mod]= (long*) ( (long) pl_ADC_V785__base[l_mod] + 0x0000 );
ps_ADC_V785__bit_set_1[l_mod] = (short*) ( (long) pl_ADC_V785__base[l_mod] + 0x1006 );
ps_ADC_V785__bit_clr_1[l_mod] = (short*) ( (long) pl_ADC_V785__base[l_mod] + 0x1008 );
ps_ADC_V785__stat_reg_1[l_mod] = (short*) ( (long) pl_ADC_V785__base[l_mod] + 0x100e );
ps_ADC_V785__ctrl_reg_1[l_mod] = (short*) ( (long) pl_ADC_V785__base[l_mod] + 0x1010 );
ps_ADC_V785__stat_reg_2[l_mod] = (short*) ( (long) pl_ADC_V785__base[l_mod] + 0x1022 );
ps_ADC_V785__bit_set_2[l_mod] = (short*) ( (long) pl_ADC_V785__base[l_mod] + 0x1032 );
ps_ADC_V785__bit_clr_2[l_mod] = (short*) ( (long) pl_ADC_V785__base[l_mod] + 0x1034 );
for (l_ch=0; l_ch<ADC_V785__No_Ch; l_ch++)
{
ps_ADC_V785__threshs[l_ch][l_mod] = (short*) ( (long) pl_ADC_V785__base[l_mod] + 0x1080 + l_ch * 0x0002 );
}
}
/*------------------------------------------------------------------------------*/
/* Scaler CAEN V830 */
... 832 more lines ...
|
22-Oct-18 16:39:14#R4-54 :msg_log :Message logger running
22-Oct-18 16:39:21+R4-54 :dispatch :>>> Start procedure "startup.scom" break mode 1
22-Oct-18 16:39:21#R4-54 :dispatch :start task m_util
22-Oct-18 16:39:22#R4-54 :util :task m_util started
22-Oct-18 16:39:22#R4-54 :util :load setup setup.usf
22-Oct-18 16:39:22#R4-54 :util :setup file setup.usf successfully loaded
22-Oct-18 16:39:22+R4-54 :util :load setup finished (x0)
22-Oct-18 16:39:22#R4-54 :util :set trig_mod
22-Oct-18 16:39:22#R4-54 :util :trigger module set up as MASTER, crate nr: 0
22-Oct-18 16:39:22+R4-54 :util :set trig_mod finished (x0)
22-Oct-18 16:39:22#R4-54 :util :enable irq
22-Oct-18 16:39:23+R4-54 :util :enable irq finished (x0)
22-Oct-18 16:39:23#R4-54 :dispatch :start task m_read_meb "./m_read_meb"
22-Oct-18 16:39:23#R4-54 :dispatch :start task m_collector
22-Oct-18 16:39:23#R4-54 :dispatch :start task m_transport
22-Oct-18 16:39:23#R4-54 :dispatch :start task m_stream_serv
22-Oct-18 16:39:24#R4-54 :dispatch :start task m_daq_rate
22-Oct-18 16:39:26!R4-54 :read_meb :Pipe type 0: smem_create for base 0x8000000
22-Oct-18 16:39:27!R4-54 :collector :Pipe type 0: smem_create for base 0x8000000
22-Oct-18 16:39:27#R4-54 :read_meb :task m_read_meb started
22-Oct-18 16:39:27#R4-54 :stream_serv:task m_stream_serv started
22-Oct-18 16:39:27#R4-54 :collector :task m_collector started
22-Oct-18 16:39:27#R4-54 :transport :task m_transport started
22-Oct-18 16:39:27#R4-54 :transport :enable tcp
22-Oct-18 16:39:27#R4-54 :transport :starting server in inclusive mode
22-Oct-18 16:39:27+R4-54 :transport :enable tcp finished (x0)
22-Oct-18 16:39:27+R4-54 :dispatch :>>> End procedure "startup.scom"
22-Oct-18 16:39:27#R4-54 :transport :waiting for client (port 6000)
22-Oct-18 16:39:30#R4-54 :util :start acquisition
22-Oct-18 16:39:30+R4-54 :util :start acquisition finished (x0)
22-Oct-18 16:39:31#R4-54 :read_meb :found trig type 14 == start acquisition
22-Oct-18 16:39:31#R4-54 :collector :acquisition running
22-Oct-18 16:42:19#R4-54 :util :stop acquisition
22-Oct-18 16:42:21+R4-54 :util :stop acquisition finished (x0)
22-Oct-18 16:42:21#R4-54 :collector :acquisition NOT running
22-Oct-18 16:42:21#R4-54 :read_meb :found trig type 15 == stop acquisition
22-Oct-18 16:45:08#R4-54 :util :start acquisition
22-Oct-18 16:45:08+R4-54 :util :start acquisition finished (x0)
22-Oct-18 16:45:09#R4-54 :read_meb :found trig type 14 == start acquisition
22-Oct-18 16:45:10#R4-54 :collector :acquisition running
22-Oct-18 16:45:19!R4-54 :dispatch :Key "events" > invalid value "v"!
22-Oct-18 16:45:19!R4-54 :dispatch :Command not executed
22-Oct-18 16:45:19!R4-54 :dispatch :Command "type event v 10" finished with argument error (20)
22-Oct-18 16:45:34#R4-54 :transport :type event -v 10
22-Oct-18 16:45:34+R4-54 :transport :type event finished (x0)
22-Oct-18 16:45:41#R4-54 :util :stop acquisition
22-Oct-18 16:45:43+R4-54 :util :stop acquisition finished (x0)
22-Oct-18 16:45:43#R4-54 :collector :acquisition NOT running
22-Oct-18 16:45:43#R4-54 :read_meb :found trig type 15 == stop acquisition
22-Oct-18 16:45:52#R4-54 :util :start acquisition
22-Oct-18 16:45:52+R4-54 :util :start acquisition finished (x0)
22-Oct-18 16:45:52#R4-54 :read_meb :found trig type 14 == start acquisition
22-Oct-18 16:45:53#R4-54 :collector :acquisition running
22-Oct-18 16:46:36#R4-54 :transport :type event -v 10
22-Oct-18 16:46:36+R4-54 :transport :type event finished (x0)
22-Oct-18 16:52:38#R4-54 :stream_serv:140.181.81.77 connected
22-Oct-18 16:55:03!R4-54 :stream_serv:received CLOSE, client disconnected!
22-Oct-18 16:55:25#R4-54 :msg_log :Message logger running
22-Oct-18 16:58:29+R4-54 :dispatch :>>> Start procedure "startup.scom" break mode 1
22-Oct-18 16:58:29#R4-54 :dispatch :start task m_util
22-Oct-18 16:58:30#R4-54 :util :task m_util started
22-Oct-18 16:58:30#R4-54 :util :load setup setup.usf
22-Oct-18 16:58:30#R4-54 :util :setup file setup.usf successfully loaded
22-Oct-18 16:58:30+R4-54 :util :load setup finished (x0)
22-Oct-18 16:58:30#R4-54 :util :set trig_mod
22-Oct-18 16:58:30#R4-54 :util :trigger module set up as MASTER, crate nr: 0
22-Oct-18 16:58:30+R4-54 :util :set trig_mod finished (x0)
22-Oct-18 16:58:30#R4-54 :util :enable irq
22-Oct-18 16:58:30+R4-54 :util :enable irq finished (x0)
22-Oct-18 16:58:30#R4-54 :dispatch :start task m_read_meb "./m_read_meb"
22-Oct-18 16:58:30#R4-54 :dispatch :start task m_collector
22-Oct-18 16:58:30#R4-54 :dispatch :start task m_transport
22-Oct-18 16:58:30#R4-54 :dispatch :start task m_stream_serv
22-Oct-18 16:58:30#R4-54 :dispatch :start task m_daq_rate
22-Oct-18 16:58:34!R4-54 :read_meb :Pipe type 0: smem_create for base 0x8000000
22-Oct-18 16:58:35!R4-54 :collector :Pipe type 0: smem_create for base 0x8000000
22-Oct-18 16:58:37#R4-54 :read_meb :task m_read_meb started
22-Oct-18 16:58:37#R4-54 :collector :task m_collector started
22-Oct-18 16:58:37#R4-54 :stream_serv:task m_stream_serv started
22-Oct-18 16:58:37#R4-54 :transport :task m_transport started
22-Oct-18 16:58:37#R4-54 :transport :enable tcp
22-Oct-18 16:58:37#R4-54 :transport :starting server in inclusive mode
22-Oct-18 16:58:37+R4-54 :transport :enable tcp finished (x0)
22-Oct-18 16:58:37+R4-54 :dispatch :>>> End procedure "startup.scom"
22-Oct-18 16:58:37#R4-54 :transport :waiting for client (port 6000)
22-Oct-18 16:59:50#R4-54 :stream_serv:140.181.81.77 connected
22-Oct-18 17:00:03#R4-54 :util :start acquisition
22-Oct-18 17:00:03+R4-54 :util :start acquisition finished (x0)
22-Oct-18 17:00:03#R4-54 :read_meb :found trig type 14 == start acquisition
22-Oct-18 17:00:03#R4-54 :collector :acquisition running
22-Oct-18 17:01:26!R4-54 :dispatch :Key "events" > invalid value "v"!
22-Oct-18 17:01:26!R4-54 :dispatch :Command not executed
22-Oct-18 17:01:26!R4-54 :dispatch :Command "type event v" finished with argument error (20)
22-Oct-18 17:01:29#R4-54 :transport :type event -v
22-Oct-18 17:01:29+R4-54 :transport :type event finished (x0)
22-Oct-18 17:02:29#R4-54 :transport :type event -v
22-Oct-18 17:02:29+R4-54 :transport :type event finished (x0)
23-Oct-18 10:47:03#R4-54 :transport :type event -v 5
23-Oct-18 10:47:03+R4-54 :transport :type event finished (x0)
23-Oct-18 14:07:59!R4-54 :stream_serv:NODATA, client disconnected!
23-Oct-18 14:37:32#R4-54 :msg_log :Message logger running
23-Oct-18 14:38:37!R4-54 :dispatch :>>> Procedure "startup.scom" not found!
23-Oct-18 14:38:43#R4-54 :util :data acquisition was already started
23-Oct-18 14:39:03#R4-54 :util :show acquisition
23-Oct-18 14:39:04+R4-54 :util :show acquisition finished (x0)
23-Oct-18 14:41:16!R4-54 :dispatch :Command not found: "-R4-54"!
23-Oct-18 14:41:23!R4-54 :dispatch :Command key missing: type
23-Oct-18 14:41:55#R4-54 :transport :type event -v
23-Oct-18 14:42:11#R4-54 :transport :type event -v 3
23-Oct-18 14:59:29#R4-54 :util :start acquisition
23-Oct-18 14:59:29+R4-54 :util :start acquisition finished (x0)
23-Oct-18 14:59:45#R4-54 :transport :type event -v
23-Oct-18 15:00:39#R4-54 :util :show acquisition
23-Oct-18 15:00:40+R4-54 :util :show acquisition finished (x0)
23-Oct-18 15:49:53#R4-54 :util :show acquisition
23-Oct-18 15:49:54+R4-54 :util :show acquisition finished (x0)
23-Oct-18 15:50:15+R4-54 :transport :type event finished (x0)
23-Oct-18 15:55:44!R4-54 :stream_serv:received CLOSE, client disconnected!
23-Oct-18 16:11:45!R4-54 :stream_serv:received CLOSE, client disconnected!
23-Oct-18 16:17:30#R4-54 :stream_serv:show stream_serv
23-Oct-18 16:17:30#R4-54 :stream_serv:Streams: total 7622, sent 3811 (50.0%), free 8.
23-Oct-18 16:17:58#R4-54 :stream_serv:set stream_serv 1
23-Oct-18 16:17:58+R4-54 :stream_serv:set stream_serv finished (x0)
23-Oct-18 16:18:04#R4-54 :stream_serv:Client (asynch), keep none, scale=1
23-Oct-18 16:18:04+R4-54 :stream_serv:show stream_serv finished (x0)
23-Oct-18 16:18:15#R4-54 :stream_serv:Client (asynch), keep none, scale=1
23-Oct-18 16:18:15+R4-54 :stream_serv:show stream_serv finished (x0)
23-Oct-18 16:19:10#R4-54 :stream_serv:Client (asynch), keep none, scale=1
23-Oct-18 16:19:10+R4-54 :stream_serv:show stream_serv finished (x0)
23-Oct-18 16:19:14#R4-54 :stream_serv:Client (asynch), keep none, scale=1
23-Oct-18 16:19:14+R4-54 :stream_serv:show stream_serv finished (x0)
23-Oct-18 16:19:22#R4-54 :stream_serv:Client (asynch), keep none, scale=1
23-Oct-18 16:19:22+R4-54 :stream_serv:show stream_serv finished (x0)
23-Oct-18 16:19:25#R4-54 :stream_serv:Client (asynch), keep none, scale=1
23-Oct-18 16:19:25+R4-54 :stream_serv:show stream_serv finished (x0)
23-Oct-18 16:19:34!R4-54 :dispatch :value 0
23-Oct-18 16:19:34!R4-54 :dispatch :Command not executed
23-Oct-18 16:19:41#R4-54 :stream_serv:set stream_serv 1
23-Oct-18 16:19:41+R4-54 :stream_serv:set stream_serv finished (x0)
23-Oct-18 16:20:03#R4-54 :stream_serv:Client (asynch), keep none, scale=1
23-Oct-18 16:20:03+R4-54 :stream_serv:show stream_serv finished (x0)
23-Oct-18 16:20:08#R4-54 :stream_serv:Client (asynch), keep none, scale=1
23-Oct-18 16:20:08+R4-54 :stream_serv:show stream_serv finished (x0)
23-Oct-18 16:20:11#R4-54 :stream_serv:Client (asynch), keep none, scale=1
23-Oct-18 16:20:11+R4-54 :stream_serv:show stream_serv finished (x0)
23-Oct-18 16:24:14#R4-54 :stream_serv:Client (asynch), keep none, scale=1
23-Oct-18 16:24:14+R4-54 :stream_serv:show stream_serv finished (x0)
23-Oct-18 16:26:57#R4-54 :stream_serv:140.181.81.77 connected
24-Oct-18 15:05:22#R4-54 :util :stop acquisition
24-Oct-18 15:05:24#R4-54 :collector :acquisition NOT running
26-Oct-18 14:38:49#R4-55 :msg_log :Message logger running
26-Oct-18 14:38:59+R4-55 :dispatch :>>> Start procedure "startup.scom" break mode 1
26-Oct-18 14:38:59#R4-55 :dispatch :start task m_util
26-Oct-18 14:39:02#R4-55 :util :task m_util started
26-Oct-18 14:39:02#R4-55 :util :load setup setup.usf
26-Oct-18 14:39:02#R4-55 :util :setup file setup.usf successfully loaded
26-Oct-18 14:39:02+R4-55 :util :load setup finished (x0)
26-Oct-18 14:39:02#R4-55 :util :set trig_mod
26-Oct-18 14:39:02#R4-55 :util :trigger module set up as MASTER, crate nr: 0
26-Oct-18 14:39:02+R4-55 :util :set trig_mod finished (x0)
26-Oct-18 14:39:02#R4-55 :util :enable irq
26-Oct-18 14:39:02+R4-55 :util :enable irq finished (x0)
26-Oct-18 14:39:02#R4-55 :dispatch :start task m_read_meb "./m_read_meb"
26-Oct-18 14:39:02#R4-55 :dispatch :start task m_collector
26-Oct-18 14:39:02#R4-55 :dispatch :start task m_transport
26-Oct-18 14:39:02#R4-55 :dispatch :start task m_stream_serv
26-Oct-18 14:39:02#R4-55 :dispatch :start task m_daq_rate
26-Oct-18 14:39:07!R4-55 :read_meb :Pipe type 0: smem_create for base 0x8000000
26-Oct-18 14:39:07!R4-55 :collector :Pipe type 0: smem_create for base 0x8000000
26-Oct-18 14:39:08#R4-55 :read_meb :task m_read_meb started
26-Oct-18 14:39:09#R4-55 :stream_serv:task m_stream_serv started
26-Oct-18 14:39:09#R4-55 :collector :task m_collector started
26-Oct-18 14:39:09#R4-55 :transport :task m_transport started
26-Oct-18 14:39:09#R4-55 :transport :enable tcp
26-Oct-18 14:39:09#R4-55 :transport :starting server in inclusive mode
26-Oct-18 14:39:09+R4-55 :transport :enable tcp finished (x0)
26-Oct-18 14:39:09+R4-55 :dispatch :>>> End procedure "startup.scom"
26-Oct-18 14:39:09#R4-55 :transport :waiting for client (port 6000)
26-Oct-18 14:39:23#R4-55 :util :start acquisition
26-Oct-18 14:39:23+R4-55 :util :start acquisition finished (x0)
26-Oct-18 14:39:23#R4-55 :read_meb :found trig type 14 == start acquisition
26-Oct-18 14:39:24#R4-55 :collector :acquisition running
26-Oct-18 14:39:30#R4-55 :transport :type event -v 4
26-Oct-18 14:39:30+R4-55 :transport :type event finished (x0)
26-Oct-18 14:39:33#R4-55 :transport :type event -v 4
26-Oct-18 14:39:33+R4-55 :transport :type event finished (x0)
26-Oct-18 14:49:28#R4-55 :stream_serv:140.181.81.77 connected
26-Oct-18 14:56:07!R4-55 :stream_serv:received CLOSE, client disconnected!
26-Oct-18 14:58:24#R4-55 :stream_serv:140.181.81.77 connected
26-Oct-18 15:11:09!R4-55 :stream_serv:received CLOSE, client disconnected!
26-Oct-18 15:11:54#R4-55 :stream_serv:140.181.81.77 connected
26-Oct-18 15:13:41!R4-55 :stream_serv:received CLOSE, client disconnected!
26-Oct-18 15:46:38#R4-55 :util :stop acquisition
26-Oct-18 15:46:40+R4-55 :util :stop acquisition finished (x0)
26-Oct-18 15:46:40#R4-55 :collector :acquisition NOT running
26-Oct-18 15:46:40#R4-55 :read_meb :found trig type 15 == stop acquisition
28-Nov-18 10:43:17#R4L-60 :msg_log :Message logger running
28-Nov-18 10:43:22+R4L-60 :dispatch :>>> Start procedure "startup.scom" break mode 1
28-Nov-18 10:43:22#R4L-60 :dispatch :start task m_util
28-Nov-18 10:43:22#R4L-60 :util :task m_util started
28-Nov-18 10:43:22#R4L-60 :util :load setup setup.usf
28-Nov-18 10:43:22#R4L-60 :util :setup file setup.usf successfully loaded
28-Nov-18 10:43:22+R4L-60 :util :load setup finished (x0)
28-Nov-18 10:43:22#R4L-60 :util :set trig_mod
28-Nov-18 10:43:22#R4L-60 :util :trigger module set up as MASTER, crate nr: 0
28-Nov-18 10:43:22+R4L-60 :util :set trig_mod finished (x0)
28-Nov-18 10:43:22#R4L-60 :util :enable irq
28-Nov-18 10:43:22+R4L-60 :util :enable irq finished (x0)
28-Nov-18 10:43:22#R4L-60 :dispatch :start task m_read_meb "./m_read_meb"
28-Nov-18 10:43:22#R4L-60 :dispatch :start task m_collector
28-Nov-18 10:43:22#R4L-60 :dispatch :start task m_transport
28-Nov-18 10:43:22#R4L-60 :dispatch :start task m_stream_serv
28-Nov-18 10:43:22#R4L-60 :dispatch :start task m_daq_rate
28-Nov-18 10:43:22!R4L-60 :read_meb :Pipe type 0: smem_create for base 0x8000000
28-Nov-18 10:43:22#R4L-60 :read_meb :failed to open /dev/mem for mbs_se_pipe, [7m[5mexiting..[0m
28-Nov-18 10:43:23!R4L-60 :collector :Pipe type 0: smem_create for base 0x8000000
28-Nov-18 10:43:23#R4L-60 :collector :failed to open /dev/mem for mbs_se_pipe, [7m[5mexiting..[0m
28-Nov-18 10:43:23#R4L-60 :transport :task m_transport started
28-Nov-18 10:43:23#R4L-60 :transport :enable tcp
28-Nov-18 10:43:23#R4L-60 :transport :starting server in inclusive mode
28-Nov-18 10:43:23+R4L-60 :transport :enable tcp finished (x0)
28-Nov-18 10:43:23+R4L-60 :dispatch :>>> End procedure "startup.scom"
28-Nov-18 10:43:23#R4L-60 :transport :waiting for client (port 6000)
28-Nov-18 10:43:23#R4L-60 :stream_serv:task m_stream_serv started
28-Nov-18 10:48:22#R4L-60 :msg_log :Message logger running
28-Nov-18 10:48:25+R4L-60 :dispatch :>>> Start procedure "startup.scom" break mode 1
28-Nov-18 10:48:25#R4L-60 :dispatch :start task m_util
28-Nov-18 10:48:25#R4L-60 :util :task m_util started
28-Nov-18 10:48:25#R4L-60 :util :load setup setup.usf
28-Nov-18 10:48:25#R4L-60 :util :setup file setup.usf successfully loaded
28-Nov-18 10:48:25+R4L-60 :util :load setup finished (x0)
28-Nov-18 10:48:25#R4L-60 :util :set trig_mod
28-Nov-18 10:48:25#R4L-60 :util :trigger module set up as MASTER, crate nr: 0
28-Nov-18 10:48:25+R4L-60 :util :set trig_mod finished (x0)
28-Nov-18 10:48:25#R4L-60 :util :enable irq
28-Nov-18 10:48:25+R4L-60 :util :enable irq finished (x0)
28-Nov-18 10:48:25#R4L-60 :dispatch :start task m_read_meb "./m_read_meb"
28-Nov-18 10:48:25#R4L-60 :dispatch :start task m_collector
28-Nov-18 10:48:25#R4L-60 :dispatch :start task m_transport
28-Nov-18 10:48:25#R4L-60 :dispatch :start task m_stream_serv
28-Nov-18 10:48:25#R4L-60 :dispatch :start task m_daq_rate
28-Nov-18 10:48:25!R4L-60 :collector :Pipe type 0: smem_create for base 0x8000000
28-Nov-18 10:48:25#R4L-60 :collector :failed to open /dev/mem for mbs_se_pipe, [7m[5mexiting..[0m
28-Nov-18 10:48:25!R4L-60 :read_meb :Pipe type 0: smem_create for base 0x8000000
28-Nov-18 10:48:25#R4L-60 :read_meb :failed to open /dev/mem for mbs_se_pipe, [7m[5mexiting..[0m
28-Nov-18 10:48:25#R4L-60 :transport :task m_transport started
28-Nov-18 10:48:25#R4L-60 :transport :enable tcp
28-Nov-18 10:48:25#R4L-60 :transport :starting server in inclusive mode
28-Nov-18 10:48:25+R4L-60 :transport :enable tcp finished (x0)
28-Nov-18 10:48:25+R4L-60 :dispatch :>>> End procedure "startup.scom"
28-Nov-18 10:48:25#R4L-60 :transport :waiting for client (port 6000)
28-Nov-18 10:48:25#R4L-60 :stream_serv:task m_stream_serv started
28-Nov-18 10:48:41#R4L-60 :msg_log :exiting.. SIGTERM (kill) signal
28-Nov-18 11:01:34#R4L-60 :msg_log :Message logger running
28-Nov-18 11:01:37+R4L-60 :dispatch :>>> Start procedure "startup.scom" break mode 1
28-Nov-18 11:01:37#R4L-60 :dispatch :start task m_util
28-Nov-18 11:01:37#R4L-60 :util :task m_util started
28-Nov-18 11:01:37#R4L-60 :util :load setup setup.usf
28-Nov-18 11:01:37#R4L-60 :util :setup file setup.usf successfully loaded
28-Nov-18 11:01:37+R4L-60 :util :load setup finished (x0)
28-Nov-18 11:01:37#R4L-60 :util :set trig_mod
28-Nov-18 11:01:37#R4L-60 :util :trigger module set up as MASTER, crate nr: 0
28-Nov-18 11:01:37+R4L-60 :util :set trig_mod finished (x0)
28-Nov-18 11:01:37#R4L-60 :util :enable irq
28-Nov-18 11:01:37+R4L-60 :util :enable irq finished (x0)
28-Nov-18 11:01:37#R4L-60 :dispatch :start task m_read_meb "./m_read_meb"
28-Nov-18 11:01:37#R4L-60 :dispatch :start task m_collector
28-Nov-18 11:01:37#R4L-60 :dispatch :start task m_transport
28-Nov-18 11:01:37#R4L-60 :dispatch :start task m_stream_serv
28-Nov-18 11:01:37#R4L-60 :dispatch :start task m_daq_rate
28-Nov-18 11:01:38!R4L-60 :collector :Pipe type 0: smem_create for base 0x8000000
28-Nov-18 11:01:38#R4L-60 :collector :failed to open /dev/mem for mbs_se_pipe, [7m[5mexiting..[0m
28-Nov-18 11:01:38!R4L-60 :read_meb :Pipe type 0: smem_create for base 0x8000000
28-Nov-18 11:01:38#R4L-60 :read_meb :failed to open /dev/mem for mbs_se_pipe, [7m[5mexiting..[0m
28-Nov-18 11:01:38#R4L-60 :transport :task m_transport started
28-Nov-18 11:01:38#R4L-60 :transport :enable tcp
28-Nov-18 11:01:38#R4L-60 :transport :starting server in inclusive mode
28-Nov-18 11:01:38+R4L-60 :transport :enable tcp finished (x0)
28-Nov-18 11:01:38+R4L-60 :dispatch :>>> End procedure "startup.scom"
28-Nov-18 11:01:38#R4L-60 :transport :waiting for client (port 6000)
28-Nov-18 11:01:38#R4L-60 :stream_serv:task m_stream_serv started
28-Nov-18 11:01:55!R4L-60 :dispatch :Command not found: "ls"!
28-Nov-18 11:01:57!R4L-60 :dispatch :Command not found: "cd .."!
28-Nov-18 11:44:45#R4L-60 :msg_log :Message logger running
28-Nov-18 11:44:51+R4L-60 :dispatch :>>> Start procedure "startup.scom" break mode 1
28-Nov-18 11:44:51#R4L-60 :dispatch :start task m_util
28-Nov-18 11:44:51#R4L-60 :util :task m_util started
28-Nov-18 11:44:51#R4L-60 :util :load setup setup.usf
28-Nov-18 11:44:51#R4L-60 :util :setup file setup.usf successfully loaded
28-Nov-18 11:44:51+R4L-60 :util :load setup finished (x0)
28-Nov-18 11:44:51#R4L-60 :util :set trig_mod
28-Nov-18 11:44:51#R4L-60 :util :trigger module set up as MASTER, crate nr: 0
28-Nov-18 11:44:51+R4L-60 :util :set trig_mod finished (x0)
28-Nov-18 11:44:51#R4L-60 :util :enable irq
28-Nov-18 11:44:51+R4L-60 :util :enable irq finished (x0)
28-Nov-18 11:44:51#R4L-60 :dispatch :start task m_read_meb "./m_read_meb"
28-Nov-18 11:44:51#R4L-60 :dispatch :start task m_collector
28-Nov-18 11:44:51#R4L-60 :dispatch :start task m_transport
28-Nov-18 11:44:51#R4L-60 :dispatch :start task m_stream_serv
28-Nov-18 11:44:51#R4L-60 :dispatch :start task m_daq_rate
... 21082 more lines ...
|