Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to find failed ieee-1394 camera in my code

Hi.
 
I was coding with Imaq Vision, IEEE-1394 Driver V1.5.2
and 2 Ieee-1394 cameras ( AVT F-033B)
 
but,
During the running suddenly camera was failed (ex. unplugged cable) then the program was stopped at "Stop 1394.vi"
and then, there wasn't any act what I press stop button,
 
and finally I press Ctrl+Alt+Del
and I was doing "restart window"
 
How can I find that IEEE-1394 camera H/W failed in program ?
 
I attach the picture about the stopped situation.
 
Can anybody help me about this?
 
Thank you
 
 
 
0 Kudos
Message 1 of 4
(3,404 Views)

I miss the picture in my question,

So, I attach my problem situation picture.

0 Kudos
Message 2 of 4
(3,391 Views)

There are a few ways to resolve this problem you are experiencing.

 

First - you do not need to call the IMAQ1394 Stop.vi at the end of your acquisition if you are performing a high level grab or snap – it is fine to immediately call the IMAQ1394 Close.vi when done acquiring. See the Grab.vi example for 1394 in the folder:

 

C:\Program Files\National Instruments\LabVIEW 7.1\examples\IMAQ\ IMAQ1394 examples.llb

 

The IMAQ 1394 Grab Acquire.vi will send the following error when a camera is unplugged:

 

Error -1074364388

 

Possible reason(s):

 

NI-IMAQ IEEE-1394:  (Hex 0xBFF6801C) Camera removed

 

You can extract and handle that error from the error cluster as needed.

 

Let me know if you have further questions about this. Good luck with your project!

0 Kudos
Message 3 of 4
(3,382 Views)
Are you triggering the camera(s)? There was a known bug with 1.5.x where a camera would hang if you stopped it without applying another external trigger. The bug has been fixed with the latest version of the driver. Version 2.0.1. is available as download from the web.

Johann
0 Kudos
Message 4 of 4
(3,346 Views)