Open DominicOram opened 2 years ago
@GDYendell would be good to look at together maybe?
I think PVs should take approximately the same time to set because they just send the request and fetching the updated parameters is done in a separate thread. However the time it takes for the detector to make the change will be variable.
I'm fairly sure that GDA encountered many failed PV settings when we initially tried to operate like that. Was a long time ago though. A lot of what is in GDA is working around the 'how it should work'/'how it does work' quagmire.
Sorry, when I say "How long does the PV take to set" I really mean how long between setting a PV and everything being in a state where we can continue i.e. for the detector to be arm-able. We can probably reduce this time by:
Even if we can't reduce it, we should document it. So we don't end up in the GDA situation of it not being obvious why we're doing things in a specific order.
One current performance bottleneck in Artemis is arming the detector. This requires setting a number of properties through odin then waiting for the stale parameters to be complete. We should analyse where this time is spend and potentially guard against it in Artemis. e.g. for the threshold energy we do not set it if it's already within tolerance.
Acceptance Criteria