This testing is the last step before testing with the actual KiloArc hardware. What I did was setup the ADAM I/O device with a multimeter so I can measure the voltage it's sending on the output channel, and also with one of the input channels connected to an external power supply, so that we can simulate the KiloArc sending an error signal (or other signal) to the ADAM. Then I exercised the White Light CSC through sal commands, testing the following events and transitions worked as designed:
-Can signal KiloArc to power on and off, and measure appropriate voltages on the analog output channel.
-15m cooldown and warmup periods are enforced by the software
-Receiving a signal of >=3v on the error channel triggers the CSC to enter a fault state
-CSC will not allow us to leave a fault state until the error signal is cleared
-loss of network connectivity to the ADAM device will cause the CSC to enter a fault state (within a few seconds)
KiloArc has four channels for communicating status... a change on any one channel will trigger a SAL event that reports and logs whatever changed, but currently the error channel is the only one that can trigger a change of state in the CSC, and my test setup only allows me to send voltage to one channel at a time, so most of my testing has focused on the error channel. In a future task, we will connect to the real KiloArc hardware and exercise all four channels at once
currently blocked due to network issues.