Why do you need a #askValuesMathFormat if you already have scaled the values correctly? mathFormat is not easy to use when you have many values, because you need to process everything in one expression.
If you need to get rid of units use #askValueReadFormat.
HKJ,
The readmath does not work correctly under #scpiCmd see below I get NaN
#scpiCmd RMA? txrx? RMA
:readmath: (value/10000)
;; 01:59:28.445 FY6800: Tx <RMF?>
;; 01:59:28.445 FY6800: Tx <txrx? RMF>
;; 01:59:28.454 COM5: Tx: <RMF.> 52 4D 46 0A
;; 01:59:28.454 COM5: Rx: <00010000.000000> 30 30 30 31 30 30 30 30 2E 30 30 30 30 30 30
;; 01:59:28.454 FY6800: Rx <00010000.000000>
;; 01:59:28.454 FY6800: Tx <RMA?>
;; 01:59:28.454 FY6800: Tx <txrx? RMA>
;; 01:59:28.459 COM5: Tx: <RMA.> 52 4D 41 0A
;; 01:59:28.459 COM5: Rx: <50000> 35 30 30 30 30
;; 01:59:28.459 FY6800: Rx <=5>;; 01:59:28.459 FY6800: Tx <RMO?>
;; 01:59:28.469 FY6800: Tx <txrx? RMO>
;; 01:59:28.477 COM5: Tx: <RMO.> 52 4D 4F 0A
;; 01:59:28.482 COM5: Rx: <0> 30
;; 01:59:28.488 FY6800: Rx <0>
;; 01:59:28.494 FY6800: Tx <RMD?>
;; 01:59:28.500 FY6800: Tx <txrx? RMD>
;; 01:59:28.509 COM5: Tx: <RMD.> 52 4D 44 0A
;; 01:59:28.515 COM5: Rx: <50000> 35 30 30 30 30
;; 01:59:28.520 FY6800: Rx <50000>
;; 01:59:28.526 FY6800: Tx <RFF?>
;; 01:59:28.533 FY6800: Tx <txrx? RFF>
;; 01:59:28.541 COM5: Tx: <RFF.> 52 46 46 0A
;; 01:59:28.547 COM5: Rx: <00010000.000000> 30 30 30 31 30 30 30 30 2E 30 30 30 30 30 30
;; 01:59:28.553 FY6800: Rx <00010000.000000>
;; 01:59:28.559 FY6800: Tx <RFA?>
;; 01:59:28.565 FY6800: Tx <txrx? RFA>
;; 01:59:28.573 COM5: Tx: <RFA.> 52 46 41 0A
;; 01:59:28.580 COM5: Rx: <50000> 35 30 30 30 30
;; 01:59:28.586 FY6800: Rx <50000>
;; 01:59:28.593 FY6800: Tx <RFO?>
;; 01:59:28.599 FY6800: Tx <txrx? RFO>
;; 01:59:28.608 COM5: Tx: <RFO.> 52 46 4F 0A
;; 01:59:28.615 COM5: Rx: <0> 30
;; 01:59:28.621 FY6800: Rx <0>
;; 01:59:28.628 FY6800: Tx <RFD?>
;; 01:59:28.634 FY6800: Tx <txrx? RFD>
;; 01:59:28.642 COM5: Tx: <RFD.> 52 46 44 0A
;; 01:59:28.648 COM5: Rx: <50000> 35 30 30 30 30
;; 01:59:28.655 FY6800: Rx <50000>
;; 01:59:28.661 FY6800: Rx as numbers <10000.0 NaN 0.0 50000.0 10000.0 50000.0 0.0 50000.0>