01-11-2012 08:15 PM
Hey TurboM,
I am working on putting together a more in depth guide for the steper motor tutorial. I am currently waiting on some hardware but I hope to have it out next week.
01-12-2012 12:39 PM
Hey Kevinf ,
Finally I could make OK the communication between arduino mega and labview, I changed the "wait for arduino to exit boot loader" of 5000 to 10 000 value in the INIT fuction. but now my question is: Why this value is bigger in arduino Mega?, do you know?
Thanks.
01-16-2012 02:31 AM
Hello,
we want to read a simple switch.
We want to define pin 2 as digital input pin. Then we want to use the inner pull resistance of the arduino and set the pin to high. After closing the switch pin 2 is short circuited and low and we want to read this status.
This worked well with the old LIFA, but now fails.
LV2010
Windows 7 64bit
Arduino Uno R2
Thank you for response
01-16-2012 09:29 AM
Hey arzt2283,
Do you get an error message or does the value you read back from the digital pin never change?
01-16-2012 10:34 AM
I don't get an error mesage. The value I get back don't changes all the time. But the same VI works with the old LIFA.
01-16-2012 10:35 AM
Interesting, We didn't change anything in those VI's or firmware with this release. Are you using Arduino 1.0 or 022 or 023?
01-17-2012 12:57 AM
I use arduino 022, because I had problems with the arduino drivers from 023 and 1.0 . With this drivers LabView can't communicate with my arduino.
Now I updated the drivers and to arduino 1.0 and use a new Arduino REV3 . But I have the same problem with the new LIFA.
When I replace all serial.write('*') in the new LabVIEWInterface.pde by serial.print(*,BYTE) from the old LabVIEWInterface.pde and upload it to the arduino with arduino022 then everything works fine.
01-17-2012 01:30 PM
You are right there is a bug I didn't catch in the digital read resulting from the new method we use to pass data back to LabVIEW with Arduino 1.0. I attached a snippet of the fix. We will fix this in our first patch for LIFA 2.0
01-19-2012 01:46 AM
Thank you. Now everything works fine.
01-23-2012 03:45 PM
We will be releasing an update (2.1) to fix the digital read issues as well as the stepper motor issues with the Easy Stepper (there will be a new case for use with the Easy Stepper).
This will give the stepper motor the following modes:
2 wire mode (for a 2 pin stepper motor-which 2 pins directly connect to the stepper motor coils)
4 wire mode (for a 4 wire mode -which 4 pins directly connect to the stepper motor coils)
AF Motor (for the AdaFruit motor shield)
EZ Stepper (for the EZ stepper - just need to set which pins to use for step and direction)