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 4
(144 Views)

Hi jeet,

 

why don't you link to your original Reddit post?

 


@i1ndrajeet wrote:

I have my code on Arduino IDE but need to convert it to labVIEW.

can I use LabVIEW to send a signal that will compile my code on Arduino IDE?


Do you want to create some Arduino code or do you want to remotely control the Arduino IDE?

Best regards,
GerdW


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

Short answer is yes of course!

But your inquiry sounds very inconsistent. The title says about sending a signal to the Arduino IDE, but then you talk about converting your Arduino design into LabVIEW code. That are very different things and the later definitely would not be an option at all.

 

If the Arduino IDE supports some remote command interface is a different story. According to the Arduino documentation it has a special command line version that provides a remote interface to automate a lot of operations that can be done in the Arduino IDE. Not sure how it relates to the IDE or if it replaces it as whole. This CLI also provides apparently a gRPC interface, so it could be even used interactively if you care about writing some gRPC library in LabVIEW for it.

Rolf Kalbermatter
My Blog
0 Kudos
Message 3 of 4
(118 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 (Hobbyist Toolkit)
    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 4 of 4
(72 Views)