LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with building array inside a case statement

I have a problem with my build array.

 

Iam trying to construct a build array when ever I see a new element in my parent array during run time.

 

Using shift registers, search array and If- case structure, inside a while loop. Iam implementing this logic (I dont want to use Event structure).

 

Iam able to achieve most part of it, but have a problem with the first element. Except the first element of my parrent array, every thing is appending in to the build array. Can any one look at my vi and suggest me what Iam doing wrong here.

 

Thank you

0 Kudos
Message 1 of 2
(2,331 Views)

I think you need to replace the tunnels (carrying the array) in the for loop with a shift register.

 

Lynn

0 Kudos
Message 2 of 2
(2,323 Views)