LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

indications ultrasonics pause when motor stepper running

hello....

i have problems with my VI's, i want instructions motor stepper running with sequence structure through command indications of ultrasonics sensor, when motor stepper running indication at ulrasonic sensor is pause and then motor stepper stop indications ultrasonics normal again. i used dual full bridge amplifiers at motor stepper.please help me. thanks

0 Kudos
Message 1 of 4
(3,837 Views)

What exactly is your question?

0 Kudos
Message 2 of 4
(3,266 Views)

I want when the stepper motor works indication ultrasonic sensor does not stop?

thanks mr Nathan

0 Kudos
Message 3 of 4
(3,266 Views)

What you are seeing is the normal operation of the LIFA Stepper Motor Example.  When running the LIFA stepper code Arduino returns a number of steps to go signal.  Labview will not move to the next code step in your Labview program until the steps to go signal goes to zero steps. 

The easiest work around is to send a small number of steps command to Arduino.  By doing this you can get more frequent ultrasonic readings and make it appear as if you can simultaneously move the step motor and read the ultrasonic transducer signal.

hrh212

0 Kudos
Message 4 of 4
(3,266 Views)