Project

General

Profile

Feature #25026

Add BBM support to MADC burst driver

Added by Richard Neswold 21 days ago. Updated 21 days ago.

Status:
Assigned
Priority:
Normal
Category:
MADC "burst" driver
Start date:
09/28/2020
Due date:
% Done:

0%

Estimated time:
Duration:

Description

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.

History

#1 Updated by Richard Neswold 21 days 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.)

#2 Updated by Richard Neswold 21 days ago

The BBM support for M:TOR107 is ready to be tested (commit 58e99f40)

The front-end needs to be rebooted, a new ACNET device needs to be made and the BBM application needs to know the new device before we can test it.



Also available in: Atom PDF