How to get correct data from OSC Agilent?

3 views (last 30 days)
Hase
Hase on 9 Feb 2016
Edited: Vinod on 10 Feb 2016
Dear Support team,
I am trying to get data from Agilent OSC DSOX96204Q using "binblockread()" function, but the retrieved data is not correct. The OSC is always displays streaming continuous data and I can not acquire correct data from OSC. How can we get correct data?
+ By acquiring instantaneous signal using a loop?
+ By acquiring signal in many times with interval for each time? If this is the case, what is the parameter on the instrument device need to setup for the acquiring signal?
Thank you
Hase.

Accepted Answer

Vinod
Vinod on 10 Feb 2016
Edited: Vinod on 10 Feb 2016
Have you seen this example:
Notes:
  • You will likely have to modify the SCPI commands to match your scope model
  • If you modify the code, remember that the 2 main reasons for the data not coming back correctly are incorrect ByteOrder (you're reading bigEndian while the scope is sending back littleEndian data, for example) or incorrect precision (the scope is sending back uint16 data and you are reading int16 data, for example).

More Answers (0)

Categories

Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!