04-01-2012 09:47 AM
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
04-02-2012 10:04 AM
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
04-02-2012 10:10 AM
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
04-02-2012 10:26 AM
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!