LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can LabVIEW send a signal to Arduino IDE ?

Hello I have my code on Arduino IDE but need to convert it to labVIEW. Is this possible through any tool? can I use LabVIEW to send a signal that will compile my code on Arduino IDE?

0 Kudos
Message 1 of 3
(110 Views)

copied from Reddit: most probably a SPAM bot…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(102 Views)

You cannot directly convert Arduino code to LabVIEW. 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 you can use any 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 (Hobbyist Toolkit or whatever they are calling it now)
    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, so those annoying bugs are here to stay
========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 3
(58 Views)