Skip to content
Snippets Groups Projects
Commit e1e3d634 authored by vargheseg's avatar vargheseg
Browse files

Merge branch 'master' into wip/killenb-45-support_for_IFFF

parents d9179cf9 1c1a92a2
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ include(cmake/add_dependency.cmake)
add_dependency(ChimeraTK-ControlSystemAdapter 01.05 REQUIRED)
add_dependency(doocs-server-test-helper 01.03 REQUIRED)
add_dependency(DOOCS 19.05.0 COMPONENTS server REQUIRED)
add_dependency(DOOCS 20.03.0 COMPONENTS server REQUIRED)
FIND_PACKAGE(Boost COMPONENTS thread REQUIRED)
......
......@@ -26,9 +26,10 @@
SET(ConfigGenerator_FOUND 0)
FIND_PATH(ConfigGenerator_DIR ConfigGeneratorConfigVersion.cmake
${CMAKE_CURRENT_LIST_DIR}
/usr/share/llrfConfigGenerator*
file(GLOB ConfigGenerator_SEARCH_PATHS ${CMAKE_CURRENT_LIST_DIR} "/usr/share/ConfigGenerator*")
FIND_PATH(ConfigGenerator_DIR
NAMES ConfigGeneratorConfigVersion.cmake
PATHS ${ConfigGenerator_SEARCH_PATHS}
)
include(${ConfigGenerator_DIR}/ConfigGeneratorConfigVersion.cmake)
......
......@@ -73,7 +73,7 @@ namespace ChimeraTK {
void setMacroPulseNumberSource(boost::shared_ptr<ChimeraTK::NDRegisterAccessor<int64_t>> macroPulseNumberSource);
void write(std::fstream& fptr) override;
void write(std::ostream& s) override;
boost::shared_ptr<ChimeraTK::NDRegisterAccessor<float>> _processArray;
boost::shared_ptr<ChimeraTK::NDRegisterAccessor<float>> _startAccessor;
......
......@@ -80,7 +80,7 @@ namespace ChimeraTK {
}
}
void DoocsSpectrum::write(std::fstream& fptr) {
void DoocsSpectrum::write(std::ostream& s) {
// DOOCS is normally keeping the location lock until everything is written for that location: all D_spectrum and all
// other properties. This can take too long (like seconds), which leads to noticable freezes of the UI. As a
// work-around we release the lock here, wait some time and acquire the lock again. Since this happens in a separate
......@@ -89,7 +89,7 @@ namespace ChimeraTK {
usleep(1000);
efp_->lock();
if(!modified) return;
D_spectrum::write(fptr);
D_spectrum::write(s);
}
void DoocsSpectrum::updateDoocsBuffer(TransferElementID transferElementId) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment