Effacer les filtres
Effacer les filtres

How to get correct data from OSC Agilent?

2 vues (au cours des 30 derniers jours)
Hase
Hase le 9 Fév 2016
Modifié(e) : Vinod le 10 Fév 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.

Réponse acceptée

Vinod
Vinod le 10 Fév 2016
Modifié(e) : Vinod le 10 Fév 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).

Plus de réponses (0)

Catégories

En savoir plus sur Data Acquisition Toolbox Supported Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by