LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

insert cluster in array

I did something wrong
I try to build an array of xy location but it doesn't work!!! I have Labview 6.0
0 Kudos
Message 1 of 3
(2,863 Views)
If I understand correctly what you're trying to do, then I think you should be using the Insert Into Array function instead of the Replace Array Element function. Your initial array that you input via the shift register has only one element and the Replace Array Element function won't replace an element if it doesn't exist.
0 Kudos
Message 2 of 3
(2,863 Views)
Hi

You are using "Replace Array Element" instead of "Insert Array Element" Function.

I changed the "Replace..." with "Insert..." in both your True and False Cases. Moved the resultant Array Inside the While Loop.

The Modified VI is attached.

Mache
Good Luck!

Mache
0 Kudos
Message 3 of 3
(2,863 Views)