LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Viewing of two images on a front panel

Solved!
Go to solution

Hi,

 

I'm acquiring a NTSC video from a single channel and I have to elaborate the video in some steps with a flat sequence.

I have inserted two blocks in order to view the results of two elaborations in the front panel. I mean, the first block should show the original image and the second a transformed version of the image.

When the first step is executed, I see the original image on the first block. When te second step is executed, I see the transformed image on the second block and also on the first block, even if it is not connected in this step.

What could be the problem? Is there a "link" between two distinct image block inserted on the same VI, but in different steps of a flat sequence?

 

Regards,

 

Claudio

0 Kudos
Message 1 of 6
(2,485 Views)

Hi,

 

Most IMAQ functions do the processing in the memory space of the image in to avoid extra memory consuption.

If you need to see both images, you must create a new memory space to avoid that the fist image is lost during processing.

Create a new image, and save the acquired image on that memory space and then use the other one to feed the processing function.

 

Unfortunately I don't have IMAQ installed on the PC, so I cannot send you an example.

 

Hope this helps,

Paulo

0 Kudos
Message 2 of 6
(2,482 Views)

Hi Paulo, I haven't created a memory space in LabView. Is there a specific function block or procedure to create the memory space?

 

Thanks,

 

Claudio

0 Kudos
Message 3 of 6
(2,471 Views)

Hi,

 

As I said, I don't have IMAQ in this PC, but I found a picture with it:

 

untitled.JPG

It's the one on the bottom left (I think it is called IMAQ create.vi) - untitled will be the image name.

So at the output of that processing, the image will be on that memory space.

 

Hope this helps,

Paulo

 

 

0 Kudos
Message 4 of 6
(2,452 Views)

Hi Paulo,

 

I am already using IMAQ on each step where I acquire the image. Is it possible to make a copy of the image and freeze it on the image display? I've tried IMAQ Copy, but it doesn't resolve my problem (the copy of the first acquired image is modified with the second image when the second image is acquired).

 

Thanks,

 

Claudio

0 Kudos
Message 5 of 6
(2,428 Views)
Solution
Accepted by topic author wolf82

Hi,

 

Take a look at the attached example.

You need to feed a new memory space to Img dst, otherwise the image src memory space will be used.

 

Hope this helps,

Paulo

Message Edited by PauloM on 04-09-2010 12:19 PM
0 Kudos
Message 6 of 6
(2,421 Views)