Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69098

Event structure not executing

$
0
0

Hello, 

 

I have a linear stage that I am controlling with an open loop system using a stepper motor.  I want to run some tests to measure how far and how consistently the motor can move the stage.  The way my software works is that I give the motor a position (number of steps), then it runs until it reaches that position.  

 

The motor homes itself, and then I want to implement an event structure so that I can give different commands without having to rerun the program each time.  The three cases I would like to implement are: 
1) Giving the motor a new position to run to

2) Telling the motor to home itself again

3) Stopping the program at any time

 

I have watched tutorials on the event structure, and can't for the life of me figure out why it won't work.  The motor runs, homes itself, enters the while loop, and just stays there.  When I change the values, nothing happens.  Can anyone help me figure this out? 


Viewing all articles
Browse latest Browse all 69098

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>