Open awhitbeck opened 9 years ago
did we ever debug the faster mapping code?
No, but now's a good time to do this, since the map changed. I'll do it.
This is more annoying than I anticipated. When I use the slow version, I get results like
{"slot": 2, "uhtr_slot": 11, "fiber": 1, "link": 16, "half": 0, "qie": 17, "crate": 1, "id": "0x00000BAD 0x00000000", "channel": 3},
The "id"
field is odd. I'm going to go to lunch and look into this after.
How are you reading the unique ID? From the device itself or from the IGLOO2 register?
The "0x00000BAD 0x00000000"
unique ID was due to a bug introduced by removing quotes from the returned results of ngccm.send_commands_parsed
. I fixed the bug. I updated the map in the repository.
nice!
can this be closed?
QIE mapping is too slow... need to do some research on how to speed it up. Some ideas:
Use the uhtr histograms to read out data - which is very fast.
Use the link pattern readout to first figure out where groups of four QIEs then set those groups of four to either fixed range mode 0,1,2,3.
-the combination of the two should be very fast
@Teststandees/citizens