LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview control stepper motor with raspberry pi 4

Solved!
Go to solution

Thank you for your help. I will look at your links again. If you have any other advice, you can let me know.

0 Kudos
Message 11 of 15
(97 Views)
Solution
Accepted by sefanoulis7

Hello Sefanoulis,

 

I use a tb6600 as micro step driver plus nema42 motor.

I succeded to make mine turn with this small routine. Sorry for the code it is not clean at all but at least it make the motor rotate 🙂

I wanted to generate steps with more accuracy but not all the linx libraries are available for raspberry pi 4 😞

It is a first shot, I will try to do better.

 

BR,

Jaws

 

 

0 Kudos
Message 12 of 15
(84 Views)

Thank you very much. I will try the vi you have thrown. I will feedback you again if I can run it.

0 Kudos
Message 13 of 15
(77 Views)

jawsjaws, thanks to you for the first time I have been able to start the engine. Thank you very much for that. So how can I add the start and stop buttons to this program? I want to control it from the front panel.

 

0 Kudos
Message 14 of 15
(70 Views)

Sefanoulis7,

 

There is no front panel for raspberry application (only on debug mode).

This is just because the event structure is disabled for raspberry pi.

This also the reason why your initial code will never run on raspberry.

I suggest you to use a webVI if you want to control your motor via a web page which will handle events buttons and so on.

for example see  https://www.mediamongrels.com/category/blog/make-ing-with-labview/ 

 

BR,

Jaws

0 Kudos
Message 15 of 15
(50 Views)