HOME ESR EXPERIMENTS LABS etc
NucAR lab laser_lab Fritz-Bosch-Lab X-Ray Lab target Beavertail
  NucAR lab  Not logged in ELOG logo
Message ID: 12     Entry time: Fri Feb 5 14:58:21 2021
Author: Jan 
Category: DAQ 
Subject: UDP rates 
short summary of how to adapt the UDP reader source code.

With the current code only one daq node can be read/printed at a time.
Use different implementations of udp_reader to get access to the LMU_SCALERS from different daq nodes.
Only one generic instance of udp_repeater is needed for this.


In udp_reader.c there are the following important parameters:

- DAQ_node alias for ip-addresses [around line 65]:
#define R4L_58 ADDR(10, 99, 2, 39)
add new alias for new daq node

- names of channels:
c_lmu_label[]
this is a list for all 16 ECL_INs (left column) and 16 TPATs (right column)

- layout of terminal output:
draw_header()
show_lmu()
show_lmu_line()
ELOG V3.1.5-fc6679b