01-09-2010 06:32 AM
Could some one please tell me how I make my numerical inputs down the left hand side reset to 0 when the while loop gets its stop signal? Much Much appreciated |
Solved! Go to Solution.
01-09-2010 07:56 AM
01-09-2010 08:07 AM
Simple counting reveiles, that you could use an 4x6 array. You can simplify the comparisons by using the polymorphism of the Equal primitive (yes, they work for arrays: right click to select if you want a boolean array out for each element or a single boolean if all elements are equal).
And very important: The equals might fail! Use I32 as inputs. The doubles might not be equal in the last digits because of numerical errors, hence you might evaluate 3=3->false (one is 2.9999876 and the other 3.00000123).
Felix
01-09-2010 09:42 AM
01-09-2010 10:49 AM
First of all apologies for posting multiple threads. I feel like i have broken a cardinal rule of the forum.
Secondly could you please tell me what and where i can find those instructions inside your flat sequence snippet.
cheers
01-09-2010 12:22 PM
Everything is on the Application Control palette.
When you drop the Invoke Node onto the diagram, right click on it anddo 'Select Class>VI Server>VI>VI'> Then right click againon it and select 'Methods>Default Values>Reinitialize All to Default'.
01-09-2010 10:53 PM
metsystemalex wrote:Secondly could you please tell me what and where i can find those instructions inside your flat sequence snippet.
I did not have a flat sequence snippet. That's an event structure, and I explicitly told you in the response how to create the invoke nodes.