Jump to content
noman AHMED

taking string of inputs from raspberry pi for data acquisition

Recommended Posts

I am making a project in which i will be taking input from raspberry pi then transfroming single input into string of differnet inputs like voltage ,current, frequency. so how can i transform input that i will be taking from single pin of raspberrypi to voltage,current and frequency

Share this post


Link to post
Share on other sites

You can't without other additional hardware.  The GPIO on the Pi is a digital only.  Add an Arduino with custom scaling, or a I2C or SPI hardware then the Pi can read that and turn it into something useful.  There are currently two separate toolkits that allow for writing a LabVIEW VI and having it run on a Pi, the NI LINX toolkit which is 2014 only at the moment and for non-commercial.  Or from TSXperts the Pi compiler for LabVIEW which comes in a home and professional license.  This option also lets the front panel be viewable on the Pi's HDMI output making for a neat HMI.  This is all optional if you are good at programming on the Pi since it can just send take data and send it back to a VI running on a more traditional target, or I've seen hosting a webpage on the Pi.

Share this post


Link to post
Share on other sites
21 hours ago, hooovahh said:

You can't without other additional hardware.  The GPIO on the Pi is a digital only.  Add an Arduino with custom scaling, or a I2C or SPI hardware then the Pi can read that and turn it into something useful.  There are currently two separate toolkits that allow for writing a LabVIEW VI and having it run on a Pi, the NI LINX toolkit which is 2014 only at the moment and for non-commercial.  Or from TSXperts the Pi compiler for LabVIEW which comes in a home and professional license.  This option also lets the front panel be viewable on the Pi's HDMI output making for a neat HMI.  This is all optional if you are good at programming on the Pi since it can just send take data and send it back to a VI running on a more traditional target, or I've seen hosting a webpage on the Pi.

yeah i m using smart pi as an external hardware. it will be sending useful data to rpi. What i want to  ask is how can i transfrom that to sub inputs i.e voltage, current, frequency.

Share this post


Link to post
Share on other sites

Looks like Smart Pi already comes with a web interface.  Just use the HTTP function in LabVIEW to access the information in the same way a web browser would.  These functions a pretty easy to use and the context help should help understand them more.  Beyond that there might be an example in the Help >> Find Examples.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Content

    • By hutha
      New Toolkit : OpenCV wrapper for Raspberry Pi (LinuxRT) for LabVIEW
      Great ! learning platform student and maker for learning machine vision application with LabVIEW.
      It's working with LabVIEW Home 2014 edition and  required LINX 3.0 toolkit.
      You can run NI-VISION toolkit with Raspberry Pi board too.
      1.QwaveCameraCV is a LabVIEW Camera Driver library for Raspberry Pi 3B/3B+ (LinuxRT)
      https://github.com/QWaveSystems/QwaveCameraCV


      2.QwaveOpenCV is OpenCV wrapper functions for LabVIEW for Raspberry Pi 3B/3B+ (LinuxRT)
      https://github.com/QWaveSystems/QwaveOpenCV


      3.QwaveOpenCV Examples using OpenCV (C/C++) and NI-VISION for Raspberry Pi 3B/3B+ (LinuxRT)
      https://github.com/QWaveSystems/QwaveOpenCV-Examples


       
    • By Moes
      Hello everyone i am relative new to labview and currently i am bit stuck need help...
      i want to capture data with a digital trigger on my chassis PFI0 (9178), the pulse is 20ms long and occurs on my straingauge 9237 module.
      The pulse comes in 10 times in a row with couple of miliseconds between it, can i measure it every time and push it inside an array like a "last in first out" memmory to evaluate it slower for the user?
       
      I am currently struggeling with the loop dividing into more then one loop approach.
       
       
      How to breach out from accquire->store->plot in one loopdone right with good performance? I don't know how to shape the cure because there is a dependency from loop time to datapoints with the daqmx task inside of it :-/
      Capturing should always be possible and run in background and the user just uses the frontend to play around with filters (me learning what filter shape the cure in which way)
       
      It would be nice if someone can share their knowledge towards realizing multiple graphs from a pulse that comes in and is stored in a graph.
      I know my program is not pretty right now but with progress it will be nicer, function first to learn!

      WheatstoneSix_6.vi
    • By vhha1972
      Hi All,
      My VI looks something like the one I am attaching. I am acquiring pressure data using a while loop.
      During data acquisition, I want to run a motorized pressure release valve for a few seconds (1-5 s) and then stop. But I don't want my main program (data acquisition) to stop just yet. That I will stop later through different control/logic.
      Is this easy to do? I had found a few programs online that stopped the whole system. But I want an independent loop to run within my main loop for a few seconds.
      Cheers,
      Saif
      EX_D.vi
      Also attached in 2009 version.
      EX_D.vi
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.