Closed Tom-Willemsen closed 5 years ago
We need to decide whether the PID file and closed loop should be autosaved or a setting in the macros I do not know which make sense here.
On checking the labview driver, it ALWAYS sets closed loop mode on when any temperature is set. The IOC should also do this.
To do as part of this ticket:
stringiftest
-style check on whether the calibration file name is non-empty)These changes would be good to get in in time for an experiment on LET 22/3/2019
Switching PID files from config: worked ok on actual hardware on LET
Turning closed loop mode on whenever temperature is set: on real triton fridge on LET, turning closed loop on/off makes the fridge reset it's temperature setpoint to the current temperature. This caused very odd behaviour with the changeset above, so I removed it again. There is a meeting scheduled with cryogenics where I'll ask what we should be doing about closed loop mode ( https://github.com/ISISComputingGroup/IBEX/issues/3993 ). I'll put this in impeded in the meantime.
I think the difference is that the labview sends closed loop on first, then checks it's turned on, and then sends the temperature, whereas the changeset above assumed that tset and closed loop mode were independent. I will try implementing the ordering at the protocol level instead.
Discussed this with cryogenics, there are several additional subtle issues:
Cryogenics will be running a fridge down to low temperature over shutdown, and they will give us an opportunity to test on the real hardware and work with them to try and find the "least bad" solution to this issue. We will then need to apply this solution to both LabVIEW and IBEX drivers.
When all these issues have been investigated and resolved, we must ensure to explain the behaviour of the Triton systems to the scientists, so that they understand what is and is not possible.
Triton fridge NDRI1 will be available for us to test with Tomorrow (17/4/2019).
Tested on a real Triton (NDRI1) with help from cryogenics, a sequence that seems to work ok is:
As an LET instrument scientist I want the Triton system to behave correctly in closed loop mode.
From LET scientist:
We should clarify exactly what the oxford triton software does when set to closed loop mode - I think it may reset the setpoint to the current temperature, but this needs testing.
Also test that the PID file is preserved on IOC restart - this applies to all the drivers that use ReadASCII (e.g. would also apply to Eurotherm)