Ok, i got it:
;; HAMEG7044: Tx <status? 1>
;; HAMEG7044: Tx <txrx? READ
:readmath: getElement(value,2,";")
:readmath: getElement(value,0)>
;; COM3: Tx: <READ.> 52 45 41 44 0D
;; COM3: Rx: <12.00V 05.00V 30.00V 30.00V ;1.000A 1.758A 1.968A 3.000A ;OFF F1 OFF F2 OFF F3 OFF F4 > 31 32 2E 30 30 56 20 30 35 2E 30 30 56 20 33 30 2E 30 30 56 20 33 30 2E 30 30 56 20 3B 31 2E 30 30 30 41 20 31 2E 37 35 38 41 20 31 2E 39 36 38 41 20 33 2E 30 30 30 41 20 3B 4F 46 46 20 46 31 20 4F 46 46 20 46 32 20 4F 46 46 20 46 33 20 4F 46 46 20 46 34 20
;; HAMEG7044: Rx <OFF>
;; HAMEG7044: Rx as number <NaN>
;; HAMEG7044: Cache Tx: <getV? 1> Rx: <12.00>
;; HAMEG7044: Rx as number <12.0>
;; HAMEG7044: Cache Tx: <getC? 1> Rx: <1.000>
;; HAMEG7044: Rx as number <1.0>
The result can be: OFF, CC or CV
I think i must change it to 0, 1 and 2
Iwill use these values for LED or Light Buttons to Show the status in Setup or Gridpanel (my Favorit).
The Fuse and Channel i will do next Time, this is not so important.
Next Problem:
#cmdSetup buttonsOn CH-1
:read:
:updatealloff:
Off off
On on
This Buttons works ok, but i dont know which :read: Command i must use for the Red/Green Light?
For better understanding in TC i have convertet all 35 Help Pages in one PDF File.
So i can search for every Command or whatever.
But my Problem is understanding of the most Commands, because i need a little Example for better understanding.
For Example: replace(string,from,to)
Maybe i can replace string with value but what for is from,to?
I do never programming but iam lucky to ask Question here in Forum
![Smiley :)](https://www.eevblog.com/forum/Smileys/default/smiley.gif)
Thx for your Help again.