RTD Temperature Measurements using LabView 2013 and MyRio

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!

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,
Matthew B.
Applications Engineer
National Instruments

Similar Messages

  • Frequency measurement using Labview 8 and Fieldpoint FP-CTR-502 - wind speed measure

    All the information regarding this kind of application seems to be outdated, I did not find no solution or example to construct frequency measurement VIs using Labview 8
    The examples at "NI Discussion Forums :
    Most Active Hardware Boards :
    FieldPoint Family :
    Low-Frequency measurements using counter/timer" is very strange and so far the steps given seems to be usefull only do old Fieldpoint Explorer.
    I was trying to find a way to learn how to make an anemometer send its signal to a FP-CTR-502 but I have no sucess.
    I am realy very new on this Labview stuff, any help would be welcome.

    (similar thread here)
    Message Edité par Mathieu R. le 12-23-2005 02:28 PM
    .mrLeft{float:left} .mrInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898}
    Mathieu R.  
      CTD - Certified TestStand Developer / Développeur TestStand Certifié  
      CLAD - Certified LabVIEW Associate Developer  

  • I am using DNET PCI card from other vendor and using Labview 2013

    i am using DNET PCI card from other vendor and using Labview 2013.
    is it possible to communicate with this DNET card?
    if so how do i find communication visa DNET ?
    please inform me how to find DNET examples.
    thanks,
    san

    Hi santh,
    I don't think it's possible to use a 3rd party DNET PCI with LV API.

  • Retrive the names of step measurements using LabVIEW

    How do you retrieve the names of a multiple numeric step's measurements using LabVIEW? 
    I've constructed a vi to call from TestStand, and will pass it "ThisContext", but the vi doesn't complie.  That's how far I got.  The vi is attached.  The error message is:
    "The method selected in the invoke node is invalid or no method has been selected.  Right-click the invoke node and select a method."
    My vi is an attempt to write the code from
    message.id=10653 in LabVIEW.  Specifically:
    Dim MyStep As [Step]
    Dim MyMeasurement As PropertyObject
    MyStep =
    seqContext.AsPropertyObject.GetPropertyObject("Step", 0)
    MyMeasurement =
    MyStep.AsPropertyObject.GetPropertyObject("Result.Measurement[0]", 0)
    MsgBox(MyMeasurement.Name)
     Can someone help me finish the vi?
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    Dev-GetMeasurementName.vi ‏8 KB

    You missed the the AsPropertyObject in "MyMeasurement =
    MyStep.AsPropertyObject.GetPropertyObject("Result.Measurement[0]", 0)". Checked out the attached.
    I cleaned up your code. Make sure you're closing every reference you get from TestStand or it'll yell at you when you shut the engine down.
    Attachments:
    Dev-GetMeasurementName.vi ‏12 KB

  • Problems with Serial Communication using Labview 6 and Solaris 8

    I am working on a Driver for a Temperature Controller. But I am stuck at the very basics. I am using Labview 6 and the platform is Solaris 8 on a SUN Ultra 60 Workstation. I can not get the Serial communication to work. When I am running raw (uncompiled) code it works (I can read from and write to ttya and ttyb) but once compiled I get error code 37 (device not found). I have tried the following steps to fix this with no luck.
    1) I made sure that the "serpdrv" file is in the same folder with the executable. I also make sure the serpdrv file is added as a support file when building the app.
    2) I changed from using traditional serial VI's to labview 6's new visa functions. With these "new" VI's when
    I try to initiliaze the visa device and wire a control to the "visa reference" input only 1 serial port shows up (ASRL2, missing ASRL1). I am not sure if this is part of same problem or whole new issue.
    3) I reinstalled both visa and labview 6.0.2 update hoping this would help with no luck
    4) I placed the following entry into the ".labviewrc" file
    labview.serialdevices: "/dev/ttya:/dev/ttyb"
    If anybody has had the same problem I would love to hear about it and if you have any solutions
    Jamie Shea

    Hi Jamie,
    1. Do you have NI-VISA driver installed on the machine on which you are running this executable?? If you are trying to run the executable on the same machine on which the development program has ran fine, then you can ignore this point.
    2. If you have done all the changes that are suggested by other discussions related to this topic, then try changing the Port input to Visa Serial Configure.Vi from a control to a constant and try it. In some case, I have seen this to do the trick. I think this point should solve your problem. If it does do tell me. :-))

  • Curently using LabView 2013 is there anyway to use cFP-1808 with this version LabView?

    How can I use older hardware that 2013 doen't support without uninstalling 2013 and going back to a version that does support it? I'm starting to wonder why upgrade when it will obsolete hardware you already own, Previous upgrades still showed older versions of LabView but 2013 doesn't.

    Hello Rod,
    If you install LabVIEW 2013 and FieldPoint driver 6.1, you should be able to add a cFP-1808 to your LabVIEW project. Did you reinstall drivers after upgrading to 2013? If you don't do this, cFP support won't be added to LabVIEW. Are you getting another error or warning when trying to recognize the target from LabVIEW?

  • Can I use Labview 2013 on 64bit and 32bit PC interchangeably?

    Hello,
    I am currently running Labview 2013 base package on Windows 7/64 bit laptop PC, which is not permanently kept in the lab.  I need to buy a 32-bit desktop PC to operate a non-Labview application, but, it would be very convenient to use the new 32-bit machine to run Labview also, since it WILL BE permanently in the lab.  Then, I wouldn't have to be connecting/disconnecting the laptop in the lab every time I am doing system development.
    Can I load my version of Labview 2013 on a Windows 7/32-bit desktop system and write/run VIs the same way I currently do on my Windows 7/64-bit laptop?
    If the 32-bit and 64-bit are interchangeable, then, I would get a higher end 32-bit system.  If they are not, then, I will get the cheapest 32-bit system available, and dedicate it to the non-Labview application.
    Thanks,
    Dave
    Solved!
    Go to Solution.

    dav2010 wrote:
    I am currently running Labview 2013 base package on Windows 7/64 bit laptop PC, which is not permanently kept in the lab.  I need to buy a 32-bit desktop PC to operate a non-Labview application, but, it would be very convenient to use the new 32-bit machine to run Labview also, since it WILL BE permanently in the lab.  Then, I wouldn't have to be connecting/disconnecting the laptop in the lab every time I am doing system development.
    You seem to be confusing a few things.
    A typical PC can run either a 32 bit windows or 64 bit windows 7. The 32 bit version can only support up to 4GB of RAM, while the 64 bit does not have this limitation.
    Both versions can run 32 bit applications and most applications are still 32 bit. (In contrast, a 64 bit application cannot run under a 32 bit OS).
    With respect to LabVIEW, a typical installation uses LabVIEW 32 bit, independent of the bitness of the OS. (There are very few specializes scenarios where 64 bit LabVIEW is even useful). I assume that your LabVIEW is 32 bit on your current 64 bit PC. Is this assumption correct?
    With the current RAM prices, and keeping memory upgrades in mind, it does not make a lot of sense to even install a 32bit OS (except maybe on a cheap netbook). 64bit Windows can run 32 bit applications just fine. Are you sure that your special application is an exception here?
    In any case, VIs are freely interchangeable between LabVIEW 32 and 64 bit (and even mac and linux). When moved to a new platform, they simply recompile automatically.
    dav2010 wrote:
    Can I load my version of Labview 2013 on a Windows 7/32-bit desktop system and write/run VIs the same way I currently do on my Windows 7/64-bit laptop?
    If your version is Labiew 2013 (32 bit) (and I assume it is!), you can run it on both systems. If you are currently using LabVIEW 64 bit (unlikely), you need to install LabVIEW 32 bit on the 32 bit machine. Even in that case, theVIs are fully interchangeable.
    LabVIEW Champion . Do more with less code and in less time .

  • Strain measurements using labview and DL750 scopecorder

    Hi
    I want to use labview to do strain measurements using DL750 Yokogawa Scopecorder. I have installed the DL750 drivers and I  can access them from labview, but I am a bit lost as to getting to communicate with the scopecorder, setting up measurements and so on. I am all new to strain measurements and to labview, is there a link or a tutorial that anyone would recommend I refer to?
    Regards, tickle

    Hi Tickle
    It looks like the driver you are using is supported by a third party. I took a look at the driver you are using and it has a couple of examples included with it. I would recommend taking a look at these examples as they are normally a good starting point for communicating with your device. Has anyone else used this device in LabVIEW?
    Best Regards,
    Adam G 
    National Instruments
    Applications Engineer

  • Temperature Measurement using Iex Thermistor with PCI 6259

    Hello All,
    I am having some difficulty measuring temperature using MAX with Iex Thermistor setup, and would like to know if I have missed any thing important. I am using external current excited thermistor with 2 wire configuration and PCI 6259 card with MAX.
    This is a channel that was originally configured to Voltage measurement and MAX measures about 900mV from this channel OK, the voltage converts to Temperature to be around 30C. Then I added a new channel and configured it to measure temperature directly using MAX default Iex Thermistor setup. This is when the problem show up: I will get a constant -273C instead of 30C as expected when run the channel in MAX. I must have been doing something wrong here.
    Your help is greatly appreciated!
    Bryan
    Solved!
    Go to Solution.

    Hi Ravens, thank you for taking the time on this problem.  I am sure the issue was not caused by the A, B, C parameters being wrong, as when I ran the channel in MAX, I am getting a constant -273.15 value, and it was not updated as a real measurement.
    To your 2nd question, this is a case of measuring 1 thermistor value using the Iex Thermistor method vs. Voltage measurement.  If I set it up to measure Voltage directly, I can see the realtime updates of the measurement values of voltage, which converted to Temperature in my VI to be reasonable values of temperature.
    Bryan

  • Complete hardware simulation using LabView, Multisim, and MAX (easy answer accepted!)

    Hello, all!
    Sorry, I'm new, but I've checked around for a definitive answer on this, but I'm not 100% sure.  I'm learning LabView for an upper-division Physics class.  We're using NI hardware (DAQ-MX) and a mix of lab hardware - primarily basic stuff such as voltmeters, oscilloscopes, and breadboards with simple components.  I'm also doing some work with NIM instrumentation, but that's secondary to my needs here.  So, when I'm away from school, is it possible to do a complete simulation of my classwork using LabView, Multisim (for my breadboard), and the Measure and Automation Explorer (for the DAQ-MX)?  I know that I can create a circuit and drop it into Labview, but I'm not so sure about the DAQ.  I'm hoping for something that's a "seamless" recreation of what I'm doing in class.  I can take a simple "yes" or "no"; as long as I know that it's possible, I can look for the solution.
    Thanks for the help!
    Solved!
    Go to Solution.

    I have an easy answer and a harder answer:
    Easy Answer
    You can simulate almost any NI instrument in MAX.  Right click the Devices and Interfaces item in the left pane and select Create New...  Unfortunately, this limits you to whatever the driver designer thought would be a good signal.  It is good for simple testing, but you will rapidly run into its limitations.
    Harder Answer
    Use LabVIEW classes to make a hardware abstraction layer.  This my seem like an advanced topic for a beginning LabVIEW programmer, and it is, but it also neatly solves the problem of switching between simulation VIs and real acquisition VIs without writing a bunch of switching code.  In short, you create a LabVIEW class which has the interface you want for you data acquisition.  This can be your simulation code.  You then create a child class which has exactly the same interface, but uses the DAQmx/NI-SCOPE/NI-DMM/etc. that you really want to use.  Switching between the two is as simple as selection the class you want to use at run time.  This is a lot of info in a short time.  If you want to go this route, read the LabVIEW help on LabVIEW classes and work through the examples.  I would encourage you to do this, since the sooner you learn how to effectively use object-oriented LabVIEW, the easier your life will be.
    As a further bit of information, most of the measurement instrument groups (e.g. NI-SCOPE, NI-FGEN, NI-DMM, etc.) allow you to simulate an instrument if you use the open with options VI instead of the standard open VI.  The inputs are rather arcane, but get the job done.
    Let us know if you have further questions.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Unable to edit document from SharePoint 2007 using Office 2013 and IE 11

    I am getting the following error when I try to edit a document from SharePoint 2007: "Edit document
    requires a Windows Sharepoint services-compatible application and Microsoft Internet Explorer 6.0 or greater". I am using Windows 7 with Office 2013 and Internet Explorer 11. Troubleshooting steps that I've tried so far (that haven't worked) are as follows:
    1) repaired Office; 2) switched from 64 bit version of IE to 32 bit version; 3) moved the owssupp.dll from C:\Program Files (x86)\Microsoft Office\Office14\ to C:\Program Files (x86)\Microsoft Office\Office15; 4) tried removing old versions of Office (but
    I still need to use Office Communicator 2007 r2 and couldn't figure out how to get rid of the Office14 files from Program Files); and 5) running SharePoint in IE compatibility mode. Please advise...thanks!

    Hi,
    It seems you installed mixed version Office2007/2010/2013 on your client machine?
    I would suggest you remove all Office 2007 and 2010 version, and reinstall Office 2013(include Office Tools->Microsoft SharePoint Foundation Support component) on your machine, and make sure "Open SharePointDocuments class" add-on is enabled
    from IE11, then check if it could fix the issue.
    If above works, please test again after installing the Office Communicator 2007 r2 on your machine.
    http://social.microsoft.com/Forums/en-US/3e8c0976-2794-49a2-92fe-6a254b3cc4ca/a-microsoft-sharepoint-foundation-compatible-application-could-not-be-found?forum=projserv2010setup
    http://blogs.technet.com/b/emeaoffice/archive/2013/04/29/you-get-an-error-message-when-you-open-an-office-file-from-sharepoint-on-a-computer-on-which-you-installed-more-than-one-version-of-office.aspx
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Daniel Yang
    TechNet Community Support

  • Process Failure when communicating over MODBUS using LabVIEW 2011 and DSC

    I'm currently trying to read from a PLC's holding registers using MODBUS/TCP. I've confirmed that the PLC is updating the values and responding to MODBUS communication correctly using a third party program called Modbus Poll. However, when I try to poll the PLC using LabVIEW's shared variable engine, I am unable to read any values from the same addresses that I'm viewing with Modbus Poll.
    My setup simply consists of a PC connected directly to the PLC over Ethernet, with no router in between. I am using LabVIEW 2011 SP1 with the DSC module.
    I opened the NI Distributed Systems Manager to view the status of all shared variables in the Modbus library that I created and I've noticed that the CommFail bit is permanently set to "true". All other variables with a "read" access mode report "Process Failure". I've tried restarting the process as well as stopping and starting the local variable engine with no success. I've also restarted my computer several times to see if any services were failing, but this does not seem to have fixed the problem.
    I finally resorted to monitoring communications over the network card that I have the PLC plugged into via Ethernet using Wireshark and I've found that while Modbus Poll is communicating with the PLC, many MODBUS and TCP packets are sent and received. However, when solely using LabVIEW or the NI DSM to communicate with the PLC, there does not appear to be any communication over the network card.
    Something that may be worth noting is that I was able to communicate with the PLC and read values from it with the DSM on just one occasion, when I first figured out which addresses I should be reading from. It all stopped working shortly thereafter. Prior to this, "CommFail" was not usually set to "true" with my current configuration. Thinking that it was my firewall, I have since turned my firewall off, but this seems to have had no effect on the problem either.
    Any help on this matter would be appreciated.
    Solved!
    Go to Solution.

    Just a thought but I think the  register addresses used by LabVIEW are one off of the actual register #.  I was using a CRIO as a modbus IO Server and had to shift the register addresses by 1 to get things to work correctly (can;t recall if it was +1 or -1).  This is documented somewhere on ni.com but can;t seem to find it now.  But here is another  link that may help:
    http://zone.ni.com/reference/en-XX/help/371618E-01/lvmve/dsc_modbus_using/
    Dan

  • Using LabView, Arduino, and Easy-Driver to control a Stepper Motor

    Hello fair folks of the LabView forums!
    I am a humble engineering student in need of some advice and input on a project I am working on.
    I’ve also done a fair amount of reading on the LabView forums with people trying to use LabView and Arduino to control stepper motors, and I’ve used as much information from each as I could. However the problem I'm encountering now is one which is unique to my VI Configuration.
    So, here is what has been done thus far:
    -Installed LabView Interface for Arduino [LIFA]
    -Installed necessary VISA drivers for LabView to communicate with arduino
    -Uploaded firmware to Arduino to allow it to communicate with LabView
    -Properly wired Stepper Motor with Easy Driver and Power Supply; I have verified this by first using the Arduino independently of LabView, using example code found here.
    -I have created a VI, and have just recently got it to run without reporting back any errors. While I suspect the behavior I’m encountering has to do with something inside the VI, it is difficult to determine as there are no errors being reported!
    But here is general problem I am encountering:
    -Connect Joystick to USB Port, connect Arduino to USB Port.
    -Plug in outlet for Power Supply
    -Open LabView VI
    -Run LabView VI
    -LabView successfully detects Joystick, and Arduino.
    -Tilt Joystick; Stepper Motor moves in proper direction, but it only takes a single step. If held, it does not move further. If returned to zero, and then tilted, it again only takes a single step.
    I know that in the example code, the Arduino issued the step command by writing the signal from LOW to HIGH, and varied the speed by how often it did this.
    I assumed that the Write-PWM feature would do this same thing, but perhaps my assumption is wrong. I will continue to tinker with this myself, but I would be extremely grateful for any insight you might be able to lend.
    I’m thinking, if not the Arduino Write-PMW feature perhaps a simple timing-sequence that could be used to alternate between writing 0 and 1, with the timescale of the sequence being scaled to the X-Axis from the Joystick. But, I am open to suggestions, and certainly appreciate any thoughts you may have to offer!
    Attached to this is the VI used in this setup, a picture of said VI, as well as a rough sketch of the hardware configuration.
    Thank you!
    Attachments:
    Arduino Stepper Control.vi ‏1224 KB
    VI Picture.png ‏82 KB
    Configuration Sketch.png ‏522 KB

    Hi danjifraga,
    I am not so familiar with the Arduino toolkit functions, but you may have better luck looking at the Arduino page at:
    www.ni.com/arduino
    I'll ask around on Monday to see if anyone is more familiar with the toolkit.
    Good luck,
    Brian
    Brian G.

  • Using Labview speaker and microphone with multisim

    I've just installed the student version of Circuit Design Suite
    10.0.  When I try to use the supplied Labview speaker and microphone all of
    the controls are greyed out.  I'm able to use the Labview signal analyzer
    and the signal generator just fine.
    I'm using Windows XP Pro and have a 2.4 GHz Pentium 4 processor with 1.5 GB
    of RAM.
    Is there something I can do to allow me to use the speaker and
    microphone?
    Rich Green

    The speaker and microphone are not real-time components, you need to give it time to acquire the data, only when it finish the button will be active.  For this feature to work, you need an actual microphone to be connected to your machine and if you talk into it, it will capture you voice and can send it out through your computer speaker. 
    Tien P.
    National Instruments

  • Hi, I'm new to Labview...​How do I export Data to a spreadshee​t from an agilent 8510c using labview 6 and the VI from the NI site?

    Hi, I'm trying to export data to a spreadsheet from an Agilent 8510c to a laptop(Win XP) using a PCMCIA-GPIB card, Labview 6 and the VI from the NI site. How do I do this? Ideally I'd like the Magnitude and Phase Data, as pairs for each frequency point, but the Real and Imaginary pairs can work just as well. Any help would be greatly appreciated.

    When you say the "VI from the NI site", I'm going to assume that you mean the HP8510C driver. If that's the case, then VI called HP8510C Application Example should be your starting point. It returns two 1D arrays - real raw data and imaginary raw data. These can be combined with a Build Array function and the resulting 2D array can be wired to the Write to Spreadsheet File function. This will create a tab or comma separated file that Excel or any other spreadsheet program can import. The very simplest program would look something like the attached picture. You may need to modify the instrument program to suit your requirements but this should get you started.
    Attachments:
    HP8510C_and_Spreadsheet_Write.jpg ‏5 KB

Maybe you are looking for

  • Apache 2.4 problem with SSL

    hello, i have updated my configuration to apache 2.4, i replaced my httpd.conf with the pacnew one. I use mod_mpm_prefork.so. i can access regular websites (http) and php is ok. Nevertheless i have an handshake error when i try to access https websit

  • Pages 5.2.2 won't "send to back"

    Hi, I have recently upgraded my Pages version to 5.2.2.  I am having an issue moving an image backward.  If I click "Send to Back" it won't go behind my text.  I have gone into Format-Arrange and used the 'Send to Back' icons, and have also used the

  • SQL Query: How to pass list of values to the IN operator

    Hi, I'm trying to pass a list of values to the WHERE <a> IN <list> I dont want to use dynamic cursors (REF CURSOR). Is this possible using Oracle SQL? Please let me know. My program: DECLARE list_of_ids := '10, 20, 30'; SELECT MAX(sal) INTO max_sal F

  • How can I open "Place..." dialog from my plugin?

    Hello All, There is a "Place..." item in  "File -> ...". If we can click on "Place...",  "Place" dialog will open and asks for .ai file to place the whatever the art is there in that file in the current document. Right. Now what I want is, if I click

  • Problem with frame script

    My project has two frames, each with the same frame script attached. The only command is "go the frame", to keep the playback head stationary. The script executes in one frame and is ignored in the other. Debugging verifies that the playback head doe