11-28-2012 04:14 AM
Evening all.
So I have an Arduino Uno running on Labview 2012 with all the drivers and VISA installed. Its hooked up to the stepper motor running with the Easydriver, as in the Arduino example. I'm able to run the example with my motor (great and dandy) but the point of it all is to have the motor run a test.
The motor process would be something like the following:
1. Hit run & start, motor moves a step
2. Pauses to collect data, which it sends to labview. Data collected is serial counts, which it would count the number of occurances and store them under that step.
3. Certain amount of time goes by, moves another step, etc.
Once the experiment is started, it should continue until its end (about a 15 degree turn) and then reset back at its original position. Ideally it would include a reset button.
My question for the community is where do I get started altering the Labview-Arduino example Arduino Stepper Motor?
Would it be in the Lifa-Base, or the Labview program itself?
Is there an example of where to add things to the original example so as I might make a leap forward with this?
Your input is appreciated.
-Kell
I've included arduino code (soley arduino, not through Labview) of what the idea of the process would be (though this also needs work, but I'm wondering how to get it integrated with labview before I spend too much time on it)
11-28-2012 08:01 PM
You say:
"My question for the community is where do I get started altering the Labview-Arduino example Arduino Stepper Motor? Would it be in the Lifa-Base, or the Labview program itself?"
You need to modify both to do everything you want to do. LIFA does not have built in counting capability.
Or instead of using LIFA you may want to use Labview as a serial monitor in place of the serial monitor built nto the Arduino IDE.
hrh1818