modular-psu-firmware
modular-psu-firmware copied to clipboard
sens:dlog:trace:data doesn't accept units and scales
Most SCPI commands of the BB3 appear to accept units and scales ('source:volt 10mV' works)
The 'sens:dlog:trace:data' doesn't accept scales and/or units. The units are not very important (you set them seperatly anyway) but the scale is nice to have. This allows for logging of data that scales in it instead of only numerical values.
Looking at the SCPI documentation of the BB3 it is also not clearly specified if units and scales are allowed or not if the type is NR2. For consistency I would like to support it everywhere in the same way.
In case of the 'sens:dlog:trace:data' command a check if the correct unit is given can be skipped, but you need the unit in order to give the scale.
Examples I would like to see working:
sens:dlog:trace:data 10mV sens:dlog:trace:data 123.2mV sens:dlog:trace:data 0.1mA