LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to upload a LabVIEW code (VI) to an Arduino Uno and run it without a PC connection?

Hi everyone,
I’m wondering if there's a way to upload a LabVIEW code (VI) to an Arduino Uno and have it execute independently, without needing a constant connection to a PC after uploading. I want the code to run autonomously once it's loaded onto the Arduino. Is this feasible? If so, what tools or methods should I use? Any advice or resources would be greatly appreciated!

Thank you!

0 Kudos
Message 1 of 3
(149 Views)

In general there are three ways of using LabVIEW with an Arduino

 

  1. Program the Arduino in the native Arduino language.
    1. LabVIEW can communicate with an Arduino using VISA just like any other instrument on a serial port.
    2. IMHO: this is the best way as you have full control over the communications protocol and access to all of the of Arduino libraries and LabVIEW toolkits that are already out there.
    3. I highly recommend watching this video on serial communications: VIWeek 2020/Proper way to communicate over serial
  2. Use LINX or The Hobbyist toolkit they are calling it now. (LIFA has long since been deprecated)
    1. Full LabVIEW integration, but limited amount of Arduino libraries and peripherals directly supported
    2. The Arduino basically becomes a tethered DAQ device that needs to be connected to a computer/LabVIEW to work
  3. TSXperts Arduino compiler for LabVIEW
    1. Actually turns LabVIEW into compiled Arduino code. (A real feat on its own)
      1. Limited subset of LabVIEW vi's and primitives
      2. Very limited support for Arduino libraries 
      3. Development seems to have stopped years ago, so those annoying bugs are here to stay

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 3
(54 Views)