05-19-2006 01:17 PM
05-19-2006 01:38 PM
05-19-2006 01:41 PM
05-19-2006 02:10 PM
05-19-2006 02:31 PM - edited 05-19-2006 02:31 PM
Message Edited by jasonhill on 05-19-2006 02:34 PM
05-19-2006 02:40 PM
05-21-2006 01:35 AM
Thanks for your help, this is really good. As I was working this demo into my existing code, I relized that there were more complications. I attached a VI that modified your code to do what I needed it to do. I must worn you first off that I am not proficient at writing code so it may be rather convoluted. Due to this let me explain in detail my desired outcome:
If you look at the Case execution array created after the program has ran I want it to have case 1 for the number of times that is specified by the user in Numeric, then I want it to have case 2 once. I want it to repeat this pattern of case 1 and case 2 for the amount of times in Numeric 2. Then I want it to have case 3 once. I want this repeated for the duration of the loop.
For example. If Numeric=3 and Numeric 2=2. The array will be 111211123111211123111211123...until stop is pressed.
The code almost does this, except when case 3 is asserted it clobbers the following case 1.
So for the previous example instead of the desired output above I get. 1112111231121112311211123...
In other words I want an extra case 1after case 3 where the _ is: 111211123_11211123_11211123...
Do you know how I could mod my code to do this? If not, is there different code that would get the desired results?
05-21-2006 05:14 PM
05-22-2006 12:30 AM
thanks
That is very helpful