The current and voltage value seems to be incosistent with the expected because the constant power mode stays on.
The two PVs CONST:POW and CONST:POW:SP are not connected because the CONST:POW polls the device every 2 seconds.
As there is no way to send const power mode setting to the device it seems that we can't connect the two PVs. So the CONST:POW:SP is not connected to the device in any way, it is used in the condition for whether or not to adjust voltage and current locally within the IOC.
Solution
The solution is to write 0 into the CONST:POW:SP in the reset function on top of resetting the device's internal state for const power.
Problem
There seems to be an issue with the system tests for DHP30330:
The current and voltage value seems to be incosistent with the expected because the constant power mode stays on. The two PVs
CONST:POW
andCONST:POW:SP
are not connected because the CONST:POW polls the device every 2 seconds. As there is no way to send const power mode setting to the device it seems that we can't connect the two PVs. So the CONST:POW:SP is not connected to the device in any way, it is used in the condition for whether or not to adjust voltage and current locally within the IOC.Solution
The solution is to write
0
into theCONST:POW:SP
in the reset function on top of resetting the device's internal state for const power.