i think I am missing the point and doing it all wrong.
I simply want to read the current channel input value. i.e. The current ADC reading.
It seems my only options are to use SCPI command to
1. :MEAS:ITEM? with one of the following {VMAX|VMIN|VPP|VTOP|VBASe|VAMP|VAVG|VRMS|OVERshoot|PREShoot|MARea|MPARea|PERiod|FREQuency|RTIMe|FTIMe|PWIDth|NWIDth|PDUTy|NDUTy|RDELay|FDELay|RPHase|FPHase|TVMAX|TVMIN|PSLEWrate|NSLEWrate|VUPper|VMID|VLOWer|VARIance|PVRMS|PPULses|NPULses|PEDGes|NEDGes} or
2. :WAV:DATA? to read the entire internal memory and then pick an arbitrary point to use as my reading.
Has any one come up with an elegant work around to simply get the current ADC value for a channel.
(1). above only gives results on a processed waveform and (2) seems like massive overkill.
I am currently using :MEAS:ITEM? VAVG like RoGeorge does here
https://github.com/RoGeorge/DS1054Z_data_logger which works for slowly changing voltages but no good when trying to sample at a point in time of my choosing for a varying signal.
I am thinking I have no choice but to use waveform and select a point in the array that is closest in time to my sample time.
I basically want to use the scope as an ADC and do the waveform analysis in software.
Any tips/hints/tricks warmly welcome.
ornea.