LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting Multiple Arduinos to one Computer running LIFA

I would like to connect 2 arduinos to my computer and control via Labview LIFA.  Before I connect and experiment I wanted to ask if there was anyone out there that has done this and could offer some tips & tricks.

Thanks,

Bill

0 Kudos
Message 1 of 4
(6,395 Views)

Bill,

  Do you have the two arduinos right now? Connecting two arduinos to LIFA is as simple as loading the firmware onto both, then in the VI making a constant to specify the VISA resource. If nothing is wired into that input of the Init.VI, then the LIFA toolkit auto-searches for the first serial device with the name "arduino" in it, but you can also specify which VISA resource (arduino shows up as a viritual serial device) you want to use. In this way, we have connected to more than one arduino at a time. Good luck!

-Ben

Ben J.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(3,891 Views)

Thanks Ben,

I am waiting for additional UNO's now.  I want to try and run 2 separate VI's each would control one arduino.  I will make a constant to the VISA resource to tell it what com port to use.  Then load the LIFA Firmware onto both UNO's and see what happens.

Essentially I will be operating 2 small robots from one touch screen computer.  Each with the Identical VI to control.

Bill

0 Kudos
Message 3 of 4
(3,891 Views)

Sounds awesome! LIFA will be able to handle that. If it wouldn't be too much to ask, we'd love for you to post your finished project as a document on the community so that other groups could potentially build on what you have done. Clean source code, a video, pictures, and a nice description would be great, but anything you can post would be much appreciated for all those groups who want to get started with their robots!

Ben J.
National Instruments
Applications Engineer
0 Kudos
Message 4 of 4
(3,891 Views)