Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

I get problems when I tried to display an image continuously.

I get problems when I tried to display an image continuously.

 

And it says

" A timeout error occurred while waiting for the specified event. 

 If waiting for an image, verify that all video data is acquired within the timeout period"

 

I remember that there is a specific VI that synchronises "Display refresh rates and Image source".

Could anyone tell me the exact VI or any other solution for this...

Thanks.

 

0 Kudos
Message 1 of 10
(4,780 Views)
R u using a acquire or a snap?
0 Kudos
Message 2 of 10
(4,758 Views)

Hi Dsk001,

 

What kind of camera and framegrabber are you using?

I assume you are using LabVIEW, but can you acquire an image in Measurement and Automation Explorer(MAX)? Try doing a Snap in MAX, are you able to acquire an image there? If so, then try doing a Grab in MAX. Is this successful?

 

If you are not able to do a Snap in MAX, then I suggest trying to change you camera attributes. It is possible that your timeout is set too low if you are acquiring a high resolution image.

 

 

Message Edited by Michelle_B on 09-29-2008 11:18 AM
--Michelle

National Instruments
0 Kudos
Message 3 of 10
(4,739 Views)

Hi Michelle,

 

       I am using a Digital color CCD Camera, from the manufacturer "Industrial Vision source" CCAM Series.

The framegrabber is PCI 1405. 

   In MAX grab worked good and snap had timeout problems, I changed the timeout parameters as you said.

It works good now.

   I am trying to do continuous snap in LabVIEW. I get my timeout error there.

 How can I change the timeout parameter there??

     

  Thanks for your reply...

 

  Dsk001

  

 

0 Kudos
Message 4 of 10
(4,718 Views)

Hi,

 I am trying to do continuous snap in LabVIEW. I get my timeout error there.

 How can I change the timeout parameter there??

I have attached the VI

     

  Thanks for your reply...

 

  Dsk001

  

0 Kudos
Message 5 of 10
(4,717 Views)

You are better off doing a Grab instead of doing a continuous Snap. What you have coded is inherently what a Grab would do (acquire video, continuous images).

 

Try doing a Grab instead. I would recommend opening the IMAQ example called HL Grab VI from the Example Finder (Help>Find Examples...)
--Michelle

National Instruments
0 Kudos
Message 6 of 10
(4,696 Views)

Hi Mitchelle,

 

   Thanks Mitchelle.

That helps a lot.

 

-Dsk001

0 Kudos
Message 7 of 10
(4,688 Views)
You are very welcome! Good luck with the rest of your application!
--Michelle

National Instruments
0 Kudos
Message 8 of 10
(4,680 Views)

Hi Mitchelle,

     

It was perfect at start with the HL snap eg. you told me, suddenly the grab too started giving timeout error warnings.

 

  Do you know the VI that synchronizes the display refresh rates and the Image acquisition.

I think it will fix the problem.

 

-Dsk001

0 Kudos
Message 9 of 10
(4,667 Views)
I want to make sure you are using the Grab to do continuous acquisition. Also, if you do a Grab in Measurement and Automation Explorer, and let it run for a while, say a minute, does it ever timeout?
--Michelle

National Instruments
0 Kudos
Message 10 of 10
(4,651 Views)