From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Error compiling LIFA_Base.ino for Labview 2012

Solved!
Go to solution

Hi,

I had the  same error :

LIFA_Base.cpp.p: In function 'loop':

C:\Program Files (×86)/LIFA_Base.ino.......

Pls can u explain what all files should be opened in arduino.

All the files open except keywords, IRemote license and a folder named LabVIEWInterface.

I even tried adding  LabVIEWInterface sketch . So I had LIFA_Base,AF Motor,AF Motor.h, AccelStepper.cpp,AccelStepper.h,IRemote.cpp, IRemote.h, LabVIEWInterface. 

After compiling this I got:

LabVIEWInterface. Ino:In function ' int checkForCommand()':

LabVIEWInterface:97:'bufferBytes' was not declared in this scope.

I also wanted to know that you had mentioned about temporarily removing AccelStepper.h. did u refer to  removing it from LIFA_base or arduino software files . In arduino files I couldn't find that and in LIFA_BASE it doesn't work for me.

regards.

0 Kudos
Message 11 of 40
(2,167 Views)

hello sir,

i want to use  LIFA_BASE and upload it in my arduino but i am getting

some compiling errors .

LIFA_Base.cpp.p: In function 'loop':

C:\Program Files (×86)/LIFA_Base.ino.......

Pls can u explain what all files should be opened in arduino.

All the files open except keywords, IRemote license and a folder named

LabVIEWInterface.

I even tried adding  LabVIEWInterface sketch . So I had LIFA_Base,AF

Motor,AF Motor.h, AccelStepper.cpp,AccelStepper.h,IRemote.cpp,

IRemote.h, LabVIEWInterface.

After compiling this I got:

LabVIEWInterface. Ino:In function ' int checkForCommand()':

LabVIEWInterface:97:'bufferBytes' was not declared in this scope.

Awaiting your reply in anticipation.

0 Kudos
Message 12 of 40
(2,167 Views)

Hi,

I'm new to experimenting on arduino. I get an error as follows.

C:\Program Files (x86)\Arduino\libraries\RobotIRremote\IRremoteTools.cpp:5: error: 'TKD2' was not declared in this scope

Any ideas?

Kind regards

Dany

0 Kudos
Message 13 of 40
(2,167 Views)

That is a common error (there are several discussions about it).  I think it might be the wrong Arduino IDE version or something.  Make sure that you have version 1.0.5.

Message 14 of 40
(2,167 Views)

Excellent. Worked for me!:)

0 Kudos
Message 15 of 40
(2,167 Views)

Hi Nathan,

Thanks for the response. It worked for me.

Is there a way to make the arduino run on its own without being connected to a computer running LV?

Kind regards

Dany.

0 Kudos
Message 16 of 40
(2,167 Views)

You cannot run LabVIEW code on an Arduino.  That's not the literal answer to your question but if that answers it then that's great.  Otherwise, what exactly are you trying to do?

0 Kudos
Message 17 of 40
(2,167 Views)

I am trying to control the speed of 4 motors based on some specific feedbackfrom a gyroscope. I understand I can accomplish this using some labview code, but I was wondering if there was a way to make the arduino run and accomplish this independently on its own.

0 Kudos
Message 18 of 40
(2,167 Views)

Of course, that's is one of the many uses of an Arduino. You'll just need to write the entire code on the Arduino. There are many online resources for the Arduino that you can use to help you out.

All of my interaction with Arduino has been in the context of using LabVIEW.

0 Kudos
Message 19 of 40
(2,167 Views)

voy a probar el 1.0.5 a ver q pasa por q con el 1.0.6 no me deja sale un error

0 Kudos
Message 20 of 40
(2,167 Views)