LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Loop Count and Array Index

Solved!
Go to solution

Hi all, when I connect the loop count of my for loop to the index in my array index, it gives me an error saying, 

The type of the source is 1-D array of
long [32-bit integer (-2147483648 to 2147483647)].
The type of the sink is long [32-bit integer (-2147483648 to 2147483647)].

 

Why is this? They are both integers... 

 

Thanks@

0 Kudos
Message 1 of 4
(2,445 Views)

can you post a snippet or the VI?  This sounds just wrong, but maybe there's something stupid you didn't notice.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 4
(2,441 Views)

I guess you are using 2 D array and you are wiring the loop count to the element terminal and not the index ( I may be wrong - just a guess) Please post your code for a better answer.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 3 of 4
(2,436 Views)
Solution
Accepted by JustinC

I'm not really sure how but I fixed it... I just started the wiring from scratch. 

0 Kudos
Message 4 of 4
(2,432 Views)