Show calibrated value as acquiring
3 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(1 个)
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 个评论
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Analog Input and Output 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!