LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Upload Lifa base to arduino uno problem, Please Help Thank you

Hello,
i want to upload some lifa base to my arduino uno ( i want to use HC-SR04 sensor)
the problem that i can't make it.

i get the following compile errors for both versions ( same lifa file different errors)

1.0lifa.png1.5 lifa.png

The only time i succeed to upload lifa base to arduino ,

is by using a hex file ( xloader) (from this thread : https://decibel.ni.com/content/thread/18700 )

Could some one Please help me

or tell me how to make a hex file like on that thread

Thank you in advance

0 Kudos
Message 1 of 30
(17,228 Views)

Hi can you check the board type and serial port selected

0 Kudos
Message 2 of 30
(8,116 Views)

board type: arduino uno,

post is COM32 ( this is where my arduino )

0 Kudos
Message 3 of 30
(8,116 Views)

The error message i get now is :

Arduino : 1.5.6-r2 (Windows 7), Carte : "Arduino Uno"

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

0 Kudos
Message 4 of 30
(8,116 Views)

first of all i have few questions

1) how sure are you that it is uno , it may be duemilonova also ( just a basic quesition ) .

2) kindly dump basic led prog, which is out in examples ( only to know your bootloader of arduino is fine ) .

3) if the above is fine , we shall check for lifa

0 Kudos
Message 5 of 30
(8,116 Views)

Hi Thank you for your respond,

1) i don't know, but it writing arduino uno od circuit,

2) i already tried some example last week, ( rgb led with labview, tune examples ... )

( the lifa i have know in my arduino is the hex file that provided on that thread)

Can you tell me if this informations i gave you fine ?

Thank you very much

0 Kudos
Message 6 of 30
(8,116 Views)

1) it's important to know your board, without knowing the board type you cannot dump the code .

2) do you have arduino ide , i was talking about dumping the code from arduino not from labview . you can dump any piece of code

0 Kudos
Message 7 of 30
(8,116 Views)

Hi,

1) it's arduino Uno ( typed on circuit )

2) i dump using ardiuno 1.5.6 blink example.

(Turns on an LED on for one second, then off for one second, repeatedly.)

and it works.

what should i do now ?

Thank you for your respond.


0 Kudos
Message 8 of 30
(8,116 Views)

I highly recommend that you upgrade to LINX (LIFA is no longer officially supported) because it has native support for this sensor.

Message 9 of 30
(8,116 Views)

Hi Nathan,
Thank you for your respond,
i have linx installed,

but i can't upload linx firmware too, here is error:

Arduino : 1.5.6-r2 (Windows 7), Carte : "Arduino Uno"

LINX_Arduino_Base_Firmware.cpp.o: In function `loop':

C:\Program Files (x86)\Arduino/LINX_Arduino_Base_Firmware.ino:45: undefined reference to `checkForLINXSerialPacket()'

LINX_Arduino_Base_Firmware.cpp.o: In function `setup':

C:\Program Files (x86)\Arduino/LINX_Arduino_Base_Firmware.ino:35: undefined reference to `setupLINX()'

all i want to do with arduino , is read some analog inputs and make num output,,

( how should program it on labview  using lifa ? )

0 Kudos
Message 10 of 30
(8,116 Views)