Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

myRio

hello to all.

I would like to create a VI to control a step motor to run certain numbers of steps... but I am not even close to have that experience on Labview programing

An example would be if I set on VI that I want 120 steps it would send 120 "steps"

I am using a H-bridge controled by Ni Myrio and step motor model PM55L-048-HPG9, The brand is NMB it has 7º between steps. 

Please could you help me?

Best regards

0 Kudos
Message 1 of 5
(4,140 Views)

You can use this code to generate Definite pluse

Happy to Wire
Message 2 of 5
(4,126 Views)

Hello Mr Sankar

Thanks for the help..

But I need something close to what I did that is attached.. but my one Ican control the number of steps

The VI I'have attached I can control the step motor by case of structure that has for interactions that change the pulse position to control the H-Bridge and make step motor step out.

I justwant to control how many times I can make it change the case structure position

best regards

0 Kudos
Message 3 of 5
(4,113 Views)

Hello

I got a little evolution on that, but not perfect yet, please have a look

On new VI you will se a place for number of steps.. I want make it run until reach that number, but my one count only until reach 2

but my one is not counting up... regardsSmiley Frustrated

0 Kudos
Message 4 of 5
(4,111 Views)

For the counting operation you have to use shift register or feed back node. Please Refer this link

Happy to Wire
0 Kudos
Message 5 of 5
(4,107 Views)