mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-21 17:44:36 +02:00
Add udp port to config file
This commit is contained in:
@@ -16,7 +16,7 @@ namespace BufferUtils
|
||||
const std::string GAIN_FILENAME;
|
||||
const std::string DETECTOR_NAME;
|
||||
const int n_modules;
|
||||
const std::string pulse_address;
|
||||
const int start_udp_port;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -144,6 +144,6 @@ BufferUtils::DetectorConfig BufferUtils::read_json_config(
|
||||
config_parameters["gain_file"].GetString(),
|
||||
config_parameters["detector_name"].GetString(),
|
||||
config_parameters["n_modules"].GetInt(),
|
||||
"tcp://127.0.0.1:51234"
|
||||
config_parameters["start_udp_port"].GetInt()
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user