01-06-2012 10:55 AM
Hi,
I uploaded the latest LVIfA2.o and also did the latest firmware update to the Arduino and starting to play around with the Stepper Motor example.
When I run the example it reports back it can not find the Arduino??
I checked to make sure that the default baud rate is 115200 on the arduino and it is set to the default baud rate. What else am I missing??
I am using a MacBook Air and have the right USB port as I can load to the arduino ok.
I checked the Init LVIfA vi and it is set for USB/Serial and the packet size is correct it just reports the 5005 error.
Many Thanks in advance.
Steve
Solved! Go to Solution.
01-06-2012 10:59 AM
I was having the same problem, and I fixed it by making sure that the "VISA Resource" on the Init Sub-VI was set to the correct value ("COM3" for me)
Hope that helps.
--David
01-06-2012 11:00 AM
Hey Steve,
Give it a shot with the COM port specified manually as seen below:
Are you able to see the Arduino in Measurement and Automation Explorer listed as a COM port?
01-06-2012 11:26 AM
Thanks for the input I did set it up like David suggested and got it working.
Steve
01-06-2012 12:18 PM
All,
This has been brought up before. If you do not wire a visa resource into the Init VI it will attempt to Automatically discover which COM port the Arduino shows up as by scanning all of the attached devices names and looking for the keyword 'arduino'. On Mac and Linux the device names do not show up with the work arduino in them. Instead you will get something like dev/ttyusb0. This is why the auto connecto does not work.
It's best practice to specify the com port explicitly rather than allow the auto detect to determine which com port / arduino to use.
-Sam K
LIFA Developer