GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » NUSTAR » NUSTAR PRESPEC » prespec code (prespec code messages)
Re: prespec code [message #17294 is a reply to message #17292] Tue, 16 September 2014 11:25 Go to previous messageGo to previous message
miree is currently offline  miree
Messages: 71
Registered: June 2014
continuous participant
From: *ikp.physik.tu-darmstadt.de
Hi Riccardo,

this is no problem for the sorting. It is just polluting the terminal with text.

If you want to get rid of it, you have to remove 2 lines (line 2070 and 1001 in the file
eventapiV50/f_evt.c

2069 l_temp=read(ps_chan->l_channel_no,pc_temp, ps_chan->l_io_buf_size);
2070 // printf("Read buffer %d\n",l_temp);
2071 if(l_temp == 0) return(GETEVT__NOMORE);

1000 if(ps_chan->ps_bufhe->l_dlen <= MAX__DLEN)l_used=ps_chan->ps_bufhe->i_used;
1001 // printf("Buffer: %d words\n",l_used);
1002 ps_chan->l_buf_posi = ps_chan->l_io_buf_posi + sizeof(s_bufhe);

Then recompile the eventapi and recompile prespec.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Lycca mh-TDC scintillators analysis
Next Topic: PSA-hit Energy
Goto Forum:
  


Current Time: Sat Apr 20 06:06:57 CEST 2024

Total time taken to generate the page: 0.01123 seconds