07-12-2013 12:46 AM
Hi,
I am using LabVIEW 2011 on a PC with Windows 7 installed. Recently I got myself a Freeduino (Arduino clone) with Atmega8L microcontroller on board. I installed VIPM and then LIFA by downloading the package. LIFA installation was done offline (computer without network connection) and it was succesful. Now I want to upload the LVIFA_Base.pde on my freeduino board. I tried to look for it in Program Files>>National Instruments>>LabVIEW2011>>vi.lib>LabVIEW interface for Arduino, but couldn't find. The I found one on this forum for LabVIEW 2012. When i tried to upload the firmware on freeduino using Arduino IDE, it shows multiple errors. One is as follows:
"TCCR2A was not declared in this scope".
I tried to find the device on MAX, where it was showing around 40 COM ports(!!!!!!!!!!!).
I don't know what might have caused the problem. Is it the board I am using (Its not Arduino UNO)? Whether the .pde file being of 2012 being the problem?
Any help is appreciated.
Thanks
Arihant
07-12-2013 03:41 PM
What version of LIFA did you get? The latest version of LIFA (2.2.0.79 IIRC) does not have LVIFA_Base.pde but instead has LIFA_Base.ino (the new extension is something the Arduino developers did and notice the lack of a "V"). It is located at:
C:\Program Files\National Instruments\LabVIEW 2011\vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Base\
Also, the LIFA firmware is not dependent on the versino of LabVIEW at all. If you download the latest versin of the firmware for 2012 it will be exactly the same as if you download it for 2011.
07-14-2013 03:41 AM
I had LIFA 2.2.0.79 installed earlier which I later downgraded to 2.1.0.21 (I am not sure). I did this hoping to find LVIFA_Base.pde. But this was also showing error. I get the message as shown in the screenshot
Same error was displayed with latest version of LIFA (2.2.0.79). Arduino IDE, I am using is 1.0.5 version.
As you said, I also tried uploading LIFA_Base.ino file as attached in the post
https://decibel.ni.com/content/message/41549#41549.
I dont know whats wrong. May be You guys can help me out.
Thanks.
07-16-2013 12:41 AM
Well,
I am struck here and have to drop the idea of programming Arduino with LabVIEW.
Thanks for your support anyway.
Arihant.
08-27-2014 11:37 AM
hi bro i want your email for some query related to freedunio interfacing with labview.