02-04-2010 03:04 PM
looking for help on the attached imaq mismatch problem.. does anyone know what i can replace the imaq dispose with or if i can convert the wire type so everything is compatible again? this is an old vi that I am trying to get to run in labview 9.
Regards,
C
02-05-2010 12:39 PM
02-07-2010 03:26 AM
calpe3003 wrote:looking for help on the attached imaq mismatch problem.. does anyone know what i can replace the imaq dispose with or if i can convert the wire type so everything is compatible again? this is an old vi that I am trying to get to run in labview 9.
Regards,
C
Your problem stems from an upgrade from a very old IMAQ Vision Software, as it was acquired by NI from an Alliance Member. Then IMAQ Visions (called ConceptVI at that time) was using a cluster data type to store the image reference. Later NI redesigned the entire IMAQ Vision Library and introduced the Imaq Image refnum replacing that cluster type image reference. The upgrade process can detect Concept VI functions and replace them with according IMAQ Vision functions but it can not detect custom controls using that cluster image reference.
Basically you have to replace the type of that global with the new IMAQ image refnum, but before you do so you should also search for any occurrence where this global is used to verify that there won't be other changes necessary. You should at least have two more bad wires somewhere in your software, one place where an IMAQ Create creates the refnums and tries to write them in that global and one where those refnums are used in some way. It could be that they are not even used anymore and the entire IMAQ Dispose could be removed as well.