LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

After installing NiDAQ package (7 l & 9), vi's are claimed to be missing.

Hello,

 

I have a piece of LabVIEW software that was written in LabVIEW 4.0 and we have been using it in LabVIEW 5.0 on a Windows 2000 computer. The hard drive on this computer crashed, so we replaced it and reinstalled Windows 2K and LabVIEW 5.0. The software would open up just fine, but it wouldn't run because it interfaces with an NI PCI 6025e, so I had to install the drivers. I tried the NIDAQ 6.5 CD that we had in our lab, but I couldn't find the necessary driver for the card, and the Test Panel software wouldn't even run. I decided to install the NIDAQ 7 legacy driver and software package available on the NI website. After installing the drivers, I was able to configure the card and test that it was working properly in the Test Panel. However, now LabVIEW would not open the program we have - instead it would return an error message "The following vi could not be located: ... ". The program would then open normally, but it was not functional because of the missing subvi. If I tried to open any of the vi's that the main vi was dependent on, then those vi's would also return an error claiming that their dependencies could not be found. 

 

Upon installing NIDAQ 9 with LabVIEW in Windows XP, I have found that the program would not open at all and LabVIEW would just close. 

 

I understand that according to this page:

http://digital.ni.com/public.nsf/allkb/97D574BB1D1EEC918625708100596848

that the versions of NIDAQ that I have tried using are not compatible with our version of LabVIEW. In this case, what options do we have? I have looked for a download of the NIDAQ 6 that would be compatible with our version of LabVIEW, but it appears to no longer be supported. Is there a way to still download this?

 

Also, we are considering upgrading to LabVIEW 2009 if the driver options don't work. We tried the trial software, but our program is incompatible and will not open in the latest LabVIEW. Is there any method we can go about upgrading our program if we are not able to open it?

 

0 Kudos
Message 1 of 4
(2,778 Views)

Which subVI does it say it is missing? 

 

There is no NI-DAQ 9.0 driver.  Version 9.0 is a newer DAQmx driver and would require a rewrite of your code to use the newer functions.  It also wouldn't work with LV 5.0.

 

The latest DAQ driver that works with LV 5.0 according to your link is NI-DAQ 6.9.3 which you can download from here.  I would try that one.

 

Ultimately, it would be a good idea to upgrade to LV 2009, use the latest DAQmx drivers and rewrite your code.  But as you've noticed, you can't open your older VI's directly.   You'd have to open them in an intermediate version between 6.0 and 8.2, save it, then you can open in LV2009  How to Upgrade or Revert a VI to a Different Version of LabVIEW  If it isn't too many VI's, you can post them to the forum and someone will be able to upgrade them to the intermediate version for you.  Or talk to your local NI rep.  If you are buying the latest version, maybe they can hook you up with an older version as well so you and upgrade them yourself.  If they are that old and not so complicated, it may be best to just rewrite them from scratch using DAQmx (printout or view the VI in old LabVIEW, write it in new LabVIEW) so you can use more modern looking controls and the DAQmx functions.

Message 2 of 4
(2,771 Views)

Thank you for the quick reply!

 

The missing subVI is another VI that was written as a part of the program. I forgot the exact name of it (I'm on a different computer right now), but it isn't part of LabVIEW. Tomorrow, I will go in and try the NIDAQ 6.9.3 driver that you have mentioned and see if that works. 

 

We would like to upgrade, but the code is fairly complicated and I think rewriting would take a lot of time. 

 

I appreciate the help and I will post my results tomorrow.

0 Kudos
Message 3 of 4
(2,765 Views)

If the original problem is that you were a missing a VI that isn't a part of LabVIEW, then I'd recommend finding that VI and copying it.  Maybe that will be all you need to do to get what you have now working.

 

If that doensn't work, then trying installing NI-DAQ 6.9.3.  You may need to uninstall the previous NI-DAQ first, especially if it is a newer version than 6.9.3.

0 Kudos
Message 4 of 4
(2,763 Views)