LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LINX is the new LIFA but NOT for Steppers? +Bonus Question

I 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. (calculating frequency x time to get distance) but it does not work. The motor continues after the specified time.

 

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

0 Kudos
Message 1 of 9
(5,114 Views)

What is the taboo about it? Some official member should respond and let us know. I have spent valuable time experimenting with LINX only to find out that I cannot specify the stepstomove (distance) of my stepper motor? 

So what should I do with them? Just spin them fast/slow clockwise/anticlockwise etc?

 

....tsakitsan

0 Kudos
Message 2 of 9
(5,045 Views)

This is not the official forum for LINX. You will likely have better responses over on the LabVIEW Maker Hub. While National Instruments did provide substantial help in creating LINX it is not a National Instruments product in itself. The LabVIEW Maker Hub is the maintainer of LINX and other similar projects.

Most users on this forum have never seriously worked with LINX and use the professional LabVIEW Realtime versions running with the National Instrument CompactRIO realtime platforms.

 

Besides, getting impatient after less than 24 hours of your first post is not going to help you. People on this forum are either volunteers who will step in if they have any  substantial information to provide, or if they are National Instruments support people they may never have worked with LINX as that is not a product NI sells and is not laying around on every table inside NI.

Rolf Kalbermatter
My Blog
0 Kudos
Message 3 of 9
(5,038 Views)

Thanks for the reply anyway. but I could see my post going down without any answer..

By LINX Forum you mean this?:

https://www.labviewmakerhub.com/forums/viewforum.php?f=12

I have tried to upload a week ago and also to reply to a thread yesterday and apparently everything is still being moderated. If you are talking about this forum, that is dead..

It is enthusiasm rather than impatience. 

0 Kudos
Message 4 of 9
(5,030 Views)

Please use this code for stepper.

I have written this.

 

Message 5 of 9
(4,430 Views)

Pin 3 is for steps and pin 2 for direction

0 Kudos
Message 6 of 9
(4,429 Views)

Hi there,

 

Just wondering what I am doing wrong. When I load the firmware from the LINX firmware wizard and run the LED example that appears I can connect no problem to my arduino uno. However when I downloaded your VI and ran it, after choosing the com port, I am getting error 5001. 

 

Any help would be greatly appreciated.

Thanks,

Ben 

0 Kudos
Message 7 of 9
(3,296 Views)

FutureTECH Can you explain which pins are used for connection?

0 Kudos
Message 8 of 9
(2,869 Views)

Hello,

 

I used your code and works well however,  I needed to switch pins 2 and 3. I have pin 2 going to Pul+ (steps) and Pin 3 going to Dir+ (direction) I am using a Microstepper driver that I got off of amazon, your standard black box with green headers out of the top and heatsink on the back. Below is the VI i downloaded from the link. it shows pin 3 for diection and pin 2 for Steps.

 

TerryBruce_0-1656254510727.png

 

0 Kudos
Message 9 of 9
(1,655 Views)