Interfacing temperature sensor LM35 with Labview

I would like to know the best possible way by which I can interface a temperature sensor LM35 with Labview for monitoring the temperature of patients that can be incorporated into a patient monitoring device that includes monitoring of ecg, hrv, spo2 and cuffless bp (calculated using PPT, pulse transit time).

Sorry no Danny, thanks to Dennis_Knutson,
By some how you have cleared my confusion a little bit, now i will apply it practically and will ask queries if having any problem.
I appreciate to you quick response Dennis_Knutson

Similar Messages

  • Has anyone interfaced an Instron 5500 with Labview?

    I'm trying to get my company to buy labview.  If I can get it to control an Instron 5500 they will be sold.  Has anyone attempted to do this?  Instron tells me that they do not have Labview drivers.

    I did a couple of Instrons with Labview a few years back, but they were older models (2725 and 2734 if my memory serves me right for numbers). I wrote the daq and machine control software in Labview from scratch. Neither of these machines was new enough to have a GPIB port, they were the type with the old mechanical recorder outputs. I had to re-work some of the machine mechanics and electrics to take a custom interface adapter from a NI Lab 1200 Daq card. I also had to build a custom extensometer for one unit. I don't know if I could be of any help to you, but I would be willing to work with you via e-mail and offer what assistance I can. I have 38 years in custom machine controls and general process instrumentation, so I have quite an extensive background to call upon. If you are interested drop me an e-mail at:
    [email protected]
    Dave

  • Interfacing a piezioelectric actuator with Labview

    im looking at controlling a Melles Griot piezoelectirc actuator with Labview to obtain real time data of voltage vs displacement. However, i do not know how to write the program for a closed loop function block. Ie, i need to ask the actuator to move a distance by applying a suitable voltage when there is resistance to motion.

    Unless you are using LabVIEW RT on a PXI system it's not a good idea to do control loops in LabVIEW or any other Windows based software. On Windows the timing behavior is not deterministic. That means the loop cycle time varies. The loop cycle time directly influences the control algorithm. The faster a PID loop runs, the lower your Kp, Kd, Ki values need to be. Thus on a system like Windows without deterministic timing it's hard or even impossible to get a stable system.
    A much better choice is the use of a motion control board, e. g. the PCI-7344 or PCI-7342 board. These devices run the PID loop onboard in realtime and you only need to set parameters like travel distance, speed and acceleration. You can use quadrature encoders or analog signals as feedback signals and
    with the latest release of the driver software, NI-Motion 6.0 there is also an assistant included that helps you to eliminate the effects caused by static friction that are immanent to piezo systems.
    Please visit the following link to get more information:
    http://www.ni.com/motion
    Best regards,
    Jochen Klier
    Applications Engineering Group Leader
    National Instruments GERmany GMbH

  • Interfacing a network HUB with LabVIEW.

    I want to converge three data inputs, in which two are video outputs from an IP converter and one is from cRIO 9012, to a single point and transmit it wirelessly to my Laptop. Is it possible to do it using a network HUB and please guide me how to distinguish different type of data coming from a network HUB using LabView?
    Regards
    Ali
    Solved!
    Go to Solution.

    Ali bin Wahid wrote:
    Yes these all are giving output through Ethernet!
    My knowledge about networking is not that good so I don't know what is the network bandwidth of wireless router we'll use. Can you please tell me what is bandwidth of typical Wireless Routers? Will a typical Wireless router be able to handle a single video input from video converter and data input from cRIO 9012?
    That's entirely dependent on the wireless protocol that's used (a, b, g, n), the distance on the devices from the router, and any interfering items (like walls, big metal slabs, that sort of thing). You really need to read the specifications on the wireless router that you have.
    So basically what you mean by saying "everything is on one flat network" is that we don't need to worry about seperating data coming from video converter and cRIO. LabVIEW will handle it all by itself?
    Not directly. You have to open connections to devices (or accept connection requests from devices), and then you send/receive data over that connection. Please take a look at the TCP/IP examples that ship with LabVIEW.

  • Interfacing SRF04 range finder with LABview

    Hi all,
    I have a project to use the SRF04 ultrasonic range finder to measure the height of the person, I already interface it to the computer with using the labview but the problem is that the readings are strange and I can not calculate the distance
    can anybody help?
    Thanks,

    Dear Basil,
    I’m struggling to get this sensor connected to the NI USB- 6009 DAQ. this is the only DAQ that we manage at the University that therefore i don´t have choise. I´ve purchase an externa supplier that can provide me the 30mA, however i´m not able to adquire the Data from the DAQ, is there any clue or documention  that you can provide me to make this work.
    I´ve been followed a couple of examples but they use a different DAQ
    Attachments:
    distance sensor counter (notes).vi ‏89 KB
    myDistance v2010.vi ‏36 KB

  • MAX shows my GBIP-USB Interface, but no communicatin with Labview

    I'm using a GPIB-USB(Agilent) Inferface to communicate with my devices.I Install the drivers form agilent and Labview 6.0.2. MAX 2.0 does not show me my USB-GBIP Interface and no devices. So i have download MAX 2.2 and now i can communicate with my devices. The problem ist, that i can't open the VISA session in LABVIEW, so that i can't communicate with my devices. I try to open the NI-Spy, but it show me an error. Have erverybody a idea how can i solve this problem. THX

    Adi wrote in message news:<[email protected]>...
    > I'm using a GPIB-USB(Agilent) Inferface to communicate with my
    > devices.I Install the drivers form agilent and Labview 6.0.2. MAX 2.0
    > does not show me my USB-GBIP Interface and no devices. So i have
    > download MAX 2.2 and now i can communicate with my devices. The
    > problem ist, that i can't open the VISA session in LABVIEW, so that i
    > can't communicate with my devices. I try to open the NI-Spy, but it
    > show me an error. Have erverybody a idea how can i solve this problem.
    > THX
    My friend at Agilent supplied the following answer. There are suppose
    to be two pictures at the end of this note, but my news group
    interface
    does not allow them to be added.
    Les Hammer
    [email protected]
    Complete Test
    PO Box 6
    Loveland, CO. 80539
    ===========================================================
    I understand you want to control GPIB instruments using NI LabVIEW, NI
    VISA, and the Agilent 82357A USB/GPIB Interface.
    This method works for me. Perhaps you can compare your results to
    this procedure, and then make progress.
    1. Starting Conditions:
    I start with my HP Kayak XU800 PC (single 800 MHz CPU), with an NI
    PCI-GPIB+ card installed.
    My Agilent 82357A USB/GPIB Interface is not connected to PC nor
    instrument.
    The attached Visagpib01.vi LabVIEW program is on an uninstalled floppy
    disk: A:\Visagpib01.vi
    I format the C: hard disk and install Windows 2000 Professional. I
    reboot.
    Windows runs a Found New Hardware Wizard (for a PCI Simple
    Communications Controller). I assume that is for the NI PCI-GPIB+
    card. I click the Cancel button. I'll run a similar wizard AFTER I
    install the NI software.
    2. Install NI-488.2 for Windows:
    I put in my NI-488.2 for Windows CD (July 2000, 500739E-00) and let it
    autorun. I click on "Install NI-488.2 Software for Windows". I use
    the default Destination Directory: C:\Program Files\National
    Instruments\NI-488.2\ .
    I choose the default "Typical" installation, and complete the
    installation.
    Now I click on "Explore CD" and run the "SetupVisa" icon to install
    NI-VISA 2.5 . I use the default NI-VISA Folder: C:\VXIpnp\ . I
    choose the default "Complete" installation, and complete the
    installation.
    I click the Yes button to reboot my PC.
    Now that I have installed the NI software, the NI-488.2 Getting
    Started Wizard runs. I click on "Verify your hardware and software
    installation". It found my NI PCI-GPIB+ card as GPIB0. The Agilent
    82357A will not be visible yet. I click the Exit button. I'm done
    with this NI-488.2 Getting Started Wizard, so I click the x in the top
    right of the window.
    3. Install Agilent I/O Libraries for Windows:
    I put in my Agilent I/O Libraries for Instrument Control for Windows
    CD (L.01.00) and let it autorun. I click the Next button a few times
    until I see 2 big buttons: Full Installation & Custom Installation.
    Because this is the L.01.00 release and I installed the NI VISA first,
    either button would work. But I'll be precise and click the Custom
    Installation button. I use the default Destination Folder: C:\Program
    Files\Agilent\IO Libraries . I choose "SICL and side-by-side Agilent
    VISA Installation". This will leave the NI VISA as the primary VISA,
    and install the Agilent VISA as secondary VISA. After a few clicks on
    the Next button, it says the Agilent IO Libraries have been
    successfully installed. I choose neither View Readme nor Run IO
    Config. I click the Finish button.
    Some Operating Systems may require a reboot here. My Windows 2000
    does not.
    4. Prove NI VISA is Primary VISA:
    Start button - Programs - Accessories - Windows Explorer. Browse over
    to and highlight My Computer\C:\WINNT\system32\visa32.dll . File
    pulldown menu - Properties - Version tab. My file is National
    Instrument's VISA Library 2.5.0.0 .
    I click the Cancel button. File pulldown menu - Close.
    5. Plug the 82357A into the PC:
    I finally plug the 82357A into my PC's USB port (any USB port). The
    standard 82357A live configure window pops up: "Agilent 82357A
    USB/GPIB Interface Detected". Because Agilent VISA is installed, the
    VISA Interface Name defaults to "GPIB0". Because I know I already
    have a GPIB0 (my NI PCI-GPIB+ card), I click the Edit button and
    change the VISA Interface Name to GPIB1, by clicking the nearby little
    up arrow. I click the OK button.
    6. Configure NI Software to Recognize Agilent Interfaces:
    Start button - Programs - National Instruments - Measurement and
    Automation Explorer. I click the OK button because I don't care when
    MAX searches for new devices. Tools pulldown menu - NI-VISA -
    Passport Editor. I put a checkmark in the "NIVisaTulip.dll - VISA
    Library Passport for Tulip" line. I click the OK button. Because I
    changed a setting, I need to click the OK button again. File pulldown
    menu - Exit to exit MAX.
    7. Access an Instrument through the 82357A:
    The Agilent 82357A USB/GPIB Interface should now be accessible from
    NI-VISA. With my 82357A plugged onto my HP 34401A Multimeter, Start
    button - Programs - National Instruments - VISA - VISA Interactive
    Control. Below the "GPIB1 (hpib7, 82357)" line, is a line for my
    instrument, "GPIB1::23::INSTR". I double click on that "INSTR" line
    to pop up a session window. Basic I/O tab - viWrite tab, I click the
    Execute button to write the default "*IDN?\n" string. viRead tab, I
    click the Execute button to read the expected
    "HEWLETT-PACKARD,34401A,0,5-1-1\n" string. I'm done, so I click the x
    in the top right of the window. File pulldown menu - Exit to exit the
    VISA Interactive Control window.
    8. Install NI LabVIEW Evaluation 6i:
    I put in my NI LabVIEW Evaluation Software for Windows 2000/NT/Me/9x
    CD (version 6i, 350778A-01) and let it autorun. I click the Install
    button. Eventually I choose the Complete installation. It says
    LabVIEW 6i Evaluation has been successfully installed. I click the
    Finish button. Eventually I click the OK button.
    9. Run the attached Visagpib01.vi LabVIEW program:
    Start button - Programs - National Instruments LabVIEW 6i. I click
    the lower left RED Start using LabVIEW button. I click the Open VI
    button and enter the File name as A:\Visagpib01 . I close the
    Controls and Tools palettes by clicking the x in the top right
    corners. Notice the resource name field of "GPIB1::23::INSTR" to use
    my GPIB1 82357A connected to my 34401A at GPIB address 23. Operate
    pulldown menu - Run, and the read buffer field now says this expected
    string: "HEWLETT-PACKARD,34401A,0,5-1-1". Running the example again
    simply writes over the earlier string, and so does not appear to
    change the display. The attached Visagpib01.vi LabVIEW program is
    simplified from the "C:\Program Files\National Instruments\LabVIEW 6
    Eval\Examples\instr\visa\SRQ Event Handling.vi" NI example program.
    I attach 2 GIF files to describe the attached Visagpib01.vi program:
    Visagpib01_panel.gif
    Visagpib01_diag.gif
    I hope this helps!
    | Ted Cline
    | IO Support
    | Basic, Emerging and Systems Technologies (BEST) PGU
    | Agilent Technologies
    | CU-326, 815 14th Street SW, Loveland, CO 80537-6390 USA
    | 800-452-4844 Customer Support (United States)
    | 877-894-4414 Customer Support (Canada)
    | 970-679-5260 FAX
    | [email protected]
    | ftp://ftp.agilent.com/pub/mpusup/index.html Postsales Support
    GPIB and Connectivity Solutions:
    http://www.agilent.com/find/xbv_pgr_gpib
    IO Libraries:
    http://www.agilent.com/find/iolib
    http://www.agilent.com/find/iolibux
    VEE:
    http://www.agilent.com/find/vee
    Instrument Drivers:
    http://www.agilent.com/find/inst_drivers
    http://www.agilent.com/find/inst_drivers_pnp

  • How can you interface IEEE 488 bus with labview

    Hi
    How should I proceed to interface labview with an instrument (an impedence analyser with a IEEE 488 port) and labview through a IEEE 488 interface card in the PC.
    Thanks
    Mal

    Hi,
    You hava a group of functions to do that. Go to Instrument IO --- GPIB.
    There you can find the tools you need to comunicate with an instrument via GPIB.
    You can also use MAX (Measurement and Automation Explorer) to test your comunication before implementing it in LabVIEW.
    Hope this gets you started,
    Paulo

  • Interfacing HP 34401A DMM with Labview 2010

    Hey Everbody,
    I am new to LV and have been handed over a project. A part of it is to interconnect HP34401A Digital Multimeter with the LV. i have used a GPIB interface for the interconnection and all drivers have been installed for this purpose. in the query i can see the DMM but do not know how to proceed.
    any suggestions will be a great help

    Did you try any of the examples? Help>Find Examples>Hardware Input and Output>Instrument Drivers.

  • How can i control a sensor CNY70 with labview?

     i am taking a mechatronics course and they ask me as homework to control a sensor but i don not understando what can i control from this sensor, i expect you could help me

    i would start with working out the system, datasheets on the cny70, work out exactly what is required from the question. spec out the hardware, then start writing out rough ideas. Keep looking back at the question and it will all slowly make sense. I wouldnt dive straight into coding until i understand exactly what i need to be trying to achieve.
    once you understand exactly what you need to achieve and with what hardware you can look into planning the code and taking it from there. If you get stuck with coding feel free to ask for help and post the code you have as most people on here will heppily pass contructive critisism as well as help you through the parts your struggling with  
    Please remember to accept any solutions and give kudos, Thanks
    LV 8.6.1, LV2010,LV2011SP1, FPGA, Win7

  • BASYS 2 Spartan3 interface with labview

    Hi I am new to xilinx. but unexpectedly i am in a situation to work with BASYS 2 Spartan3 board from digilent.
    Please help me to interface BASYS 2 Spartan3 with labview 2012.
    Thanks in advance.

    1. If you are using a webcam, ensure that the camera is compatible with DirectShow, and that the camera driver is installed and functioning.
    2. You will need to install the Vision Acquisition Software. The software features the activation-based NI-IMAQdx driver for acquiring from DirectShow-compliant devices. A license for this software is included with all NI vision hardware and all NI vision software licenses, and is also sold separately for applications that do not require image processing or specialized hardware.
    3. I am not sure how you are 'comparing' the acquired image with the image that is stored in the harddisk. But, if you want do machine vision & image processing, then you will need the Vision Development Module. In general, VDM functions are to be used for post processing images. Some example functions are: pattern matching, particle analysis, edge detection, thresholding, histograms, and optical character recognition. This module includes the VAS that was described earlier.
    4. There are lots of examples that are shipped with the software to help you understand and achieve what you are trying to do.
    Here is a good article that describes the different vision software provided by NI:
    What is the Difference Between Vision Software VDM, VBAI, and VAS?
    NI Vision Software Comparison
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Controlling Solenoid Valves for a water level application with LabVIEW:

    Hello,
    I am trying to control the water level in a tank using solenoid valves with LabVIEW.
    I have an ultrasonic sensor that is going to measure the water level in the tank, I have the working VI (attached) for how the sensor measures the water level, I have made the vi so that it measures the distance the water level is away from the sensor (the sensor is attached to the top of the bucket). The vi which is attached also calculates the volume as more water is added into the bucket (the bucket is frustum shaped). 
    What works: VI interacts with ultrasonic sensor. VI measures the distance the water level is away from the sensor, VI calculates the volume in the bucket as more water is added. 
    What I am trying to do now: I want to have another bucket (filled with water) sitting above my bucket with the sensor on it, and with a solenoid valve attached to that bucket, and another bucket sitting below my bucket with the sensor on it (not filled with water). I want to interface these solenoid valves with LabVIEW in a way, that the user can enter in say "70%" as the desired percentage of water in the bucket with the sensor, and LabVIEW controls the the valve on the bucket to fill up the bucket with the sensor up to 70% and if there is any overshoot, there will be another valve attached to the bucket with the sensor that will let water out to go into the empty bucket).
    Basically, turn on and off the valves based on how much more water needs to be added into the bucket and what the desired percentage is. 
    The equipment that I have is:
    Ultrasonic sensor: http://www.amazon.com/Ultrasonic-Module-HC-SR04-Distance-Arduino/dp/B004U8TOE6
    Solenoid Valves: http://www.ebay.com/itm/ws/eBayISAPI.dll?ViewItem&item=290763981675&ssPageName=ADME:LU:US:3160
    3 buckets.
    I need some ideas on how I can complete the rest of this project. Thank you in advance! Please see the attached vi.
    Attachments:
    Sensor.vi ‏28 KB

    Thinking off the top of my head, if it were me, I'd start with the master-slave design pattern.
    In the master loop, put your vi for reading the level.
    In the slave loop, put very simple logic that looks at the value coming from the notifier and takes one of three actions each time a notification is received:
    If the level is greater than the setpoint (+some "empirically determined" hysteresis value, say 1-2%) open the valve to let water out of the middle bucket.
    If the level is equal to the setpoint (+- the same hysteresis value) make sure both valves are closed.
    If the level is less than the setpoint (-the same hysteresis value) open the valve to let water into the middle bucket.
    Repeat until you're done.
    You will probibly want to figure out a better way to stop things than what is shown in the design pattern template - using an error to stop works, but in the long run limits your options.
    Oh yes, when shutting down, there is one thing that you will need to be sure that you do - to prevent wet feet. But I'll leave that for you to figure out as well.
    Mike...
    PS: This is homework right?
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How do you use Synergy 7.1 with LabVIEW?

    My company has reciently installed and configured IBM Rational Synergy 7.1 to be used as our Source Code Control tool.  I have installed the appropriate Microsoft Source Code Control Interface so that Synergy will show up in LabVIEW and it does show up in the "Source Control" options window.
    However when I select Synergy as my source control tool it does the following:
    1.  Brings up the login window - I am able to login with no problem
    2.  Brings up a dialog allowing me to select the project to work on, and after I select the project I get two errors...
    one from Synergy: "The workspace/project you want to add to IBM Rational Synergy is not under the work area path 'C:\xxx"
    (where xxx is my work area for the Synergy project I selected)
    then one from LabVIEW:  "Error -2941 occured at prefPage_Source Control.vi     An error occured trying to get the source control project path.    Possible reasons:  LabVIEW:  The source control provider does not support the specified operation."
    I first tried this on an earlier version of Synergy that matched what is being used in:
    http://digital.ni.com/public.nsf/allkb/16D37CCC8659123F8625720500087DB4
    But I was getting pretty much the same errors back then too.  It seems like it should work in LabVIEW, I just have no idea what I am doing wrong!
    Anyone out there successfully using LabVIEW with Synergy????
    Thanks,
    Trevor.

    In theory if a source control provider supports the Microsoft SCC interface, it *should* work with LabVIEW. In practice, each provider has custom implementation that sometimes causes problems when trying to configure the provider from LabVIEW. One sticking point for many providers is the expectation or assumption that an IDE will use some concept of a "project" and therefore pass data associated with that project to the provider. LabVIEW does not enforce that concept but does pass valid information.
    Synergy was tested back when it was a Telelogic product. It was difficult to configure and required exact steps to get it to work correctly. The linked knowledge base were steps taken that worked for a few customer setups. It's possible that on other Synergy setups the exact steps may not work. Also, you might check to make sure you try to configure existing Synergy projects  and not try to create new ones from LabVIEW.
    The error you mentioned seems to imply that some data is not supported by Synergy. I am not sure if Synergy would be able to track down the issue, but I would recommend contacting them to see if they can pinpoint what data LabVIEW is sending is not valid.
    George M
    National Instruments

  • SSI (Serial Synchronous Interface) displacement sensor.

    Hi,
    Thanks advanced for your reply.
    How can I measure the signal from SSI (Serial Synchronous Interface) displacement sensor (MTS) with NI CompacDAQ or other products? Which module should I use? How to interprete the signal with Labview8.2?
    Thanks,
    jason

    Hi Jason,
    There is another discussion form that has worked on this same issue. Please look here for further information. If you have any further questions please let us know.
    Regards
    Krista S.
    Applications Engineering
    National Instruments

  • Help with Omega Infrared Temperature Sensor with USB Interface Model(s): IR-USB

    Hi,
    I am a beginner when it comes to labview and was wondering if the IR-USB sensor by Omega was compatible with LabVIEW and whether anyone has worked with them before in lv. I also want to find out whether the vi for this sensor is easily available. I am not too sure about which infrared temperature sensor will work best with lv.
    Thanks

    Hi,
    It appears it isn't compatible straight away.  It is designed to talk to the software provided by Omega and they don't appear to provide drivers for development in other programming languages.
    Having said that it theoretically could be.  It appears that although the connector is USB the device actually mimics a serial port which we can easily interact with from LabVIEW.  To do this though we would need to know the commands to send and the format of the data received.  This would usually be obtained from the manufacturer.
    My suggestion would be to contact Omega and see if they can offer a LabVIEW driver or a programmers manual with the commands for the device.  If not they may be able to recommend something that would be compatible.
    Regards,
    James Mc
    ========
    CLA and cRIO Fanatic
    wiresmithtech.com/blog

  • I2C interface (Sensor Data Acquisition) LabVIEW

    Hi all!
    Hope you are doing great!
    Well I have a question which is more about asking all you for an idea!
    The Situation:
    I have a circuit board which has an On-Off Valve, Digital pressure sensors (manufacturer AMD) and Humidity/Temperature Sensors (make- IST Hygrosens). On the board all the sensors communicate as I2C slave devices and all the data from the sensors is read into an I2C --> USB adapter chip which further connects to the PC via normal USB cable.
    Additional to this board, There is a Relay circuit with a simple 1-pole relay which controls an on-off valve on the above Circuit board. This valve is controlled totally separate via a coaxial cable from the relay directly to the Valve. But the relay board has a I2C interface and it also acts as a slave device. The relay board has the same I2C --> USB adapter chip.
    Both the Relay board and Sensor board connect via USB to the PC which I suppose is the Master device.
    The software code written for this arrangement and Sensor data acquisition is too old and there are a lot of problems coming. I have almost given up troubleshooting..
    I now want to translate this automation system onto LabVIEW. I searched the NI website where there is a DAC card called - USB8451 which supports I2C interface... I am a beginner in LabVIEW and cant really make sense out of how should I go about implementing this system on LabVIEW..
    If you guys can please help me out to atleast start (like what all hardware I would need etc..), to have a clear picture, it would be great help!!
    Looking forward to your inputs and Thank you so much in advance!
    Cheers!
    Pramit

    NI provides a LabVIEW API for the USB8451.  If you use the USB8451, you would use the provided API to write a program that controls the USB8451 and you would do all of the I2C communication in your program.  This would mean using functions / SubVI's to connect to the USB8451 and then perform I2C operations through it.
    If you use USB already on your device, then you would probably use NI-VISA as the driver and have to get / write your own API to talk to the specific device.  The manufacturer may have a LabVIEW (or other) API available for talking to the device that you could get.  If not, then you would have to understand the details of how to communicate with the device and then write an API using NI-VISA serial functions.  This would mean making NI-VISA be the assigned driver for the device and then using VISA Serial functions / SubVI's to send the messages and receive the responses.

Maybe you are looking for