How to get correct data from OSC Agilent?

3 visualizzazioni (ultimi 30 giorni)
Hase
Hase il 9 Feb 2016
Modificato: Vinod il 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.

Risposta accettata

Vinod
Vinod il 10 Feb 2016
Modificato: Vinod il 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).

Più risposte (0)

Categorie

Scopri di più su Data Acquisition Toolbox Supported Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by