|
Re: Please open source your code!
Quote:
Originally Posted by demosthenes2k8
For example, I haven't seen any way to create multiple "tasks" in Labview like you can in C++, but the way the language itself is set up you might not even need them - just stick the code in parallel lines and it'll execute round-robin style multitasking.
|
Dragging down another While loop is a LabVIEW task.
You can also use Timed Loops which are RT tasks (they will always be called exactly at the interval you specify)
You can also use a Static Ref + Call By Ref Node to call a function by ref, and you can set one of the properties of Call By Ref to not wait before continuing (calling the ref in a new thread)
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor
"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
|