LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Speed control with user input and continuously checking speed

I am a computer engineering student that just started using labview. I will be getting the speed of a DC motor from an encoder an that output goes through to the My rio and from there this is the code. The code needs ask the user to enter the speed if the speed they enter is over the set top speed then the brake should be applied. I am kind of confused can some one look over my code an give me suggestions or fix my mistakes so I can see it visually, any feedback would be great!

0 Kudos
Message 1 of 2
(2,092 Views)

Well, you have broken wires and not much that makes sense. Start with some tutorials and example code.

 

Hover over the broken wire and it will tell you the problem. You also need a while loop around your code. Get rid of the stop primitive....

0 Kudos
Message 2 of 2
(2,085 Views)