LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ and VISION 64bit typedef redefinition

Hi, 

 

    I am writing a program that uses NI-IMAQ drivers and NI-Vision functions. There is a problem when I compile for 64 bit I get: 

 

"nivision.h"(2444,23) error: typedef redefinition with different types ('unsigned long' vs 'uInt32' (aka 'unsigned int')). 

 

I can see in the header files that these types are defined in both files, but I can't seem to find a way around this. This is caused by a 64bit compiler directive and this does not happen when compiling for 32 bit. 

 

Any suggestions. I am at a loss on this one. 

 

Thanks,

 

Drake

0 Kudos
Message 1 of 4
(5,663 Views)

Are you using LabVIEW 2014? If so you may have to redefine the type defs as they changed how they are handled in 2014 and this could be why. 

0 Kudos
Message 2 of 4
(5,631 Views)

I think you will find that IMAQ and Vision are not 64 bit compatible yet! From http://digital.ni.com/public.nsf/allkb/ABAF08AC67A566698625773B00790E88 "None of the text-based programming languages have 64-bit support for IMAQdx,  IMAQ I/O, or the NI Vision Development Module."

 

I rant on about the poor state of Vision for CVI here: http://forums.ni.com/t5/LabWindows-CVI/When-will-NI-upgrade-vision-for-CVI-Is-there-a-legal-reason-w...

 

 

0 Kudos
Message 3 of 4
(5,606 Views)

 

   Thanks to both of you for the reply. Yeah it appears ultimately I'm not going to get there using both IMAQ and Vision in the same progam running 64 bit. The reason I was doing this was so I could switch between a Matrox Radient card and an NI card in the same software.

 

Moral of the story is NI is lagging behind in this area.

 

 

 

Message 4 of 4
(5,600 Views)