LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino Interface for LabVIEW "Stepper Write VI" Write in Half or Micro Steps

Hello everyone,

 

I am developing a LabVIEW code which uses the "Stepper Write VI" to control a stepper motor. I am simply curious if there is a way to use this VI to increment the motor in Half or Micro steps as opposed to full steps. If there is not a way to use this VI for that task, what would be another optimal method for controlling the motor with half or micro steps?

Thank you.

0 Kudos
Message 1 of 6
(3,541 Views)

It's impossible for us to tell from what you posted, since all of the subVIs are missing. Can you post the entire project, or point us to where you got the stepper motor functions from so we can look at them?

0 Kudos
Message 2 of 6
(3,499 Views)

Can you tell us about your hardware setup you are using? What stepper motor do you have? How are you interfacing with it? It seems like you are just using LabVIEW to send commands to the Uno, which is what is actually controlling your stepper motor.

 

Posting your full program so we can see your VI's would be needed I think.

CH
Applications Engineering
National Instruments
http://www.ni.com/en-us/support.html
0 Kudos
Message 3 of 6
(3,492 Views)

Hello,

I forgot the subVI's that I use won't show up for everyone. I am using the Labview Interface for Arduino Toolkit, which I downloaded with the VI Package Manager. When you download this toolkit, you can flash your Arduino with the LIFA firmware which allows it to communicate with LabVIEW. This is where those missing VI's came from.

 

http://www.ni.com/gate/gb/GB_EVALTLKTLVARDIO/US

 

Steps on Flashing the firmware:

http://digital.ni.com/public.nsf/allkb/8C07747189606D148625789C005C2DD6?OpenDocument

0 Kudos
Message 4 of 6
(3,484 Views)

Hello,

 

Currently I am using LabVIEW 2015 to communicate directly with an Arduino Uno via USB. The Arduino is linked to an L298N stepper motor driver chip. The motors are NEMA 17 bipolar stepper motors which are being used to drive LPDA1720330H variable volume pumps which are manufactured by The Lee Company. I am unsure of the exact model of the motors, but the lead wires have LL47210 printed in them. I hope this helps.

 

L298N Motor Driver:

https://tronixlabs.com.au/news/tutorial-l298n-dual-motor-controller-module-2a-and-arduino

 

LPD Series Pumps

http://www.theleeco.com/electro-fluidic-systems/dispense-pumps/lpd/high-performance-style.cfm

 

0 Kudos
Message 5 of 6
(3,483 Views)

A quick skim over the motor driver board docs you linked to make it sound like the board itself won't support microstepping.  Support for half-stepping is conceivable, but that'll depend on the arduino code.  (Half-stepping toggles back and forth between 2-phase-on and 1-phase-on operation, all at the same phase current level.  Micro-stepping requires variable control of the current levels.)

 

 

-Kevin P

ALERT! LabVIEW's subscription-only policy coming to an end (finally!). Permanent license pricing remains WIP. Tread carefully.
0 Kudos
Message 6 of 6
(3,468 Views)