LabVIEW to Arduino? LINX! But for steppers?? NOPE!

As I have not received any reply from the National Instruments website. All the hope that is left is in this community.

am currently working on a project controlling linear actuators powered by stepper motors.

Even though I can control the direction and speed of the motor I cannot control the steps it will do.

I remember on LIFA there was StepsToMove function?

How can I specify the exact steps? Which block should I use?

The duration should be an answer to that (ms connecting wire) But it does not work at all.
The motor continues after the specified time.

Bonus Question: How can I stop the stepper in an emergency situation through the front panel?

Bonus Question: How can I stop the stepper in an emergency situation through the front panel?

An emergency stop button is NOT connected to software. It DIRECTLY cuts power to the motor.

PaulS:
An emergency stop button is NOT connected to software. It DIRECTLY cuts power to the motor.

Ok then let me change the bonus question. A stop button that actually works. When I insert a stop button to the front panel connected to the exit of the loop it just stop the vi from running but the stepper motor keeps going with the last settings.

Somebody has to have some related experience guys....

When I insert a stop button to the front panel connected to the exit of the loop it just stop the vi from running but the stepper motor keeps going with the last settings.

So, you REALLY did want something to happen, on the Arduino, before you exited the Labview program. You just forgot to tell it what to do. So, fix that.

Have you considered not using LabView?

...R

tsakitsan:
As I have not received any reply from the National Instruments website.

LINX is not from National Instruments.

You should ask at their website, no NI.com

But it appears that your question is more related to LabVIEW than LINX.

Quality of the question matters at NI.com
It is not for hobbyists but is very geared towards university students and professionals whose jobs are to program in LabVIEW.

.

Robin2:
Have you considered not using LabView?

...R

In his other post ( http://forum.arduino.cc/index.php?topic=535608.msg3663554 ) on a different thread on this subject, he wrote that
"I will learn LabVIEW and it will be a piece of cake".
Don't stop him now that he is on a roll. :slight_smile:

.

Don't stop him now that he is on a roll.

That cliff up ahead doesn't matter? 8)

PaulS:
That cliff up ahead doesn't matter? 8)

Don't be silly. It is a down-hill cliff.

A
a
a
a
r
r
rgh

...R

Robin2:
Have you considered not using LabView?

...R

I had an attempt with your python guide and I did not go far. LabVIEW got me to a point so I will stick to it until I find a solution or realize that there is not one yet.

ieee488:
In his other post ( http://forum.arduino.cc/index.php?topic=535608.msg3663554 ) on a different thread on this subject, he wrote that
"I will learn LabVIEW and it will be a piece of cake".
Don't stop him now that he is on a roll. :slight_smile:

· I'm traveling at the speed of light! That's why they call me Mister Fahrenheit! Don't stop me, don't stop me, ooh, ooh, ooh

ieee488:
LINX is not from National Instruments.

You should ask at their website, no NI.com

But it appears that your question is more related to LabVIEW than LINX.

Quality of the question matters at NI.com
It is not for hobbyists but is very geared towards university students and professionals whose jobs are to program in LabVIEW.

Yes, which at the same time means that their forum is full of students and professionals. Not getting an answer may indicate the current inability of LINX to control set number of steps.. That is what I am afraid of.

Ok my research concluded,

For now the only option I have apparently is to make a custom command on LINX and incorporate the stepper LIFA functions.

.....ok..

That will take time for sure.

If anyone has any other idea let me know.

Or just use LIFA.

.

That is what I am trying to do now! New problems, new errors new troubleshooting. Trial and error at its best!

I will start a new topic for my new adventure with LIFA after a few days of experimenting!