APS-2BM-MIC / ipython-user2bmb

ipython configurations for the tomography instrument
2 stars 5 forks source link

EpicsScaler vs ScalerCH #7

Closed danielballan closed 6 years ago

danielballan commented 6 years ago

We noticed EpicsScaler in our review of the code. EpicsScaler was one of the first devices implemented in ophyd, and at the time some of us had a somewhat parochial view of how scalers work / are used in practice. (In fact, we think we still do...)

More recently, @tacaswell revisited the problem and implemented ScalerCH, which groups the scaler's signals differently. (You could say ScalarCH is the "transpose" of EpicsScaler.) Either one can work -- we currently have mixture of EpicsScaler and ScalerCH around the ring at NSLS-II -- but we think we like ScalerCH better, particularly the way it handles naming. What do you think?

Does your scaler have an MCA attached? If so, this example of mode-switching might be relevant.

prjemian commented 6 years ago

Ours is initial use of EpicsScaler. I don't believe this one has an MCA.