Add BBM support to MADC burst driver
The BBM application needs information from
M:TOR107 but, because the information comes in short bursts, it can't collect it properly. The "MADC Waveform" or "burst" driver (#18749) reliably reads this device. We propose to add support for BBM to this driver.
The following modifications will be made:
- A new, 32-bit accumulator will be added which simply sums every reading. This total is allowed to wrap because BBM subtracts it from the previous total. Two's complement arithmetic works correctly for this case.
- If the driver doesn't already have one, it needs to keep a count of the number of pulses.
- The setting property needs to support the settings that BBM uses. This includes the reading of the setting. Since the driver already knows which MADC channel to read and at what rate, most (all?) of the information in the setting will be ignored.
- The reading property needs to support the reading structure that BBM uses.
To access these two new properties, an new ACNET device will be created.
#1 Updated by Richard Neswold 6 months ago
A recent change to the burst driver was to not include pulses that were less than or equal to zero. This was done to remove noise and not include pulses that didn't go out even though there was a clock event.
The BBM summation, therefore, won't include the zero data either (really this means the counts won't increase.)