Borrar filtros
Borrar filtros

How to get correct data from OSC Agilent?

2 visualizaciones (últimos 30 días)
Hase
Hase el 9 de Feb. de 2016
Editada: Vinod el 10 de Feb. de 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.

Respuesta aceptada

Vinod
Vinod el 10 de Feb. de 2016
Editada: Vinod el 10 de Feb. de 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).

Más respuestas (0)

Categorías

Más información sobre Data Acquisition Toolbox Supported Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by