|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
I need help to figure out a way to make a Boolean true false control a motor. I only need the motor to run at one speed and needs lots of help.
|
|
#2
|
||||
|
||||
|
Re: Button to control motor?
Use the express vi for true and false or a case structure with a constant in it to control your motor output. I don't have LabVIEW on me, so I can't show you right now.
|
|
#3
|
|||||
|
|||||
|
Re: Button to control motor?
It sounds like you just want to use a Select (on the Programming->Comparisons palette).
Here's an example using a couple of Selects to set motor speeds. This particular example maintains the last speed chosen by button until overridden by a new button press and it's compatible with the Motor Safety Config if you want to use that: ![]() Using Case statements looks like this (replace the Solenoid Sets with Motor Sets). This method isn't compatible with the Motor Safety Config: ![]() Last edited by Mark McLeod : 03-02-2014 at 16:45. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|