Borrar filtros
Borrar filtros

Show calibrated value as acquiring

1 visualización (últimos 30 días)
Kay
Kay el 15 de Mzo. de 2011
Hello, I hope someone good at Matlab can help me on this issue!
What I can do so that the data in "getdata" is calibrated? What I mean is, can the scope show the units that i want instead of volts? I want to see the real time plot with the actual unit (mmHg, in my case), not volts!
thank you so much!

Respuestas (1)

Walter Roberson
Walter Roberson el 15 de Mzo. de 2011
You need to tell us more about what kind of device you are reading from and which interface driver you are using to the device.
  2 comentarios
Kay
Kay el 15 de Mzo. de 2011
I am using the USB-6009 from National Instrument!
My program is to read the blood pressure and blood flow from a rat!
After acquiring the data, I calibrate and transfer the data to mmHg and mL/min!
So, the data in "getdata" is all in Volts, I wondered if i can calibrate the data once it gets into "getdata"! (since i want to plot it at the same time!)
Walter Roberson
Walter Roberson el 15 de Mzo. de 2011
I would suggest using getdata() with 'type' 'native', shifting the resulting integer up so that the lowest possible value is 1, and using that as an index into a lookup-up table of calibrated values (I'm assuming the voltages might not be linear response.) I don't know at the moment how you would change the legend on the scope.

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by