Hi Jeremy,
The only way I've found to get the units of a math channel when those aren't custom is display:waveview1:cursor:cursor1:hbars:aunits?
, this will query the units of the currently selected waveform view. To select a waveform, view you can do display:waveview1:cursor:cursor1:asource math2
.
Cursors do not have to be enabled for this work.
Note this will only get you the unit, not the scale, for that you can use the commands we previously discussed.