07-15-2014 05:12 PM
Hey everyone. I am VERY new to LabView programming and working with a MyRio. I need to figure out how to measure the resistance of a 2 wire RTD to find a temperature utalizing the MyRio and LabView. I am pretty lost on how to do this. Does anyone know some good resources for making the LabView program off of the tops of their heads? I've figured out how to measure from specific pins, but I am not sure how to get it to constantly output a voltage from the output pins.
Eventually, I would like to have it display the temperature as well as have it turn on or off a heater depending on that temperature, but that will come far later in this process. First things first, how do I take temperature measurements utalizing LabView 2013 and a MyRio with a 2 Wire RTD.
Thanks so much!
07-16-2014 08:56 AM
Hi JoshEpstein87,
The myRIO can't acquire a change in resistance directly, so you'll need to somehow convert the change in resistance to a change in voltage. There are multiple ways to do this, but you'll need to build an external circuit and then read the voltage output with the myRIO. One example of a circuit that allows you to do this can be found here. To output a voltage on the analog output pins, you should just need to set the output voltage and then it will remain at that voltage until you change it or power cycle the myRIO.
To get started with LabVIEW and myRIO programming, see the following page:
http://www.ni.com/myrio/setup/getting-started/
There are some links to LabVIEW training as well as resources about RIO programming. I also highly recommend you check out the myRIO Community as there are example programs on there that you can take a look at to see how they are designed.
Best Regards,