Skip to content

Commit

Permalink
This commit fixes the issue #336
Browse files Browse the repository at this point in the history
A delay of 100ms has been added between the generation of the stop pulse and the resetCore function call. This should give enough time to the detector to readout and streamout the ongoing frame before the internal logic is reset (even after the transmission is delayed with txndelay_frame).

Conflicts:
	slsDetectorServers/jungfrauDetectorServer/bin/jungfrauDetectorServerv6.1.0
  • Loading branch information
lopez-c authored and thattil committed Jan 4, 2022
1 parent 0667068 commit 4fe0673
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion serverBin/jungfrauDetectorServerv6.1.0

This file was deleted.

1 change: 1 addition & 0 deletions serverBin/jungfrauDetectorServerv6.1.1
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2646,6 +2646,7 @@ int stopStateMachine() {

LOG(logINFO, ("Status Register: %08x\n", bus_r(STATUS_REG)));

usleep(100 * 1000);
resetCore();
return OK;
}
Expand Down

0 comments on commit 4fe0673

Please sign in to comment.