Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1074396120 occurred at IMAQ Image to Array Not an image

I got this VI from someone using Imagining source Firewire cameras and am trying to get it to run with my imaging source firewire cameras. I am assuming since the image to array says that there is no image it is because there is no image data coming from the camera so I was wondering how I can get this VI to gather an image.

VI.JPG

0 Kudos
Message 1 of 8
(6,868 Views)
Are you sure you are getting a 16 bit image? You have defined a grayscle 16 for dst. Can you attach the vi instead of a biiiiig screen shot?
0 Kudos
Message 2 of 8
(6,845 Views)
I would agree with muks. That's likely the real problem - it's not actually the type of image expected. I would double check in MAX to see what kind of image is set up for the camera you're using.
Message Edited by JeffL on 2010-01-11 08:55 AM
Jeff | LabVIEW Software Engineer
0 Kudos
Message 3 of 8
(6,831 Views)

I attached the VI I hope this helps

0 Kudos
Message 4 of 8
(6,821 Views)
As suggested. Are you first able to grab images in max? If yes have you checked the image format? have you checked the interface number?
0 Kudos
Message 5 of 8
(6,810 Views)

    When I try to open the camera in MAX it says Error 0xBFFF8016 and says that the device selected is not currently associated with either Legacy NI-IMAQ or NI-IMAQdx. If I install the drivers for either legacy or IMAQdx then the camera signal appears in MAX however my example VIs from Image Control dont work.

    The camera is listed as Generic 1394 DCAM Camera in MAX and if I install the legacy or IMAQdx drivers I have to reinstall the Imaging Source drivers to get my camera to work again with the example VIs that Imaging source has provided.

    Do I need to use different subVIs if I use the Legacy or IMAQdx drivers? All the IC IMAQ subvi's have errors when I install the Legacy or IMAQdx drivers in MAX

     I am not sure how to find the interface number how do I do that?

0 Kudos
Message 6 of 8
(6,794 Views)

What is the os that you are using?

 

I suppose you know Legacy NI-IMAQ for IEEE 1394 cameras will not support vista 64-bit.

0 Kudos
Message 7 of 8
(6,786 Views)

futuramaar,

 

From the code snippet you provided, it appears you are using an API provided by Imaging Source that makes use of custom ActiveX controls. These are likely based on the Windows built-in webcam IIDC drivers which is why it only works with their code if you have it set to use the "Generic 1394 camera" driver. Since it is not using the IMAQdx driver, you cannot access the camera in MAX with this configuration.

 

Unfortunately, you'd have to work with Imaging Source to determine what might be wrong with their driver or example code since it is not currently using the drivers NI provides. 

 

You could try instead switching to the IMAQdx driver, verifying that you can then acquire in MAX, and then try using the provided IMAQdx examples instead of the examples that Imaging Source provides. I'm not sure what differences in functionality IMAQdx might have versus Imaging Source's API though.

 

Eric 

0 Kudos
Message 8 of 8
(6,781 Views)