LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

calling producer/consumer subvi using main vi for image grab acquire

Solved!
Go to solution

Hi Bjorn,

 

Sorry to bother you again. I am just wondering should the IMAQWindraw be in the Consumer Loop or Producer Loop? When it is in the producer loop under timeout, no images appear. It seems to me that the image data from consumer was not passed to the Producer Loop.

 

But when I change it into the Consumer loop, the image did appear. So, I am just wondering whether is it better to display all the images that I get using the consumer loop?

 

Thanks again for all your advice and comments.

 

Cheers,

Han Yen

 

IMAQWindraw in Producer Loop:-

IMAQWindraw in ProducerLoop.JPG

 

 

IMAQWindraw in ConsumerLoop:-

IMAQWindraw in ConsumerLoop.JPG

0 Kudos
Message 11 of 14
(948 Views)

Hi Han,

 

The problem is that I could test this VI Smiley Sad My bad, ALWAYS test a VI 😉

It should work in the consumer loop cause the image data is not in the Image reference.  Like it says, it's just a reference.

 

What might be the problem is that it's done in the timeout.  This is not a good thing to do, if I think about it a little bit more.  because It's constantly updating even if there is no update of the image.

 

You can put it in the producer loop and that will work fine as you mentioned yourself, but for some reason it doesn't feel good to me to put it there.

But Hey, if it works for you and you're happy with it, GO FOR IT 😉

I don't think it will give you that much overhead, of will give you anu problems.

 

Have fun 😉

Kind regards,

- Bjorn -

Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's 😉
LabVIEW 5.1 - LabVIEW 2012
0 Kudos
Message 12 of 14
(938 Views)

Dear Bjorn,

 

Thank you very much. Will give them a shot. 🙂

 

Kind regards,

Han Yen

0 Kudos
Message 13 of 14
(934 Views)

I use a NI 1430 grab card and a silicon imagign 1300 camera .IN max , at the bottom right corner ,300FPS.but when I used the LLring example of example finder with a image write module,  It saved only 270 images one second ,How to solve the problem .

 

0 Kudos
Message 14 of 14
(923 Views)