Show calibrated value as acquiring

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!

Answers (1)

Walter Roberson
Walter Roberson on 15 Mar 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 Comments

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!)
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.

Sign in to comment.

Asked:

Kay
on 15 Mar 2011

Community Treasure Hunt

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

Start Hunting!