Skip to content

ger-ald/psControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

psControl

Control program for korad ka3005 power supply (and copies) for use on windows XP and up.

Screenshot of running program:
image
(orange titlebar not included:wink:)

Path to compiled bin:
/pscontrol/bin/Release/pscontrol.exe

Logging usage:

  1. Click More>> to show the extended functionality
  2. Set the interval or do this while it's logging
    Set to '0' to log as fast as update rate but note that not all csv tools handle this correctly when reading the logged csv
  3. Click Start log, choose a filename and open
    The filename is psuLog_<yyyy-MM-dd_HH.mm.ss>.csv by default

Scripting usage:

  1. Click More>> to show the extended functionality
  2. Click the button with the file icon (BrowseIcon)
  3. A file browse window will pop-up where you can pick the script file to open
  4. Click the play button to start running the script
    See the example script psuScript.txt to see available instructions/commands
  5. Click the play button again (now a pause icon) to pause the running script or the button with the stop icon to stop the script. Clicking play after stop or script finish will reload the script from disk.

Known issues:
-After changing comport numbers in device explorer, psControl will not be able to connect to that port until after a reboot.
-you can still adjust the output when running a script. (wich is dangerous when using v++ or i++ in the script)
-script syntax errors are not displayed

Rundown of changes: (summarised)
v1.3.0.0:
-added retries on the connect check for device
-BetterSerialPort.cs -> pHandle was incorrectly checked for invalid
-improved output enabled visibility
-added scripting

v1.2.0.0:
-add logging
-add html file to view logged csv*
-code cleanup
-moved higher level code for psu from form1 to it's own class

* Open in browser and select file bottom left. This can display the csv with "as fast as update rate" correctly.
 Note that HighCharts is used for drawing the graph which has a different lisence than this tool.

v1.1.2.0:
-added load/save feature
-rewrote setpoint storage part (exe side) to work towards a nice contained psu class

Releases

No releases published

Packages

No packages published