Hello!
I’d like to add a new ventilator that should be controlled externally.
I am currently using the Java build, I’d like to do something as follow:
When the “new” ventilator is connected, the engine at every iteration should send a “getPressure” message and the external ventilator will respond with a value.
The engine will then set the retrieved value to the patient as the current ventilators do instead of calculating it from initial values as it does with the already existing ventilators model.
is it possible to do so? should I be using an action or what would be the best way to add the sending request and applying the retrieved data?
my main concern is what part of the engine I should be modifying to adapt it to my needs.
thank you in advance for you help.