11-28-2011 04:50 PM
Attempting to run the Tone VI produces the following error. "Error 5005 unable to find Arduino." This happens only with Windows 7. Yes, I was able to download the base application to a Uno board and the Arduino Tools menu shows a valid COM port address. I tried setting the COM port in the Tone VI using the procedure described in the other "Error 5005" message. This did not help. This problem did not occur when I used LIFA with Windows XP.
What should I do to get the LIFA functional on Windows 7?
Howard
11-29-2011 11:20 AM
I too would also like to know the answer to this...I have four computers all with windows 7 and error occurs on every single one, but then on my bootcamp partition on my mac running windows xp, and no error...AHAH!?!?!
11-29-2011 04:55 PM
Howard and bathtub2007,
Are you using the Tone example? Where are you setting the COM Port? You should never set it in the sensor VI. You should be wiring a constant into the Init VI. I have tested the example in Windows 7 and it worked fine for me.
-Sam K
LIFA Developer.
11-29-2011 06:51 PM
Yes, I am using the Tone VI example. Yes, I set the string constant in the Init VI block daigram. When running the VI the response is still Error 5005 unable to find Arduino. I get the same 5005 error on two differeent Windows 7 computers and bathtub2007 gets the same 5005 error on 4 differnent Windows 7 computers. I don't kow why Tone VI runs on your Windows 7 computer but not ours. However, when 6 different Windows 7 computers can not run Tone VI
it makes me think the LIFA still has bugs.
Howard
11-30-2011 08:10 AM
Howard,
Can you post your code. Are you using a string constant to select the COM port or a VISA Resource Constant? Do any LIFA examples work for you?
-Sam K
LIFA Developer
11-30-2011 10:38 PM
The following 9 examples produced the 5005 error when run in Windows 7.
AnalogReadPin
BlinkM
LightShow
Photocell
RGBLed
SevenSegment
Thermistor
Thumstick
Tone
Servo did not prioduce the 5005. Most likely because it produced the following error.
Error -1073807343 occurred at VISA Clear in LabVIEW Interface for Arduino.
lvlib:Init.vi->LabVIEW Interface for Arduino.lvlib:Arduino Servo.vi
Going back and carefully rereading the instructions you provided Sammy proved I was adding the VISA Resource Constant in the wrong place. It must be added to the VISA Resource Terminal in the top left of the Init VI not the VISA Resource Bus. Adding the VISA Resource Constant to the coorrect location in the VI enabled the Tone VI to run in Windows 7.
I have not tried adding a VISA Resource Constant to any of the other examples that produced the 50005 eerror.
Howard
12-01-2011 09:16 AM
Howard,
This is expected. When you set the VISA resource constant on the init VI it is bundled into the Arduino reference and passed into each following VI. This is a basic concept of LabVIEW and is the way we handle all references. If you are interested you may want to check out some of the basic serial examples in the example finder. You will see they work much the same way, but setting the VISA resource once and passing it to all subsequent VIs.
In the case of the Arduino Reference, information other than the VISA resource is also included in the reference wire. For each VI after the init VI, if you connect a wire to the Arduino Reference input it will override the default settings in that sub VI. This could be why you were not able to get it working by setting the COM port on the individual VI front panels.
-Sam K
LIFA Developer
07-13-2012 10:17 AM
Hi,
I'm new to ardunio. I'm running Labview on Windows 7, 64bit. I spent a day getting the 5005 error.
Through an accident I found that after about 20 attempts to run, one would connect. Usually when I would attempt to run the RX light
would blink but nothing happened. Traced the problem to the Ardunio R/W command. It was receiving no bytes. I pressed the reset on the ardunio and it connected.
After getting to connect once is would work correctly after that.
Hope this helps.
07-19-2012 03:51 AM
I ran in that error too. On my system the Arduino (A Clone with Mega 1280) gets "USB SERIAL PORT" as its device name in the Windows HW manager. The Autodetect VI looks for the pattern "Arduino". So I changed that pattern to "USB SERIAL PORT" and it worked like a charm without the 5005 error.
07-20-2012 11:56 PM
hola amigos ami me pasa lo mismo que a ustedes, quiero hacer una lectura analogica en uno de los pines y al principio funcionaba perfectamente, pero pare el vi y despues no se pudo establecer la comunicacion con el arduino, apareciendome el error 5002 como puedo solucionar este error? y al momento de cargar me aparece este error