Unrelated curiosity. Is this the expected use for readmath in these cases?:
#cmdSetup info CH1_Filter CH1
:read: :CHAN1:FILT?
:readmath: replace(replace(replace(replace(replace(replace(value,"NONe","None"),"AMPLitude","Amplitude"),"200000000","200M"),"100000000","100M"),"50000000","50M"),"20000000","20M"));
:tip: Channel filter status.
#cmdSetup combobox CH1_Filter CH1
:write: :CHAN1:FILT
:read: :CHAN1:FILT?
:readmath: getElement("200000000,100000000,50000000,50000000",listIndex(value,"200M,100M,50M,20M"));
:readmath: replace(replace(value,"NONe","None"),"AMPLitude","Amplitude"));
:update: CH1_Filter
:updatedelayed: 0.1
None NONe
Amplitude AMPLitude
200M 200000000
100M 100000000
50M 50000000
20M 20000000
:tip: set Channel filter.
The info box worked fine, but the combobox required separating readmath as shown. Is that how it should be done, or is there a better method?
Thanks,
Josh