AG-Schumann / Doberman

Distributed supervisory control, data acquisition, and monitoring software for small- to medium-size experiments
MIT License
0 stars 1 forks source link

Add alarm via doberman device output #216

Closed adambrown1 closed 4 months ago

adambrown1 commented 1 year ago

We would like a flashing light in the lab when there is a doberman alarm, for which we could use a revpi digital output. Therefore it would be good to have an alarm function that sends via a doberman device.

adambrown1 commented 11 months ago

I guess queued commands are no longer available. One option is to have a pipeline control the output, which is activated or configured when an alarm is triggered (as a new alarm protocol). This could then turn off the output after some time.

Or somehow to check whether there is a silenced pipeline since this indicates an alarm is active? Or to turn off the active alarm output when a pipeline is reactivated?

jarongrigat commented 11 months ago

Okay, I thought about it and I think my favourite solution is the following:

What do you think?

adambrown1 commented 11 months ago

That sounds good to me. I also like the idea we could have an output that is only affected by alarms on a subset of sensors