Filter löschen
Filter löschen

How to get correct data from OSC Agilent?

2 Ansichten (letzte 30 Tage)
Hase
Hase am 9 Feb. 2016
Bearbeitet: Vinod am 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.

Akzeptierte Antwort

Vinod
Vinod am 10 Feb. 2016
Bearbeitet: Vinod am 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).

Weitere Antworten (0)

Kategorien

Mehr zu Data Acquisition Toolbox Supported Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by