LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview resizes my matrix if the end has zeros

Basically, I have a VI that outputs a 2x65 matrix with all zeros past the 7th or so column. If I wire an indicator to the output of the VI that is functioning within a larger body of code, it removes all the zeros and resizes my matrix Robot Mad . There is literally nothing between the output matrix within in the VI and the indicator connected to the VI on the next level. Why is it reshaping my matricies?

0 Kudos
Message 1 of 3
(2,976 Views)

That's odd.  Can you post some code (a vi or snippet would be better than a picture)?  What version of labview are you using?

 

All I know for certain is that this doesn't normally happen, so something else must be going on.

0 Kudos
Message 2 of 3
(2,947 Views)

Are you talking about a matrix or a 2D array?

What does the subVI do? are all required inputs wired? Can you attach it?

What does it do if the matrix does not end in zeroes?

What does the "larger body of code" do?

What does array size/matrix size say when probing the subVI output?

Are there any local variables or property nodes around?

0 Kudos
Message 3 of 3
(2,932 Views)