Measure the resistance change of a potentiometer

3 ビュー (過去 30 日間)
veado
veado 2016 年 6 月 27 日
回答済み: Emmanuel Aykara 2019 年 11 月 15 日
I'm using MATLAB 2015a.
I connected a potentiometer (Amphenol 4201B-10k) to a NI 9219 module using 2-wire resistance mode. I tried to acquire the resistance change of the potentiometer.
However, the measurement types only support 'Voltage', 'Current', 'Thermocouple', 'RTD', and 'Bridge'.
It seems that the 'resistance' is not on the list: http://uk.mathworks.com/help/daq/ref/measurementtype.html
How could I acquire the resistance change using MATLAB?
Thanks.
  1 件のコメント
Gabriel Werr
Gabriel Werr 2018 年 10 月 25 日
I'm also struggling with this problem for a custom RTD. Matlab made me go back to LabView for this!

サインインしてコメントする。

回答 (1 件)

Emmanuel Aykara
Emmanuel Aykara 2019 年 11 月 15 日
I believe that you can use the voltage and current measurement to get the resistance using the simple equation of
Voltage = Current x Resistance (V=IR)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by