I currently have a reprogrammable power supply (HCS-3400) hooked up to be controlled remotely from an control/monitor app provided by the power supply company, Manson. The supply is connected via USB to a Raspberry Pi B+ which is connected to the internet network (Ethernt), thus can be accessed from the App.
I am looking for a way i can track the voltage, current and power coming from the supply to the Raspberry and hopefully create some code which could stop the Supply from reaching a threshold level/s or from varying abruptly.
Does anyone have any ideas for this? I was thinking either finding some kind of Watchdog software or see if Python on the Pi can control USB input/outputs