Fix jf softwre trigger and tests with real jungfrau detector (#673)

* jungfrau: software triggers do not work, fixed

* eiger test: get highvoltage must be read twice to get the real voltage
This commit is contained in:
Dhanya Thattil
2023-02-20 15:22:46 +01:00
committed by GitHub
parent fe281bd1b1
commit b200a2efc1
10 changed files with 35 additions and 17 deletions

View File

@ -2798,6 +2798,7 @@ int softwareTrigger(int block) {
LOG(logINFO, ("Sending Software Trigger\n"));
bus_w(CONTROL_REG, bus_r(CONTROL_REG) | CONTROL_SOFTWARE_TRIGGER_MSK);
bus_w(CONTROL_REG, bus_r(CONTROL_REG) & ~CONTROL_SOFTWARE_TRIGGER_MSK);
#ifndef VIRTUAL
// block till frame is sent out