LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW and MyRIO

When using a MyRIO with LabVIEW, does it receive current or voltage values?

0 Kudos
Message 1 of 22
(2,939 Views)

How to measure temperature with thermistor and NI myRIO? Kindly request your suggestions regarding this. Please provide any links if possible. 

0 Kudos
Message 2 of 22
(2,931 Views)

@haroumou9 wrote:

When using a MyRIO with LabVIEW, does it receive current or voltage values?


The answer is "Yes".  Do you know "Ohm's Law", which I learned as "E = IR" (or, in words, Voltage = Current * Resistance")?

 

The myRIO has A/D converters, which generally convert voltages (typically in the range ±5 V) to a 16-bit integer.  You need to know a little bit of electrical circuit theory (what you might learn in a decent high school physics class, should certainly learn in a first-year Circuit course in college), and should understand what to do if the voltage you want to measure is in the kV or µV range.

 

Bob Schor

Message 3 of 22
(2,926 Views)

Thank you so much for your response. I was trying to use a thermistor to measure temperature with the use of a myRIO. Do you know how I should be able to do that?

 

I was thinking about using a voltage divider, but I was confused. 

Circuit.PNG

0 Kudos
Message 4 of 22
(2,912 Views)

Would it be possible to use a thermistor and a NI MyRIO to measure temperature?

 

I was planning to use a voltage divider to do this as shown below

Circuit.PNG

With the use of "V", I was planning to connect that terminal point where "V" is located to the myRIO to measure temperature. Is this possible? Is it possible to send a voltage value to a myRIO to measure temperature with a thermistor?

 

Kindly request your valuable suggestions regarding this. Please provide any educational websites or links if possible. 

0 Kudos
Message 5 of 22
(2,911 Views)

Yes it is possible to measure the temperature.

Below link consists of a document which explains how to measure temperature using LabVIEW and USB DAQ, the concept behind is similar to myRIO as well.

https://zeus.phys.uconn.edu/wiki/images/LabViewThermistor.pdf

 

-Rahul

Hit KUDOS for Thanks

 

Message 6 of 22
(2,887 Views)

With this link, I found a method to use a NI DAQ to measure temperature with the use of a thermistor. However, for the method shown in the link, would it be possible to use a NI MyRIO instead of a NI DAQ device. If it is possible, what changes need to be made. 

 

Link to method: https://zeus.phys.uconn.edu/wiki/images/LabViewThermistor.pdf

 

I am looking forward to hearing from you.

0 Kudos
Message 7 of 22
(2,846 Views)

Hi haroumou,

 


@haroumou9 wrote:

With this link, I found a method to use a NI DAQ to measure temperature with the use of a thermistor.


No, you didn't "found" that method, but you were told to use it…

 


@haroumou9 wrote:

 However, for the method shown in the link, would it be possible to use a NI MyRIO instead of a NI DAQ device. If it is possible, what changes need to be made.


You already were told you can use this method to convert a thermistor measurement into a temperature value.

You just need to implement this formula (I would use a plain subVI instead of that ExpressVI) in you rmyRIO project!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 8 of 22
(2,842 Views)

Hi, 

With your suggestions, I have created a myRIO file and wanted to see if my VI should work.

 

Presentation Explanation.PNGTemperature_VI.PNG

 

0 Kudos
Message 9 of 22
(2,833 Views)

Hello Everyone,

With all the valuable suggestions gotten from the NI Community, I have been working on my Temperature VI and wanted to get your suggestions. The method I have been using can be seen in the link below.

 

Method Using: https://zeus.phys.uconn.edu/wiki/images/LabViewThermistor.pdf

 

With the method in that link, I have created my VI and it is shown below:

Temperature_VI.PNG

 

Kindly request your suggestions if my Temperature VI should work. 

 

However, currently with my Temperature VI, there is an issue, The issue is shown below. 

 

Error.PNG

 

Kindly request your suggestions regarding all of this.

0 Kudos
Message 10 of 22
(2,833 Views)