Made an (simple) script for testing several
type of power-supplies.
Interesting, I have a few comments:
1) End the filename with "Script" and save it in ..\TestController\ScriptLibrary , then it will be accessible in the right click menu.
2) Add a #autorun after the #scriptMenu line, then it will auto start.
3) Add #scriptInterface Load setCurrent SetVoltage setOn then the menu entry will only show if a load is loaded and has the listen functions in the interface
4) Clean it up, there is some unused code and lines in it.
When using SetVoltage on a load it will switch to constant voltage mode and may ignore the setCurrent value.
Thanks HKJ,
1 Done
2 Done
3 When I do that, script is not listed in the right click menu. In List and Manage Scripts it is marked with an IF.
even when load is ready and connected.?
4 Done (as far as possible for an programmer with low programming skills. (Trial and Error programmer)
"When using SetVoltage on a load it will switch to constant voltage mode and may ignore the setCurrent value."
I use DL24 or PX100 and it doesn't happen to me. Stays in CC mode. Don't know how to bypass
both settings when I want to tell the load to shutdown by low voltage.
Did also some rework, made minimum voltage setting selectable by setting in absolute voltage drop of percents of starting voltage.
Added shutdown load when Testcontroller detects under minimum voltage, for the case the Load doesn't.
(overload protection for the powersupply.