|
Re: General LabVIEW questions from a VERY new user
So I'm trying to modify our drive system. I tried just plugging the output into a sqr-root vi and that into the drive system vi, but as soon as I enabled the driver station, the wheels immediately turn. I'm pretty sure it's vecause it's trying to take the sqr root of 0, so I'm trying to code it so that it'll work for everything, however I'm still confused how to do if-then-else statements in LabVIEW
I attached a picture of my attempt to make it work for positive and negative numbers (but still have not set it to "if == 0, go straight to drive system vi")
Also I've heard something about case structures for if-then-elses, not the "select" vi, but I'm not sure which to use how to use either one..
Thanks for the help!
|