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

Hello,

I got the same compilation error as "danydingo" described previously, that is:

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

Here is  hardware and software environment.

Arduino UNO

Arduino IDE 1.0.6

LIFA2.2.0.79

Thank you for helping.

Guy.

0 Kudos
Message 21 of 40
(1,962 Views)

Did you try the solution that fixed his problem?

0 Kudos
Message 22 of 40
(1,962 Views)

Hi,

I removed IDE 1.0.6, then installed IDE 1.0.5 r2. It works fine now!

Thanks

Message 23 of 40
(1,962 Views)

it's true.

1.0.5 r2 works for Labview 2013 too.

LabVIEW Interface for Arduino  2.2.0.79

0 Kudos
Message 24 of 40
(1,962 Views)

eero32 wrote:

it's true.

1.0.5 r2 works for Labview 2013 too.

LabVIEW Interface for Arduino  2.2.0.79

FYI, the version of LabVIEW doesn't matter.  It's the firmware that comes with LIFA that wasn't and will never be updated to any newer versions of the IDE.

0 Kudos
Message 25 of 40
(1,962 Views)

That is a such shame for the arduino community. I just went trough all of this and 1.0.5 is the ONLY one that works. Mine is listed as 1.0.5r2. With Arduino and labview together one can have a lot of fun but right off the bat the beginner is faced with this sort of obstacle.

Looking at the websites make me think both side support each other but when this sort of thing crops up it make one wonder. It is a learning experience I suppose.

Just a reminder USE 1.0.5 TO GET PAST THIS ONE!

0 Kudos
Message 26 of 40
(1,962 Views)

LIFA is no longer supported. You should use LINX which works with the newer

Arduino IDEs and is much more efficient.

http://www.labviewmakerhub.com/linx

0 Kudos
Message 27 of 40
(1,962 Views)

Yes, yes yeppers... I just figured that one out. I tend to read at a glance (that's why I'll never be a programmer}

So you see I see LINX and think LINUX... O god another LINUX wenie talking.  Stepping back and actually thinking about what I am reading I see that LINX is the new and improved way to do things.

So for folks with this problem maybe this expanded discussion will help and I shall return to my cave.

0 Kudos
Message 28 of 40
(1,961 Views)

i am having this problem in compiling the Lifa_base.ino

Arduino: 1.6.4 (Windows 8.1), Board: "Arduino Uno"

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

int RECV_PIN = TKD2; // the pin the IR receiver is connected to

                ^

Error compiling.

please tell something....

shikha

0 Kudos
Message 29 of 40
(1,961 Views)

This has been answered many times.  LIFA is no longer supported and doesn't work with the current version of the Arduino IDE.  You should use LINX (which replaced LIFA) instead.  LINX will work with the latest version and even doesn't require you to compile any Arduino code.  You get to use the Firmware Wizard which will upload the LINX code to the Arduino for you.

0 Kudos
Message 30 of 40
(1,961 Views)