Closed MarkRivers closed 3 years ago
If I disable boards 1-7 then the mapping works OK on board 0. If I enable any board other than board 0 then it does not work, the other board only gets 1 spectrum at the very end.
This is the output with only boards 0 and 1 enabled:
2021/04/15 17:02:04.221 Dante::startAcquiring calling start_map(), msTime=100, mappingPoints=10, numChannels=2048
2021/04/15 17:02:04.333 Dante::pollMCAMappingMode board=0, numSpectra=0
2021/04/15 17:02:04.333 Dante::pollMCAMappingMode board=1, numSpectra=0
2021/04/15 17:02:04.433 Dante::pollMCAMappingMode board=0, numSpectra=0
2021/04/15 17:02:04.433 Dante::pollMCAMappingMode board=1, numSpectra=0
2021/04/15 17:02:04.533 Dante::pollMCAMappingMode board=0, numSpectra=0
2021/04/15 17:02:04.533 Dante::pollMCAMappingMode board=1, numSpectra=0
2021/04/15 17:02:04.633 Dante::pollMCAMappingMode board=0, numSpectra=1
2021/04/15 17:02:04.633 Dante::pollMCAMappingMode board=1, numSpectra=0
2021/04/15 17:02:04.733 Dante::pollMCAMappingMode board=0, numSpectra=2
2021/04/15 17:02:04.733 Dante::pollMCAMappingMode board=1, numSpectra=0
2021/04/15 17:02:04.833 Dante::pollMCAMappingMode board=0, numSpectra=3
2021/04/15 17:02:04.833 Dante::pollMCAMappingMode board=1, numSpectra=0
2021/04/15 17:02:04.933 Dante::pollMCAMappingMode board=0, numSpectra=4
2021/04/15 17:02:04.934 Dante::pollMCAMappingMode board=1, numSpectra=0
2021/04/15 17:02:05.034 Dante::pollMCAMappingMode board=0, numSpectra=5
2021/04/15 17:02:05.034 Dante::pollMCAMappingMode board=1, numSpectra=0
2021/04/15 17:02:05.134 Dante::pollMCAMappingMode board=0, numSpectra=6
2021/04/15 17:02:05.134 Dante::pollMCAMappingMode board=1, numSpectra=0
2021/04/15 17:02:05.234 Dante::pollMCAMappingMode board=0, numSpectra=8
2021/04/15 17:02:05.234 Dante::pollMCAMappingMode board=1, numSpectra=0
2021/04/15 17:02:05.334 Dante::pollMCAMappingMode board=0, numSpectra=10
2021/04/15 17:02:05.334 Dante::pollMCAMappingMode board=1, numSpectra=1
Note that this problem looks very similar to the problem with the HR firmware 4.0.9. The difference is that the HR firmware shows the problem in the test programs as well. The LE firmware works with the test programs, but fails with the EPICS driver.
I added a counter in "dante.cpp" in order to monitor the number of the acquired map point per board. It prints in ASYN_TRACE_WARNING. I cannot reproduce your problem since every time I start a map with a designed number of points, each boards seems to give back that exact number of points, not just the master as in your case. I did many tries, varying both the number of points and the time per point but seems to work correctly. I have seen that the Poll time MUST BE always greater than the map per point set.
This is the output for a 100 points, 100ms and Poll time of 2s:
2021/04/16 10:18:24.413 Dante::startAcquiring calling start_map(), msTime=100, mappingPoints=100, numChannels=4096 2021/04/16 10:18:24.529 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0 2021/04/16 10:18:24.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=0, totSpectra=0 2021/04/16 10:18:24.529 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0 2021/04/16 10:18:24.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=1, totSpectra=0 2021/04/16 10:18:24.529 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0 2021/04/16 10:18:24.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=2, totSpectra=0 2021/04/16 10:18:24.529 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0 2021/04/16 10:18:24.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=3, totSpectra=0 2021/04/16 10:18:24.529 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0 2021/04/16 10:18:24.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=4, totSpectra=0 2021/04/16 10:18:24.529 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0 2021/04/16 10:18:24.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=5, totSpectra=0 2021/04/16 10:18:24.529 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0 2021/04/16 10:18:24.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=6, totSpectra=0 2021/04/16 10:18:24.529 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0 2021/04/16 10:18:24.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=7, totSpectra=0 2021/04/16 10:18:26.529 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=19 2021/04/16 10:18:26.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=0, totSpectra=19 2021/04/16 10:18:26.529 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=19 2021/04/16 10:18:26.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=1, totSpectra=19 2021/04/16 10:18:26.529 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=19 2021/04/16 10:18:26.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=2, totSpectra=19 2021/04/16 10:18:26.529 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=19 2021/04/16 10:18:26.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=3, totSpectra=19 2021/04/16 10:18:26.529 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=19 2021/04/16 10:18:26.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=4, totSpectra=19 2021/04/16 10:18:26.529 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=19 2021/04/16 10:18:26.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=5, totSpectra=19 2021/04/16 10:18:26.529 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=19 2021/04/16 10:18:26.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=6, totSpectra=19 2021/04/16 10:18:26.529 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=19 2021/04/16 10:18:26.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=7, totSpectra=19 2021/04/16 10:18:28.529 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=20 2021/04/16 10:18:28.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=0, totSpectra=39 2021/04/16 10:18:28.529 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=20 2021/04/16 10:18:28.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=1, totSpectra=39 2021/04/16 10:18:28.529 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=20 2021/04/16 10:18:28.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=2, totSpectra=39 2021/04/16 10:18:28.529 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=20 2021/04/16 10:18:28.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=3, totSpectra=39 2021/04/16 10:18:28.529 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=20 2021/04/16 10:18:28.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=4, totSpectra=39 2021/04/16 10:18:28.529 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=20 2021/04/16 10:18:28.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=5, totSpectra=39 2021/04/16 10:18:28.529 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=20 2021/04/16 10:18:28.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=6, totSpectra=39 2021/04/16 10:18:28.529 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=20 2021/04/16 10:18:28.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=7, totSpectra=39 2021/04/16 10:18:30.529 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=20 2021/04/16 10:18:30.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=0, totSpectra=59 2021/04/16 10:18:30.529 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=20 2021/04/16 10:18:30.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=1, totSpectra=59 2021/04/16 10:18:30.529 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=20 2021/04/16 10:18:30.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=2, totSpectra=59 2021/04/16 10:18:30.529 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=20 2021/04/16 10:18:30.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=3, totSpectra=59 2021/04/16 10:18:30.529 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=20 2021/04/16 10:18:30.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=4, totSpectra=59 2021/04/16 10:18:30.529 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=20 2021/04/16 10:18:30.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=5, totSpectra=59 2021/04/16 10:18:30.529 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=20 2021/04/16 10:18:30.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=6, totSpectra=59 2021/04/16 10:18:30.530 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=20 2021/04/16 10:18:30.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=7, totSpectra=59 2021/04/16 10:18:32.529 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=20 2021/04/16 10:18:32.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=0, totSpectra=79 2021/04/16 10:18:32.529 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=20 2021/04/16 10:18:32.529 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=1, totSpectra=79 2021/04/16 10:18:32.529 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=20 2021/04/16 10:18:32.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=2, totSpectra=79 2021/04/16 10:18:32.530 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=20 2021/04/16 10:18:32.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=3, totSpectra=79 2021/04/16 10:18:32.530 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=20 2021/04/16 10:18:32.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=4, totSpectra=79 2021/04/16 10:18:32.530 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=20 2021/04/16 10:18:32.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=5, totSpectra=79 2021/04/16 10:18:32.530 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=20 2021/04/16 10:18:32.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=6, totSpectra=79 2021/04/16 10:18:32.530 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=20 2021/04/16 10:18:32.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=7, totSpectra=79 2021/04/16 10:18:34.530 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=20 2021/04/16 10:18:34.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=0, totSpectra=99 2021/04/16 10:18:34.530 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=20 2021/04/16 10:18:34.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=1, totSpectra=99 2021/04/16 10:18:34.530 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=20 2021/04/16 10:18:34.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=2, totSpectra=99 2021/04/16 10:18:34.530 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=20 2021/04/16 10:18:34.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=3, totSpectra=99 2021/04/16 10:18:34.530 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=20 2021/04/16 10:18:34.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=4, totSpectra=99 2021/04/16 10:18:34.530 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=20 2021/04/16 10:18:34.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=5, totSpectra=99 2021/04/16 10:18:34.530 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=20 2021/04/16 10:18:34.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=6, totSpectra=99 2021/04/16 10:18:34.530 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=20 2021/04/16 10:18:34.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=7, totSpectra=99 epics> 2021/04/16 10:18:36.530 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=1 2021/04/16 10:18:36.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=0, totSpectra=100 2021/04/16 10:18:36.530 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=1 2021/04/16 10:18:36.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=1, totSpectra=100 2021/04/16 10:18:36.530 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=1 2021/04/16 10:18:36.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=2, totSpectra=100 2021/04/16 10:18:36.530 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=1 2021/04/16 10:18:36.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=3, totSpectra=100 2021/04/16 10:18:36.530 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=1 2021/04/16 10:18:36.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=4, totSpectra=100 2021/04/16 10:18:36.530 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=1 2021/04/16 10:18:36.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=5, totSpectra=100 2021/04/16 10:18:36.530 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=1 2021/04/16 10:18:36.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=6, totSpectra=100 2021/04/16 10:18:36.530 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=1 2021/04/16 10:18:36.530 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=7, totSpectra=100
I have seen that the Poll time MUST BE always greater than the map per point set.
That is not true when I run the test_mapping.cpp program. Here is the result when I run test_mapping with 200 ms acquisition time, 20 ms poll time, and 20 points. On most of the poll cycles at least one of the boards does not have any spectra to read, which is expected. At the end all boards have returned 20 spectra.
I downloaded your update to dante.cpp that contains the additional debugging.
I used the same settings as you.
This is the output for a 100 points, 100ms and Poll time of 2s.
It does not work, only board 0 is giving the correct number of spectra.
2021/04/16 07:12:43.454 Dante::startAcquiring calling start_map(), msTime=100, mappingPoints=100, numChannels=4096
2021/04/16 07:12:43.566 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 07:12:43.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=0, totSpectra=0
2021/04/16 07:12:43.566 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 07:12:43.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=1, totSpectra=0
2021/04/16 07:12:43.566 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 07:12:43.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=2, totSpectra=0
2021/04/16 07:12:43.566 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 07:12:43.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=3, totSpectra=0
2021/04/16 07:12:43.566 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 07:12:43.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=4, totSpectra=0
2021/04/16 07:12:43.566 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 07:12:43.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=5, totSpectra=0
2021/04/16 07:12:43.566 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 07:12:43.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=6, totSpectra=0
2021/04/16 07:12:43.566 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 07:12:43.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=7, totSpectra=0
2021/04/16 07:12:45.566 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=18
2021/04/16 07:12:45.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=0, totSpectra=18
2021/04/16 07:12:45.566 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 07:12:45.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=1, totSpectra=0
2021/04/16 07:12:45.566 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 07:12:45.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=2, totSpectra=0
2021/04/16 07:12:45.566 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 07:12:45.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=3, totSpectra=0
2021/04/16 07:12:45.566 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 07:12:45.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=4, totSpectra=0
2021/04/16 07:12:45.566 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 07:12:45.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=5, totSpectra=0
2021/04/16 07:12:45.566 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 07:12:45.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=6, totSpectra=0
2021/04/16 07:12:45.566 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 07:12:45.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=7, totSpectra=0
2021/04/16 07:12:47.566 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=38
2021/04/16 07:12:47.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=0, totSpectra=56
2021/04/16 07:12:47.566 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 07:12:47.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=1, totSpectra=0
2021/04/16 07:12:47.566 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 07:12:47.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=2, totSpectra=0
2021/04/16 07:12:47.566 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 07:12:47.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=3, totSpectra=0
2021/04/16 07:12:47.566 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 07:12:47.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=4, totSpectra=0
2021/04/16 07:12:47.566 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 07:12:47.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=5, totSpectra=0
2021/04/16 07:12:47.566 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 07:12:47.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=6, totSpectra=0
2021/04/16 07:12:47.566 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 07:12:47.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=7, totSpectra=0
2021/04/16 07:12:49.566 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=58
2021/04/16 07:12:49.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=0, totSpectra=114
2021/04/16 07:12:49.566 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 07:12:49.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=1, totSpectra=0
2021/04/16 07:12:49.566 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 07:12:49.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=2, totSpectra=0
2021/04/16 07:12:49.566 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 07:12:49.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=3, totSpectra=0
2021/04/16 07:12:49.566 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 07:12:49.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=4, totSpectra=0
2021/04/16 07:12:49.566 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 07:12:49.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=5, totSpectra=0
2021/04/16 07:12:49.566 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 07:12:49.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=6, totSpectra=0
2021/04/16 07:12:49.566 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 07:12:49.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=7, totSpectra=0
2021/04/16 07:12:51.566 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=78
2021/04/16 07:12:51.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=0, totSpectra=192
2021/04/16 07:12:51.566 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 07:12:51.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=1, totSpectra=0
2021/04/16 07:12:51.566 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 07:12:51.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=2, totSpectra=0
2021/04/16 07:12:51.566 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 07:12:51.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=3, totSpectra=0
2021/04/16 07:12:51.566 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 07:12:51.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=4, totSpectra=0
2021/04/16 07:12:51.566 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 07:12:51.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=5, totSpectra=0
2021/04/16 07:12:51.566 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 07:12:51.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=6, totSpectra=0
2021/04/16 07:12:51.566 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 07:12:51.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=7, totSpectra=0
2021/04/16 07:12:53.566 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=98
2021/04/16 07:12:53.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=0, totSpectra=290
2021/04/16 07:12:53.566 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 07:12:53.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=1, totSpectra=0
2021/04/16 07:12:53.566 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 07:12:53.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=2, totSpectra=0
2021/04/16 07:12:53.566 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 07:12:53.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=3, totSpectra=0
2021/04/16 07:12:53.566 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 07:12:53.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=4, totSpectra=0
2021/04/16 07:12:53.566 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 07:12:53.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=5, totSpectra=0
2021/04/16 07:12:53.566 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 07:12:53.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=6, totSpectra=0
2021/04/16 07:12:53.566 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 07:12:53.566 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=7, totSpectra=0
2021/04/16 07:12:55.566 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=100
2021/04/16 07:12:55.567 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=0, totSpectra=390
2021/04/16 07:12:55.567 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=1
2021/04/16 07:12:55.567 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=1, totSpectra=1
2021/04/16 07:12:55.567 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=1
2021/04/16 07:12:55.567 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=2, totSpectra=1
2021/04/16 07:12:55.567 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=1
2021/04/16 07:12:55.567 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=3, totSpectra=1
2021/04/16 07:12:55.567 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=1
2021/04/16 07:12:55.567 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=4, totSpectra=1
2021/04/16 07:12:55.567 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=1
2021/04/16 07:12:55.567 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=5, totSpectra=1
2021/04/16 07:12:55.567 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=1
2021/04/16 07:12:55.567 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=6, totSpectra=1
2021/04/16 07:12:55.567 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=1
2021/04/16 07:12:55.567 Dante::pollMCAMappingMode - totalMappingPointsCollected - board=7, totSpectra=1
So we are using identical settings for the mapping mode, identical software, and identical firmware. Why does it work for you and not for me?
Different hardware?
Different configuration settings?
I just reproduced the same behavior on Windows, so it does not depend on the host operating system.
I have solved the problem. The EPICS driver was only calling configure_gating() on the first board, not on all of the boards. I have fixed that, and I have temporarily made the message printed when configure_gating is called have ASYN_TRACE_WARNING rather than ASYN_TRACEIO_DRIVER. I changed the st.cmd temporarily to set asynTraceMask to ERROR|WARNING.
There is still something not quite right. When the IOC starts up the output shows that it is setting the gating to FreeRun on all boards. However, if I do a mapping acquisition at that point even board 0 does not get any spectra. However, if I just use the medm widget to set it to FreeRun again then it works.
Here is what I see with acquisition time=100 ms, poll time=50 ms, mapping points=10.
This is as the IOC is still starting up. Note that is sets the gating mode to 0 for all boards.
# Save settings every thirty seconds
create_monitor_set("auto_settings.req", 30, "P=Dante:, R=dante:, M=mca1")
danteMED: All channels connected.
epics> auto_settings.sav: 3159 of 3159 PV's connected
2021/04/16 09:04:57.640 Dante::writeInt32 calling configure_gating, gatingMode=0, board=0
2021/04/16 09:04:57.646 Dante::writeInt32 calling configure_gating, gatingMode=0, board=1
2021/04/16 09:04:57.653 Dante::writeInt32 calling configure_gating, gatingMode=0, board=2
2021/04/16 09:04:57.659 Dante::writeInt32 calling configure_gating, gatingMode=0, board=3
2021/04/16 09:04:57.666 Dante::writeInt32 calling configure_gating, gatingMode=0, board=4
2021/04/16 09:04:57.672 Dante::writeInt32 calling configure_gating, gatingMode=0, board=5
2021/04/16 09:04:57.679 Dante::writeInt32 calling configure_gating, gatingMode=0, board=6
2021/04/16 09:04:57.686 Dante::writeInt32 calling configure_gating, gatingMode=0, board=7
I then do a mapping scan, and it fails. Even board 0 collects no spectra till the last time when it gets 1.
2021/04/16 09:05:56.691 Dante::startAcquiring calling start_map(), msTime=100, mappingPoints=10, numChannels=2048
2021/04/16 09:05:56.801 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:05:56.801 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:05:56.801 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:05:56.801 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:56.801 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:56.801 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:56.801 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:56.801 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:56.851 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:05:56.851 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:05:56.851 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:05:56.851 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:56.851 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:56.851 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:56.851 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:56.851 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:56.901 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:05:56.901 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:05:56.901 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:05:56.901 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:56.901 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:56.901 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:56.901 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:56.901 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:56.951 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:05:56.951 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:05:56.952 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:05:56.952 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:56.952 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:56.952 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:56.952 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:56.952 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:57.002 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:05:57.002 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:05:57.002 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:05:57.002 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:57.002 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:57.002 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:57.002 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:57.002 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:57.052 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:05:57.052 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:05:57.052 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:05:57.052 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:57.052 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:57.052 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:57.052 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:57.052 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:57.102 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:05:57.102 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:05:57.102 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:05:57.102 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:57.102 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:57.102 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:57.102 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:57.102 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:57.152 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:05:57.152 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:05:57.152 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:05:57.152 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:57.152 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:57.152 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:57.152 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:57.152 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:57.202 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:05:57.202 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:05:57.202 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:05:57.202 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:57.202 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:57.202 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:57.202 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:57.202 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:57.252 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:05:57.252 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:05:57.252 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:05:57.252 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:57.252 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:57.252 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:57.252 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:57.252 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:57.302 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:05:57.302 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:05:57.302 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:05:57.302 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:57.302 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:57.302 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:57.302 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:57.302 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:57.352 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:05:57.352 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:05:57.352 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:05:57.352 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:57.352 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:57.352 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:57.352 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:57.352 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:57.402 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:05:57.402 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:05:57.402 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:05:57.402 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:57.402 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:57.402 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:57.402 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:57.402 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:57.452 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:05:57.452 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:05:57.452 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:05:57.452 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:57.452 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:57.452 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:57.452 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:57.452 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:57.502 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:05:57.502 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:05:57.502 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:05:57.502 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:57.502 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:57.502 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:57.502 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:57.502 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:57.552 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:05:57.552 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:05:57.552 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:05:57.552 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:57.552 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:57.552 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:57.552 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:57.552 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:57.602 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:05:57.602 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:05:57.602 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:05:57.602 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:57.602 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:57.602 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:57.602 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:57.602 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:57.652 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:05:57.652 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:05:57.652 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:05:57.652 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:57.652 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:57.652 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:57.652 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:57.652 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:57.702 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:05:57.702 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:05:57.702 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:05:57.702 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:57.702 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:57.703 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:57.703 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:57.703 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:57.753 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:05:57.753 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:05:57.753 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:05:57.753 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:57.753 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:57.753 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:57.753 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:57.753 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:57.803 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=1
2021/04/16 09:05:57.803 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=1
2021/04/16 09:05:57.803 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=1
2021/04/16 09:05:57.803 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:05:57.803 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:05:57.803 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:05:57.803 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:05:57.803 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:05:57.853 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=1
2021/04/16 09:05:57.853 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=1
2021/04/16 09:05:57.853 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=1
2021/04/16 09:05:57.853 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=1
2021/04/16 09:05:57.853 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=1
2021/04/16 09:05:57.853 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=1
2021/04/16 09:05:57.853 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=1
2021/04/16 09:05:57.853 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=1
Now I simply use medm to set the GatingMode to FreeRun again.
2021/04/16 09:06:13.994 Dante::writeInt32 calling configure_gating, gatingMode=0, board=0
2021/04/16 09:06:13.999 Dante::writeInt32 calling configure_gating, gatingMode=0, board=1
2021/04/16 09:06:14.005 Dante::writeInt32 calling configure_gating, gatingMode=0, board=2
2021/04/16 09:06:14.012 Dante::writeInt32 calling configure_gating, gatingMode=0, board=3
2021/04/16 09:06:14.018 Dante::writeInt32 calling configure_gating, gatingMode=0, board=4
2021/04/16 09:06:14.025 Dante::writeInt32 calling configure_gating, gatingMode=0, board=5
2021/04/16 09:06:14.031 Dante::writeInt32 calling configure_gating, gatingMode=0, board=6
2021/04/16 09:06:14.038 Dante::writeInt32 calling configure_gating, gatingMode=0, board=7
Now the mapping mode works fine.
2021/04/16 09:06:26.956 Dante::startAcquiring calling start_map(), msTime=100, mappingPoints=10, numChannels=2048
2021/04/16 09:06:27.068 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:06:27.068 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:06:27.068 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:06:27.068 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:06:27.068 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:06:27.068 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:06:27.068 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:06:27.068 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:06:27.118 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:06:27.118 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:06:27.118 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:06:27.118 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:06:27.118 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:06:27.118 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:06:27.118 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:06:27.118 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:06:27.168 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:06:27.168 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:06:27.168 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:06:27.168 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:06:27.168 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:06:27.168 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:06:27.168 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:06:27.168 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:06:27.218 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:06:27.218 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:06:27.218 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:06:27.218 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:06:27.218 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:06:27.218 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:06:27.218 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:06:27.218 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:06:27.268 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=0
2021/04/16 09:06:27.268 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=0
2021/04/16 09:06:27.268 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=0
2021/04/16 09:06:27.268 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=0
2021/04/16 09:06:27.268 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=0
2021/04/16 09:06:27.268 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=0
2021/04/16 09:06:27.268 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=0
2021/04/16 09:06:27.268 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:06:27.318 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=1
2021/04/16 09:06:27.318 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=1
2021/04/16 09:06:27.318 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=1
2021/04/16 09:06:27.318 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=1
2021/04/16 09:06:27.318 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=1
2021/04/16 09:06:27.318 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=1
2021/04/16 09:06:27.318 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=1
2021/04/16 09:06:27.318 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:06:27.368 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=1
2021/04/16 09:06:27.368 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=1
2021/04/16 09:06:27.368 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=1
2021/04/16 09:06:27.368 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=1
2021/04/16 09:06:27.368 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=1
2021/04/16 09:06:27.368 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=1
2021/04/16 09:06:27.368 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=1
2021/04/16 09:06:27.368 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=1
2021/04/16 09:06:27.418 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=1
2021/04/16 09:06:27.418 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=1
2021/04/16 09:06:27.418 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=1
2021/04/16 09:06:27.418 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=1
2021/04/16 09:06:27.418 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=1
2021/04/16 09:06:27.418 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=1
2021/04/16 09:06:27.418 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=1
2021/04/16 09:06:27.418 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:06:27.468 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=1
2021/04/16 09:06:27.468 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=1
2021/04/16 09:06:27.468 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=1
2021/04/16 09:06:27.468 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=1
2021/04/16 09:06:27.468 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=1
2021/04/16 09:06:27.468 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=1
2021/04/16 09:06:27.468 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=1
2021/04/16 09:06:27.468 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=1
2021/04/16 09:06:27.518 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=1
2021/04/16 09:06:27.518 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=1
2021/04/16 09:06:27.518 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=1
2021/04/16 09:06:27.518 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=1
2021/04/16 09:06:27.518 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=1
2021/04/16 09:06:27.518 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=1
2021/04/16 09:06:27.518 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=1
2021/04/16 09:06:27.518 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:06:27.568 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=1
2021/04/16 09:06:27.568 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=1
2021/04/16 09:06:27.568 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=1
2021/04/16 09:06:27.568 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=1
2021/04/16 09:06:27.569 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=2
2021/04/16 09:06:27.569 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=1
2021/04/16 09:06:27.569 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=1
2021/04/16 09:06:27.569 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=1
2021/04/16 09:06:27.618 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=1
2021/04/16 09:06:27.618 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=1
2021/04/16 09:06:27.618 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=1
2021/04/16 09:06:27.618 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=1
2021/04/16 09:06:27.619 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=1
2021/04/16 09:06:27.619 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=1
2021/04/16 09:06:27.619 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=1
2021/04/16 09:06:27.619 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:06:27.669 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=2
2021/04/16 09:06:27.669 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=2
2021/04/16 09:06:27.669 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=2
2021/04/16 09:06:27.669 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=2
2021/04/16 09:06:27.669 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=1
2021/04/16 09:06:27.669 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=1
2021/04/16 09:06:27.669 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=1
2021/04/16 09:06:27.669 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=1
2021/04/16 09:06:27.719 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=1
2021/04/16 09:06:27.719 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=1
2021/04/16 09:06:27.719 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=1
2021/04/16 09:06:27.719 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=1
2021/04/16 09:06:27.719 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=1
2021/04/16 09:06:27.719 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=1
2021/04/16 09:06:27.719 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=1
2021/04/16 09:06:27.719 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:06:27.769 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=2
2021/04/16 09:06:27.769 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=2
2021/04/16 09:06:27.769 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=2
2021/04/16 09:06:27.769 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=2
2021/04/16 09:06:27.769 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=2
2021/04/16 09:06:27.769 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=1
2021/04/16 09:06:27.769 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=1
2021/04/16 09:06:27.769 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=1
2021/04/16 09:06:27.819 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=1
2021/04/16 09:06:27.819 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=1
2021/04/16 09:06:27.819 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=1
2021/04/16 09:06:27.819 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=1
2021/04/16 09:06:27.819 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=1
2021/04/16 09:06:27.819 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=1
2021/04/16 09:06:27.819 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=1
2021/04/16 09:06:27.819 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:06:27.869 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=2
2021/04/16 09:06:27.869 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=2
2021/04/16 09:06:27.869 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=2
2021/04/16 09:06:27.869 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=2
2021/04/16 09:06:27.869 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=2
2021/04/16 09:06:27.869 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=1
2021/04/16 09:06:27.869 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=1
2021/04/16 09:06:27.869 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=1
2021/04/16 09:06:27.919 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=1
2021/04/16 09:06:27.919 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=1
2021/04/16 09:06:27.919 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=1
2021/04/16 09:06:27.919 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=1
2021/04/16 09:06:27.919 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=1
2021/04/16 09:06:27.919 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=1
2021/04/16 09:06:27.919 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=1
2021/04/16 09:06:27.919 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:06:27.969 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=2
2021/04/16 09:06:27.969 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=2
2021/04/16 09:06:27.969 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=2
2021/04/16 09:06:27.969 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=2
2021/04/16 09:06:27.969 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=1
2021/04/16 09:06:27.969 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=1
2021/04/16 09:06:27.969 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=1
2021/04/16 09:06:27.969 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=1
2021/04/16 09:06:28.019 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=1
2021/04/16 09:06:28.019 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=1
2021/04/16 09:06:28.019 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=1
2021/04/16 09:06:28.019 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=1
2021/04/16 09:06:28.019 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=1
2021/04/16 09:06:28.019 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=1
2021/04/16 09:06:28.019 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=1
2021/04/16 09:06:28.019 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=0
2021/04/16 09:06:28.069 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=3
2021/04/16 09:06:28.069 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=3
2021/04/16 09:06:28.069 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=3
2021/04/16 09:06:28.069 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=1
2021/04/16 09:06:28.069 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=1
2021/04/16 09:06:28.069 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=1
2021/04/16 09:06:28.069 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=1
2021/04/16 09:06:28.069 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=1
2021/04/16 09:06:28.119 Dante::pollMCAMappingMode::getAvailableData(): board=0, numSpectra=2
2021/04/16 09:06:28.119 Dante::pollMCAMappingMode::getAvailableData(): board=1, numSpectra=2
2021/04/16 09:06:28.119 Dante::pollMCAMappingMode::getAvailableData(): board=2, numSpectra=2
2021/04/16 09:06:28.119 Dante::pollMCAMappingMode::getAvailableData(): board=3, numSpectra=2
2021/04/16 09:06:28.119 Dante::pollMCAMappingMode::getAvailableData(): board=4, numSpectra=2
2021/04/16 09:06:28.119 Dante::pollMCAMappingMode::getAvailableData(): board=5, numSpectra=2
2021/04/16 09:06:28.119 Dante::pollMCAMappingMode::getAvailableData(): board=6, numSpectra=2
2021/04/16 09:06:28.119 Dante::pollMCAMappingMode::getAvailableData(): board=7, numSpectra=2
Here is what I suspect is happening. There is some parameter setting I am doing in the configure() that is causing the firmware to set gating to something other than FreeRun on all boards. This is happening after gating was initially set to FreeRun. So I need to set it again. Luca is not seeing this because his configure parameters are different, so this is not happening for him.
Now that it is working I don't need to set the poll time to be less than the acquisition time, it works fine with acquisition time=100 ms, poll time = 50 ms.
This issue was due to an error in the EPICS driver, now fixed.
I have modified the test_mapping.cpp program to be more similar to the logic in the EPICS dante.cpp driver.
test_mapping works fine with the LE firmware 4.0.14. This file contains the output when running for 100 ms acquisition time, 100 ms polling time, and 10 mapping points.
test_mapping.txt
It correctly collects 10 spectra on each board, and the output ends with:
However, the EPICS driver is not collecting the correct number of spectra. I have configured it the same as test_mapping above: 100 ms acquisition, 100 ms polling, and 10 mapping points.
I have some debugging statements in the code that can be enabled by enabling ASYN_TRACE_WARNING with this command at the IOC prompt
It can also be enabled with the traceWarning button in this asynRecord screen.
This is the output with ASYN_TRACE_WARNING enabled. This was the first run after the IOC was started. Note that even board 0 is not collecting the correct number of spectra. All boards collect just 1 spectrum.
I then re-selected GatingMode=FreeRun on the medm screen. That was already selected, but selecting it again seems to change the behavior. This is the output after doing that. Now board 0 behaves correctly, and collects 10 spectra. But the other boards still only collect 1 spectrum at the very end.
Why does the EPICS driver behave differently from the test_mapping program when they appear to be making the same calls?