Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Program randomly hangs for 5 seconds with Vision Acquisition

Hi
I'm working on an image acquisition program, which handles 12 to 22 FPS from firewire 2-3 cameras. The cameras are triggerd externally to grab frames by a different computer, which has no problems (100% sure about that). For some unknown reason, after a random time since the program started to record pictures, the program hangs for about 5 seconds (usually 4.6 to 5.4 seconds). Due to this hang/wait/delay, the program misses several frames from the cameras which should have been recorded. This issue is not related to the strain the CPU is in, and from the data I have the cameras are working normally during this hang (i.e. grab frames and try to transfer them to the computer). The only consistent data is the average 5 seconds hang. Any ideas?

The system I'm working with:
LabView 8.5
Vision 2.5
Windows XP
Image resolution - 1280x960 (reduced to 1080x960 by ROI)
0 Kudos
Message 1 of 2
(3,094 Views)
Hi YonaPMS,

Just to be sure this isn't a CPU issue, it may be a good idea to add a Wait function to the image acquisition loop in your VI.  If you have already done this or adding it does not resolve the issue, it would help if you could provide some more information about your hardware setup, such as what camera you are using, and attach your VI so that we can make sure it has nothing to do with the code.  Thanks.


Rishee B.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,059 Views)