lwa-project / analog_signal_processor

Analog Signal Processor (ASP) Monitor and Control Software
GNU General Public License v2.0
0 stars 0 forks source link

Switch to batch execute of SPI commands #3

Closed jaycedowell closed 1 year ago

jaycedowell commented 1 year ago

This PR changes how ASP-MCS interacts with the ARX boards by switching to a batched execution model. Previously SPI commands were sent one at a time and the control software used a lock to ensure that only one SPI command was processed at a time. Under this new scheme the commands are queued and executed in batches on a two second cadence. This allows multiple commands to be executed at once and the running state of the system through callbacks.