ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array init problem

Hi !

I have a result array (FailArray2 , look attachment LV70), what is not
working propely. If i run this code several times, result comes end of array and
arry size is growing every run time.
If i connect "Init Array" before For loop , every results comes first row.

How this must be done that every run time i get right 2Dimension array ?

IF i make EXE this LV how it's works then (this is Sub VI)

-HeVi-
0 Kudos
Message 1 of 3
(3,080 Views)
Hi,

i think you have to use one more shift register in the outer for-loop.
I hope the modified example does what you want.

When you build a Application (*.exe) there´s no change in the handling of the Code.


Regards and i hope this helps,
Alex R
NI Switzerland
Message 2 of 3
(3,069 Views)
Yes, it's work now, Thanks !

Simply thing but sometime ...engine jam...or.......

-HeVi-
0 Kudos
Message 3 of 3
(3,065 Views)