Thank you for contacting National Instruments. Upgrading to the latest version of IMAQ Vision for LabVIEW would correct the problems you are seeing along with providing you with the latest updates and VIs to be used with your vision applications; however, if that is not a viable option then we can do a few other things to get the old vision programs and VIs working properly.
Using the "Convert VI to Use LV 7 Image Datatype" is the correct first step, but, as you saw, it cannot always upgrade everything in your VIs. For these other broken wires, you can use a library that is installed with vision, DatatypeConversion.llb, which contains two VIs (fuctions) that you can add to your code to manually convert from one datatype to another. This library is located in the ..\
National Instruments\LabVIEW 7.x\vi.lib\vision folder on your computer. If you open up this library you will see that it contains two VIs that you can add to your block diagram.
If the IMAQ Cast Image is the only VI causing problems, then I would recommend opening that VI up so you can see its block diagram. You will notice that all the VI does is make a call to a dll. You can add the DatatypeConversion VIs into this VI and then save it so that it now will be set to accept the new image datatype rather than the old.
Anywhere where you see the broken wires, you can add these conversion VIs to correct the problem. Again, if this becomes too much trouble or there are a significant number of broken wires and VIs that need to be corrected, then you may want to consider the latest version of Vision.
Regards,
Michael
Applications Engineer
National Instruments