I’ve made a definition file that enables control of the output voltage but I’m a bit stuck now. The main problem is extracting the numbers from the data string when reading the “set values”. Are there any examples of how to use mathFormat & readmath?
Another goal I have is to be able to turn the outputs off - the manual says to send either “selected device clear” or “device clear” but I’ve tried every syntax I can think of but can’t get them to switch off.
It would also be nice if the outputs get set to zero and turned off when TC is closed.
Another idea:
You do not need the filter to avoid stopping due to a sample or two missing, you could also use the table functions:
tableCalcMax("Voltage",tableRows()-4)
A little confusion about table column numbers:
for example 22 Columns,
=tableColumns() Returns 22
Last 3 columns 20, 21 and 22 are Math. VoltageFilter.Filter, Math.Current.Filter, Math.Temp.Filter
(see Picture
=tableColumnName(19) Returns Math.VoltageFilter
So have to use the real column-number minus 1
Not an big problem, just for your information.
But why use the filtered column, why not use the original data column?
A small message for information.
When logging and discharging without doing anything,
I had a few dropouts in 3 hours.
When opening setup Popups for Riden6012 and ATDL24 a lot of dropouts..
Also a lot dropouts after eachother.
Okay I deleted it because I figured out that your prior response had already answered the question.
I don’t see a change with the new jar - maybe my syntax?
CLR
;; NGPS: Tx <CLR>
I don’t think the device supports [LLO] – I don’t see it in the manual.
No response from the device, just a blink from the address light.
TRG
;; NGPS: Tx <TRG>
;; NGPS: Tx <tx [TRG]>
;; COM9: Tx: <[TRG].> 5B 54 52 47 5D 0A
Sorry, I added it to SCPI/SCPIx driver code, now I have also added it to the ASCII driver code. It is still untested!
Two battery test functions have been added, they will discharge a battery with specified current, until voltage drops below minimum. The load sweep will also add some annotations and color to the chart.
As usually it is possible to view and reuse the code for home designed scripts.
I've seached, but how do I use the Battery discharge function with own made script?
In other words, I like to use the discharge popup in my own script.
Looks good for quick making settings.
Thanks in advance.
For the owners of the DL24 or PX100 I like to share my own script for Battery discharge test with Atorch DL24 and PX100.
Just wondering... has anyone used this program to log a frequency / time interval counter?
Nice script, would it be ok if I make a webpage with user scripts and put your script and explanation on it?
Just wondering... has anyone used this program to log a frequency / time interval counter?
#math Energy Wh SumTimeHour 0 (nameCurrent(load)+"*"+nameVoltage(load))