Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Definitions not found - IMAQ_NO_RECT & IMG1394_CAMERA_CONTROLLER

Hi,
 
Am running Labwindows 8.5.1 with Vision dev 8.5, and Vision Aquisition 8.5.
 
I have a Basler IEEE1394 camera connected through the firewire card.
 
I am trying to use the 'NI-IMAQ for IEEE-1394' functions, but keep getting errors with some of the definitions not being found -
 
using the command imaq1394CameraOpen2 the definition IMG1394_CAMERA_CONTROLLER is not found (I have done a complete search through the folder Program files/National Instruments, and the definition is not there).
 
using the command imaq1394Snap the definition IMAQ_NO_RECT cannot be found.
 
Any help would be appriciated.
 
Alex
0 Kudos
Message 1 of 9
(4,300 Views)

I am trying to use the 'NI-IMAQ for IEEE-1394' functions, but keep getting errors with some of the definitions not being found
R u able to view the image in max?
0 Kudos
Message 2 of 9
(4,294 Views)
Yep max works fine, Legacy drivers installed. Even the example programs (VB precompiled .exe files) all work. (Unfortunaly there are no CVI examples).


Message Edited by AlexDrakard on 07-18-2008 06:28 AM
0 Kudos
Message 3 of 9
(4,291 Views)
Kool,Now open your vision assistant.Try acquiring an image there.You can also create a vi direct from vision assistant.You can even check your trigger settings properly this way. If now u r able to get it then u have made an error in your vi.
0 Kudos
Message 4 of 9
(4,286 Views)
Post a screen shot of your block diagram if possible.We will try correcting it
0 Kudos
Message 5 of 9
(4,285 Views)
Labwindows not Labview
0 Kudos
Message 6 of 9
(4,278 Views)

Am running Labwindows 8.5.1 with Vision dev 8.5, and Vision Aquisition 8.5.

Ooops,Sorry i some how didnt notice it!!!!!!!!!!
0 Kudos
Message 7 of 9
(4,276 Views)
Alex -

IMAQ_NO_RECT is defined in nivision.h.  This should be installed to one of c:\Program Files\National Instruments\CVI85\include and c:\Program Files\National Instruments\Vision\Include (or possibly both).  If it's not in these places my guess would be that the Vision installer did not install CVI support.  Try going to Add/Remove Programs in the Control Panel, doing Change/Remove on "National Instruments Software", selecting NI Vision 8.5 and pressing "Modify".  Then, look through the feature tree and make sure CVI support is turned on.

Let me know how it goes!

Greg Stoll
Vision R&D
National Instruments
Greg Stoll
LabVIEW R&D
0 Kudos
Message 8 of 9
(4,260 Views)
Thanks, found IMAQ_NO_RECT (where you said).
 
Have been speaking with an application engineer at NI, and there appears to be a small bug with the open camera function in the 'IMAQ for IEEE1394' - IMG1394_CAMERA_CONTROLLER should be IMG1394_CAMERA_MODE_CONTROLLER. He also supplied me with some usefull examples that should help me get started.
 
Thanks for the help
0 Kudos
Message 9 of 9
(4,258 Views)