Quote:
Originally Posted by comphappy
Just creating a toggle variable (need a 1 and then 0 to do a ~) in C is a few simple lines, just try it in Labview it is a mess.
While I am training the rest of the underclassmen who are doing programming labview as it connected with the NXT and RXT stuff that they are already learning, I think I might just be writing this years code in C.
While I am amazed at what LabView can do (really I am), I am also shocked at what it does inefficiently.
|
This isn't the appropriate thread, but if you want to discuss other ways of doing things in LV, I'm game. It will be a learning experience for many if you are willing to pose the questions.
But I don't really know what the issue is with the toggle variable. I think you just want a shift register with a negate, so that each loop iteration produces the opposite of the last iteration. You can also do this with a feedback node.
It really shouldn't take lots of messy C or LV code once you have the hang of the languages. I'm happy to answer LV questions here or on other forums.
Greg McKaskle