03-15-2007 08:52 PM
03-16-2007 03:12 PM
Hi,
The reference code (or lsb) is statically linked and already compiled with the VI. So you dont have to transfer any other files/codes apart from the VIs. Are you unable to run the VI in LabVIEW 8.x ?
Tunde
03-16-2007 04:14 PM
03-19-2007 03:44 PM
03-20-2007 03:20 PM - edited 03-20-2007 03:20 PM
I think someone saved the application to a LLB and somehow included some IMAQ functions to the LLB too. Try to look in the LLB to find any IMAQ.... function and delete them. LabVIEW will then resort to searching them inside the LabVIEW distribution and hopefully find it inside the IMAQ Toolkit. Possibly there are other functions inside the LLB that are actually LabVIEW provided and should/could go away too. But try step for step and of course keep a backup. Someone might have saved self developed functions as IMAQ.... Vis too, and then you might need to get them back somehow. But in general you should get rid of any standard VI that comes with LabVIEW or its Toolkits inside that LLB.
@Vudoo wrote:Hi,
In regards to the missing IMAQ functions, what version of IMAQ do you have? Did you install the IMAQ driver after you upgraded to LabVIEW 8.x so that it populates the IMAQ/Vision palette correctly? Also, do you have NI-Vision? If so, it is recommended to use Vision 8.0 with LabVIEW 8.x. Since you are upgrading over several major versions of software, you might also want to take a look at the following document, in particular the Missing VIs section (even though the versions discussed are different than this circumstance).
Upgrading IMAQ with LabVIEW FAQ
Hopefully this helps with the IMAQ portion of this issue.
Regards,
Vu
Message Edited by rolfk on 03-20-2007 10:26 PM
03-29-2007 07:46 PM
Thank you. I loaded NI Vision Acquisition ver. 8.2.1 from a CD also labeled with: NI-IMAQ 3.7, NI-IMAQdx 3.0, IMAQ I/O 2.0.1. I did this after upgrading from LabVIEW 8.0 to 8.2.
After deleting the IMAQ functions from the old code, LabVIEW did not find them in the new IMAQ toolkit. I then loaded those old IMAQ files from the old source into a directory on the new platform, and pointed there when LabVIEW prompted for each routine. There was one VI that I could not find on the old platform (somewhat mysteriously), but otherwise the only errors I got were for ".lsb" routines, like "ADD.lsb" which somehow goes with "IMAQ Add". I saved the result. I then ran "Convert VI to use LabVIEW 7 Image Datatype.llb" from the FAQ to fix the broken wires. The code is still broken, but appears to be somewhat improved. Any other suggestions?
Thanks.
03-29-2007 07:50 PM
Oh, those "*.lsb" files were not found on searches of either platform, although other .lsb files were found on the old platform.
03-30-2007 01:02 AM
You will have to upgrade to a recent version of the IMAQ Vision Toolkit! NI-IMAQ is the driver for NI image acquisition cards. In order for those cards to be usable in LabVIEW, NI-IMAQ also installs a few functions from the IMAQ Vision Toolkit into LabVIEW. But that are only the absolute bare IMAQ Vision functions to get an image into LabVIEW and display it on screen.
@cave man wrote:
Thank you. I loaded NI Vision Acquisition ver. 8.2.1 from a CD also labeled with: NI-IMAQ 3.7, NI-IMAQdx 3.0, IMAQ I/O 2.0.1. I did this after upgrading from LabVIEW 8.0 to 8.2.
After deleting the IMAQ functions from the old code, LabVIEW did not find them in the new IMAQ toolkit. I then loaded those old IMAQ files from the old source into a directory on the new platform, and pointed there when LabVIEW prompted for each routine. There was one VI that I could not find on the old platform (somewhat mysteriously), but otherwise the only errors I got were for ".lsb" routines, like "ADD.lsb" which somehow goes with "IMAQ Add". I saved the result. I then ran "Convert VI to use LabVIEW 7 Image Datatype.llb" from the FAQ to fix the broken wires. The code is still broken, but appears to be somewhat improved. Any other suggestions?
Thanks.
04-06-2007 07:50 PM
04-07-2007 01:38 AM - edited 04-07-2007 01:38 AM
Those are traditional NI-DAQ VIs. You will need to install the driver CDs, that came with your LabVIEW CD too, and make sure that you select the traditional DAQ instead of DAQmx.
@cave man wrote:Thanks. We now have the Vision Development Module and that got rid of the IMAQ Add, Copy, and Convert errors. LV still can't find "AO Buffer Config", "copy.lsb", and a couple of other files with similar extensions.Thanks.
Message Edited by rolfk on 04-07-2007 08:39 AM