10-03-2013 01:57 AM
Correct from the SubVI. because it will be running continuously then it won't pass the data
10-03-2013 10:48 AM
Thank you all for your help. I'm going to have to make some changes in my project. The problem with deleting the while loop inside of the subvi is because thats a module inside my project that aquire information every 100ms from a joystick to control throus web a robotic arm. The idea was to show the user some leds indicating the speed of the arm, but those are in the main user interfase.
Again... thanks for your help!
10-03-2013 10:54 AM
Welcome to the world of non-trivial computer programming. Sometimes you have to do just that - tear down your program and use a completely different architecture. Or at least, that's my experience. You can't count on guessing the right one the first time, every time, especially if you're still relatively new at it.
Cameron
10-03-2013 05:41 PM
Then you need to run both while loops in parallel, not one inside the other.
Use a producer consumer design pattern and queue updates from the joystick loop to the display loop.
10-03-2013 10:13 PM
product consumer is one better way to do this.
10-03-2013 10:17 PM - edited 10-03-2013 10:17 PM
This thread seems to have an echo? Does anybody else here it?