필터 지우기
필터 지우기

Show calibrated value as acquiring

조회 수: 1 (최근 30일)
Kay
Kay 2011년 3월 15일
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!

답변 (1개)

Walter Roberson
Walter Roberson 2011년 3월 15일
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
Kay
Kay 2011년 3월 15일
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 2011년 3월 15일
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.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by