fair-acc / gr-digitizers

GNU General Public License v3.0
3 stars 3 forks source link

Consistently use double for ranges (Issue #79) #98

Closed alexxcons closed 2 years ago

alexxcons commented 2 years ago

Instead of mixing float/double, which leads to comparison failure

This fixes the problem described in https://github.com/fair-acc/gr-digitizers/issues/97 (comparison works fine now)

( Though I still would prefer the usage of enum values, to be more failsafe. This is just a "quickfix" to get stuff running. )

Currently at least two productive ps3000 devices suffer from this bug (whether the bug shows seems to dependent on the choosen channel ranges)