My bad, sorry. So, it turned out that the DPS5005 can only do 1 respond/2 seconds or so, while the DL24M-H (with DL24P config) does like 3-4 replies every second. I had both of them connected so the DPS slowed down TC.
The lag is just there when I have both of them running and reporting current values, on the chart the DPS values are coming in quicker for some reason that is why I thought that there is a lag...
You can get more detailed information about communication speed by using "#COMMANDTIME?" on the command line.
Is there some kind of documentation how scripting works because I really like the battery test user script by Pukker (altough its not working for me for some reason), but I'd like to extend it so it can do n full cycle tests together with the DPS PSU and the DL24 load.
I mean, charge the battery fully with the PSU properly, full CC/CV cycle, wait some time, discharge the battery fully with the load, wait some time and charge it again and so on. All configurable of course. What do you think?
I think a LOT of people would find this very useful but I'm just too noob to be able to pull this off yet, but willing to learn.
TestController has two languages, one for expressions and other calculating stuff, it is partially documented here:
http://lygte-info.dk/project/TestControllerFunctions%20UK.htmlThe other language is the scripting language, this is all commands starting with # and it is documented in the help window. Type # and a list will be shown, type or use the INS key to insert a command. The help and INS will adjust as you type the command.
These commands do not support any math for their arguments, i.e. a command may require a numeric parameter, it has to be a number and cannot be something like 4*5 or a variable name, BUT you can switch to the calculator format by using parentheses, i.e. (4*5) is legal and will work.
In a few cases the parentheses are not needed, like in #IF that always expects a expression.
A easy way to start on scripting is to let TestController create the scripts for you. In the log window right click and select "Generate scripts". The list shown will vary depending on what popups are open. The "Log event" popup can generate a script to open itself or a script to do the same as "Log event". The last can be used to generate a charge and a discharge script and then manually combine them.
Not all power supplies are safe to use when charging batteries, some will discharge the batteries when output is turned off and it may even damage the power supply. In my testing I have a relay between the power supply and the battery and only turn on the relay when I am charging.