multiple ct2/p201 + spec
Hi,
when using multiple (tried 2) p201s in SPEC (w/ bliss tango CT2 DS), the channels are duplicated.
E.g:
- i0, i1, i2, sec are on p201_0
- ic0, ic1, ic2, sec1 are on p201_1
17.TEST_P201> ct
Fri Sep 04 15:41:42 2020
Seconds = 1
Monitor = 0 (0/s)
Detector = 0 (0/s)
i0 = 999984 (999983/s)
i1 = 0 (0/s)
i2 = 226 (226/s)
sec1 = 1 (1/s)
ic0 = 999984 (999983/s)
ic1 = 0 (0/s)
ic2 = 226 (226/s)
See the dupes.
Sometimes it switches to the other p201.
17.TEST_P201> ct
Fri Sep 04 15:41:47 2020
Seconds = 1
Monitor = 0 (0/s)
Detector = 0 (0/s)
i0 = 15 (15/s)
i1 = 20 (20/s)
i2 = 3 (3/s)
sec1 = 1 (1/s)
ic0 = 15 (15/s)
ic1 = 20 (20/s)
ic2 = 3 (3/s)
@alejandro.homs pointed me to this MR !2637 (closed) (thanks!). I picked all the commits from it, and it seems to fix the problem, but it's pretty old (and I think some work has been done on that code since then, and merged), so maybe it needs someone more experienced with p201s to have a quick look at it before merging. Cheers.
Edited by Damien Naudet