-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Hi Mark,
I'm wondering if we could switch ACT (and data/VAL) to DBF_DOUBLE/DBF_UINT64 the definition . Double would allow us to get counts all the way to 2^53 before starting to lose precision. I see the Amptek driver already computes the counts in the readFloat64
function, so it seems like think would make sense for it to be a DBF_DOUBLE instead.
The main reason for me to change this is that we have a device that will see a high rate of counts (maybe up to 1M events/s), so that gives us about 36 mins before the value overflows. It is understandably longer than what we'd use, but I just want to avoid having values overflow. If precision is a concern, we could set it so that it alarms if it goes beyond 2^53 (although that'd take 200+ years at 1Mevents/s).
Do you foresee any issues with this change?