From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array to picture.

Hi, I have a stream of arrays that i need to update to picture control frame by frame. My (n+1)th array should be displayed above my nth array. How can we do this in Labview?

I am assuming we will have to convert array to pixmap and then draw which is understood. But how i shift the canvas to draw a pixmap above an already existing pixmap?

0 Kudos
Message 1 of 3
(676 Views)

I would just use 2 picture indicators.

0 Kudos
Message 2 of 3
(653 Views)

I assume you mean a picture indictor.

 

I would initialize a 2D array at the full size, then replace part (subarrays, rows, columns)  as they arrive. How many arrays do you want to display simultaneously?

 

There are many ways to interpret your requirements. can you give a more detailed example?

 

  • So you want to display frame 1.
  • Then you want to display frame 2 above frame 1.
  • What should happen when frame 3 arrives?
    • discard frame 1, move frame 2 to position 1 and display frame 3 above it?
    • show frame 3 above frame 2, keeping all three frame in view?
    • Something else?
0 Kudos
Message 3 of 3
(638 Views)