03-24-2013 10:26 PM
Hello!
I basically own the Arduino which came out in 2009, which is the Duemilanove, and a Mini, and the breadboard clone that Sparkfun created a while ago. Also a thing called an Ardweeny. (Technically according to Makershed, that one is much like any of the 328 based ones, but that's about it.) And another one, this guy, Mintronics: MintDuino also in the same position as the other 328 based ones.
That is by the way.
Now the question: What can I do for the examples to get them to work with any of these, and not persist in complaining with an undefined error message?
There is a 328 based one in the drop down listing of devices, but it doesn't appear to match any of the ones I've found.
I am looking at two of the newer ones, obviously one is a Uno rig, and of course one other.
----
Doctor Who (The Eighth Doctor)
Solved! Go to Solution.
03-25-2013 02:12 PM
You should be able to use a Duemilanove be selecting Uno as the board type in LIFA. Have you tried this?
-Sam K
LIFA Developer
03-25-2013 03:41 PM
To use the boards you have; before you load LIFA firmware, set the board type in the Arduino's IDE Tools pull down menu to match the type of board you want to load with LIFA. Same place you set the serial baud rate. You should see the Mini listed there listed as Arduino Mini w/Atmega xxx. Treat the Ardweeny as a UNO, and MintDuino as Duemilanove w/ ATmega328. On the LabVIEW side, they should all look like UNOs.
JohnCS
03-25-2013 10:57 PM
Hello!
(As soon as the e-mail mechanism to forum works, a response that way will be shown.)
Okay I've loaded the LIFA firmware to the device, which I did yesterday. (Or the day before.) I did all of the problem solving as before. Now I tried out your idea Sammy_K, that of keeping it set as a UNO whilst making use of the Duemilanove I have here. However the example I chose, that of the Simple LED one, which is the one I chose whilst trying to get everything to work. (Before trying again the RGB LED one.)
Same error message that of the device not being found and the error code being an odd number of 50005.
Is it possible that something else is wrong?
Update: About the only thing that can be wrong is that the stop function doesn't want to let the device setting persist. I'm going to need to buy an Uno to continue working with this it seems.
(That is the entire family of Labview to Arduino examples.)
Message was edited by: DoctorWho8
03-26-2013 12:38 AM
Error 5005 (not odd, it's an official error)
DoctorWho8 wrote:
Update: About the only thing that can be wrong is that the stop function doesn't want to let the device setting persist.
Can you explain what you mean by this?
03-26-2013 11:54 AM
Hello!
I examined the stop settings, and noticed that the setting it used was for the UNO, not the one I set it for in the other two. I also tried the whole routine with setting all of them for the UNO and noticed that the same error message was delivered.
That's what I am getting at. In all probabilty I shall end up buying a UNO RSN.
03-27-2013 05:49 PM
Hello!
I am still on track to by that UNO, but I woke up my Arduino Mini R4. After wiring it to the USB adapter that they selected (and designed) I then found it was wearing the blink sketch from last time. I then told the IDE that it was now talking to a Mini (R4) with a 328 attached. And thence did it again. That worked. I then selected the sketch used to configure any Arduino to work with Labview. Instead I'm getting these errors:
IRremote\IRremote.cpp.o: In function `IRrecv':
C:\Users\GCL.CMDRSKYWALKER\Documents\Arduino\libraries\IRremote/IRremote.cpp:268: multiple definition of `IRrecv::IRrecv(int)'
IRremote.cpp.o:C:\Users\GCL~1.CMD\AppData\Local\Temp\build5390082056187719036.tmp/IRremote.cpp:217: first defined here
IRremote\IRremote.cpp.o: In function `MATCH(int, int)':
/IRremoteInt.h:176: multiple definition of `irparams'
IRremote.cpp.o:C:\Users\GCL~1.CMD\AppData\Local\Temp\build5390082056187719036.tmp/IRremote.cpp:217: first defined here
c:/c_gcl/t22/arduino-1.0.3/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: Warning: size of symbol `irparams' changed from 158 in IRremote.cpp.o to 206 in IRremote\IRremote.cpp.o
IRremote\IRremote.cpp.o: In function `IRrecv':
C:\Users\GCL.CMDRSKYWALKER\Documents\Arduino\libraries\IRremote/IRremote.cpp:268: multiple definition of `IRrecv::IRrecv(int)'
IRremote.cpp.o:C:\Users\GCL~1.CMD\AppData\Local\Temp\build5390082056187719036.tmp/IRremote.cpp:217: first defined here
IRremote\IRremote.cpp.o: In function `IRrecv::resume()':
C:\Users\GCL.CMDRSKYWALKER\Documents\Arduino\libraries\IRremote/IRremote.cpp:379: multiple definition of `IRrecv::resume()'
IRremote.cpp.o:C:\Users\GCL~1.CMD\AppData\Local\Temp\build5390082056187719036.tmp/IRremote.cpp:332: first defined here
IRremote\IRremote.cpp.o: In function `IRrecv::decodeNEC(decode_results*)':
C:\Users\GCL.CMDRSKYWALKER\Documents\Arduino\libraries\IRremote/IRremote.cpp:454: multiple definition of `IRrecv::decodeNEC(decode_results*)'
IRremote.cpp.o:C:\Users\GCL~1.CMD\AppData\Local\Temp\build5390082056187719036.tmp/IRremote.cpp:383: first defined here
IRremote\IRremote.cpp.o: In function `IRrecv::decodeSony(decode_results*)':
C:\Users\GCL.CMDRSKYWALKER\Documents\Arduino\libraries\IRremote/IRremote.cpp:502: multiple definition of `IRrecv::decodeSony(decode_results*)'
IRremote.cpp.o:C:\Users\GCL~1.CMD\AppData\Local\Temp\build5390082056187719036.tmp/IRremote.cpp:431: first defined here
IRremote\IRremote.cpp.o: In function `IRrecv::getRClevel(decode_results*, int*, int*, int)':
C:\Users\GCL.CMDRSKYWALKER\Documents\Arduino\libraries\IRremote/IRremote.cpp:690: multiple definition of `IRrecv::getRClevel(decode_results*, int*, int*, int)'
IRremote.cpp.o:C:\Users\GCL~1.CMD\AppData\Local\Temp\build5390082056187719036.tmp/IRremote.cpp:478: first defined here
IRremote\IRremote.cpp.o: In function `IRrecv::decodeRC5(decode_results*)':
C:\Users\GCL.CMDRSKYWALKER\Documents\Arduino\libraries\IRremote/IRremote.cpp:729: multiple definition of `IRrecv::decodeRC5(decode_results*)'
IRremote.cpp.o:C:\Users\GCL~1.CMD\AppData\Local\Temp\build5390082056187719036.tmp/IRremote.cpp:517: first defined here
IRremote\IRremote.cpp.o: In function `IRrecv::decodeRC6(decode_results*)':
C:\Users\GCL.CMDRSKYWALKER\Documents\Arduino\libraries\IRremote/IRremote.cpp:764: multiple definition of `IRrecv::decodeRC6(decode_results*)'
IRremote.cpp.o:C:\Users\GCL~1.CMD\AppData\Local\Temp\build5390082056187719036.tmp/IRremote.cpp:552: first defined here
IRremote\IRremote.cpp.o: In function `IRrecv::decode(decode_results*)':
C:\Users\GCL.CMDRSKYWALKER\Documents\Arduino\libraries\IRremote/IRremote.cpp:388: multiple definition of `IRrecv::decode(decode_results*)'
IRremote.cpp.o:C:\Users\GCL~1.CMD\AppData\Local\Temp\build5390082056187719036.tmp/IRremote.cpp:341: first defined here
IRremote\IRremote.cpp.o: In function `IRrecv::blink13(int)':
C:\Users\GCL.CMDRSKYWALKER\Documents\Arduino\libraries\IRremote/IRremote.cpp:299: multiple definition of `IRrecv::blink13(int)'
IRremote.cpp.o:C:\Users\GCL~1.CMD\AppData\Local\Temp\build5390082056187719036.tmp/IRremote.cpp:252: first defined here
IRremote\IRremote.cpp.o: In function `IRrecv::enableIRIn()':
C:\Users\GCL.CMDRSKYWALKER\Documents\Arduino\libraries\IRremote/IRremote.cpp:274: multiple definition of `IRrecv::enableIRIn()'
IRremote.cpp.o:C:\Users\GCL~1.CMD\AppData\Local\Temp\build5390082056187719036.tmp/IRremote.cpp:224: first defined here
IRremote\IRremote.cpp.o: In function `IRsend::enableIROut(int)':
C:\Users\GCL.CMDRSKYWALKER\Documents\Arduino\libraries\IRremote/IRremote.cpp:239: multiple definition of `IRsend::enableIROut(int)'
IRremote.cpp.o:C:\Users\GCL~1.CMD\AppData\Local\Temp\build5390082056187719036.tmp/IRremote.cpp:184: first defined here
IRremote\IRremote.cpp.o: In function `IRsend::space(int)':
C:\Users\GCL.CMDRSKYWALKER\Documents\Arduino\libraries\IRremote/IRremote.cpp:232: multiple definition of `IRsend::space(int)'
IRremote.cpp.o:C:\Users\GCL~1.CMD\AppData\Local\Temp\build5390082056187719036.tmp/IRremote.cpp:177: first defined here
IRremote\IRremote.cpp.o: In function `IRsend::mark(int)':
C:\Users\GCL.CMDRSKYWALKER\Documents\Arduino\libraries\IRremote/IRremote.cpp:224: multiple definition of `IRsend::mark(int)'
IRremote.cpp.o:C:\Users\GCL~1.CMD\AppData\Local\Temp\build5390082056187719036.tmp/IRremote.cpp:169: first defined here
IRremote\IRremote.cpp.o: In function `IRsend::sendRC6(unsigned long, int)':
C:\Users\GCL.CMDRSKYWALKER\Documents\Arduino\libraries\IRremote/IRremote.cpp:145: multiple definition of `IRsend::sendRC6(unsigned long, int)'
IRremote.cpp.o:C:\Users\GCL~1.CMD\AppData\Local\Temp\build5390082056187719036.tmp/IRremote.cpp:138: first defined here
IRremote\IRremote.cpp.o: In function `IRsend::sendRC5(unsigned long, int)':
C:\Users\GCL.CMDRSKYWALKER\Documents\Arduino\libraries\IRremote/IRremote.cpp:123: multiple definition of `IRsend::sendRC5(unsigned long, int)'
IRremote.cpp.o:C:\Users\GCL~1.CMD\AppData\Local\Temp\build5390082056187719036.tmp/IRremote.cpp:116: first defined here
IRremote\IRremote.cpp.o: In function `IRsend::sendRaw(unsigned int*, int, int)':
C:\Users\GCL.CMDRSKYWALKER\Documents\Arduino\libraries\IRremote/IRremote.cpp:108: multiple definition of `IRsend::sendRaw(unsigned int*, int, int)'
IRremote.cpp.o:C:\Users\GCL~1.CMD\AppData\Local\Temp\build5390082056187719036.tmp/IRremote.cpp:101: first defined here
IRremote\IRremote.cpp.o: In function `IRsend::sendSony(unsigned long, int)':
C:\Users\GCL.CMDRSKYWALKER\Documents\Arduino\libraries\IRremote/IRremote.cpp:90: multiple definition of `IRsend::sendSony(unsigned long, int)'
IRremote.cpp.o:C:\Users\GCL~1.CMD\AppData\Local\Temp\build5390082056187719036.tmp/IRremote.cpp:83: first defined here
IRremote\IRremote.cpp.o: In function `IRsend::sendNEC(unsigned long, int)':
C:\Users\GCL.CMDRSKYWALKER\Documents\Arduino\libraries\IRremote/IRremote.cpp:70: multiple definition of `IRsend::sendNEC(unsigned long, int)'
IRremote.cpp.o:C:\Users\GCL~1.CMD\AppData\Local\Temp\build5390082056187719036.tmp/IRremote.cpp:63: first defined here
core.a(Tone.cpp.o): In function `__vector_7':
C:\C_GCL\T22\arduino-1.0.3\hardware\arduino\cores\arduino/Tone.cpp:535: multiple definition of `__vector_7'
IRremote\IRremote.cpp.o:C:\Users\GCL.CMDRSKYWALKER\Documents\Arduino\libraries\IRremote/IRremote.cpp:311: first defined here
I did not change the pin settings for this device. I simply selected the device in the IDE (or confirmed that the settings were still correct) and off I went. Those were the errors I saw. It seems to only effect the IR remote example.
03-27-2013 06:15 PM
Hello!
This is spooky. I just got the same strange error when re-building the code for the device. However with everything set for this device,
a classic Arduino Duemilanove it threw up that same one. The blink (IDE sketch example) one worked properly.
I am using the code contained in the blob named, LIFA_Base_2012_Build_79.zip which was snagged from the group earlier. In fact it did work before I started working with that Mini.
07-02-2013 11:08 AM
Hello!
I seem to be replying to myself here. The problem was indeed the device. I've finally gotten a UNO, and with this copy of LV2012 who is enabled as a Student Edition following the guidelines shown elsewhere in this forum, my problem is solved.
No, I don't know why the earlier problems surfaced. No I don't know why none of it worked properly.
I do know that the release of the LIFA_Base code that I tried worked with this Arduino UNO, which was seen and confirmed by the Instrumentation explorer worked. That is I confirmed that the device was there with it, and sent to the UNO the code it would need to communicate with LV2012, and then I loaded into LV2012 the simple LED project.
From there in the panel view I then set the digital I/O pin name, and chose the regular one for the existing LED, #13 as it happens.
It worked. That's all there is to it.