07-07-2008 06:35 AM
07-07-2008 06:39 AM
Hi Veeru,
insert a for loop in your vi and a case structure inside the for loop. Place your array outside the loop and connect it directly with the case structure. Autoindexing is default so you shouldn´t have an error. Create your cases for 1, 4, 6 and 10 and insert your functionality in it. Now it should work like you need it.
Mike
07-07-2008 07:03 AM
07-07-2008 07:11 AM
Can you describe exactly what you want to do? In most cases, you do not need a loop to deal with arrays. Many functions are polymorphic and will deal with arrays directly.
R
07-07-2008 07:43 AM
Thanks Joe
As said earlier,i got an array of values(say 5 values), these values are conncected to the case structure.As per the sequence of values from the array, the case structure nees to excecute(all needs to execute onc.,i.e as i said if it is 5 values in array then 5 cases in case structure needs to execute once)
Thanks