LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

flatten pixmap problem

Anyone know why the Flatten Pixmap VI is transposing the 2D array? See the attached vi. Its a simple fix (just transpose), but I don't understand why the VI transposes the image.
 
R. Michael Churchill 
0 Kudos
Message 1 of 3
(2,417 Views)

You forgot to set the default value in your VI, but I think I understand anyway. If you create an array indicator, you will see that the intensity graph is actually the one that is different. The values have the same orientation in the array indicator and in the picture indicator.

Its just a matter of focus on different use cases. The picture stayed consistent with the array indicator. The intensity chart and graph default to provide horizontal orientation if you acquire an array of signals in a loop. We realized that this would be a common issue though and that is why we provided the "Transpose Array" option directly on all graphs and charts when their input is a 2D array.

Message 2 of 3
(2,410 Views)

I see. My problem was I was using another Intensity Graph that worked just fine. Turns out it had the "Transpose Array" checked in its shortcut menu. So that explains the discrepancy.

Michael

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