UCLALabRAD / LaSER-Project

Effort to add functionality to the EGGS-Campbell repository to allow for the simulation of hardware in experiments conducted by the Campbell and Hudson labs.
0 stars 0 forks source link

Move Input buffers from HSS to Bus servers, change reading/writing accordingly #7

Closed lando224 closed 1 year ago

lando224 commented 1 year ago

Mostly done with this. Basically a write from the bus would be a query to the HSS where the response is added to the input buffer via a callback. Wondering about if lock on input buffer is needed.

lando224 commented 1 year ago

Where should interpret_commands be? In read? Write? Done by defertothread?

lando224 commented 1 year ago

Need to test how it works when you write to a device and it has to spend time processing the command. Either going to query from bus and add a callback to put in inputbuffer, or yield the query.

lando224 commented 1 year ago

closing for capstone submission