02-01-2008 04:34 PM
02-01-2008 08:19 PM - edited 02-01-2008 08:19 PM
Your code show a complete misunderstanding of dataflow. For example, the lower left big while loop has no purpose that I can see. Most code segments are so convoluted, it is difficult to tell what their purpose is.
There is no reason in the world to update a numeric via a "Numtext.text" property. Just use the "value" property and wire the random number directly to it. For good measure, you might want to defer panel updates during running of these small FOR loops.
I would also remove the timeout in the event loop and add a loop for the stop button instead. Overall, I would suggest to rethink the entire program. There simply has to be a better way. 😉
02-01-2008 10:01 PM
02-01-2008 10:11 PM - edited 02-01-2008 10:12 PM
02-01-2008 10:43 PM
Ravens, these constructs with the inner loops originate from the old state diagram toolkit if I remember right. So these are canned things from NI.
We discussed that special node in the past, 'don't remember the details. 😉
02-01-2008 11:25 PM
02-02-2008 11:09 AM
02-04-2008 08:43 AM