For power data, another command.
VA MEASURE 0x0124 4 R 0-40000 电压测量值,单位mV,量程40V
It was that address I meant, the 122 was a typo.
For 148 my documentation says: Battery discharge capacity test result, the unit is AH or WH
And it is probably only valid when load is configured to do battery discharge
It is easy to add a command to read any register, but for logging I only want register that always contains relevant data.
A command definition looks like this:
#scpiCmd VoltageM? holdingL? 0x0122 /1000
The M means measured value, the question mark must be present because it returns a value, the 122 is the register number and the /1000 is the adjustment to SI unit.
If you have some suggestions for more command, please test them carefully and then post them here. Defining commands removes the need to remember register number and command names are listed in the help array, making it easy to find it.