11-18-2009 02:13 PM - edited 11-18-2009 02:16 PM
Hi all,
I have an old DAQ program which has couple .lib files written in LabView 6.1. Now I have a new program written in LabView 8.6. I would like to run both of them at the same time.
I tried to update DAQ program to 8.6 once. After 8.6 was installed, each time I run the DAQ program, it takes forever to load everything. One more thing is that in the old program, there are several VIs which are not available in 8.6 anymore, like "Get SCXI Information".
Is there any way I can downgrade this 8.6 file to 6.1? Or any suggestions on the situation?
Thank you.
Solved! Go to Solution.
11-18-2009 02:31 PM
The DAQ files are available as long as you install the traditional DAQ driver.
After loading the old program into 8.6, make sure you save all. The load time should be much less when you reload it. Make sure you make a backup of the old VIs first.
In order to backsave to 6.1, you need LabVIEW 8.0 to save to 7.1, LabVIEW 7.1 to save to 7.0, and LabVIEW 7.0 to save to 6.1.
If your programs are using the same DAQ card, it's unlikely that you can run both at the same time, whether or not the LabVIEW versions are the same or different.
11-23-2009 12:48 PM
Hi Dennis,
Thanks for your reply. I tried to open the old program through 8.6. The program front panel poped up and then stuck there..I can do nothing except close LabView through task manager. After that, I could not open any vi, and the error message is "Error Loading \LabVIEW x.x\vi.lib\daq\lvdaq.dll. A Dynamic Link Library (DLL) Initialization Routine Failed." This problem can only be fixed through restart the computer...Any idea?
Thank you
11-23-2009 02:26 PM
I have a pile of old Daq 516 card (PCMCIA) and the needed cables and connector blocks. I have no problem in using them with Labview 8.x. All works fine then NIDAQ 6.9.1 is installed the correct way.
You should find out which NIDAQ version you can use with your cards and then install it the correct way. But you can only have one NIDAQ version installed. Labview 6.1 and 8.x can share the same NIDAQ versions drivers. But not the same LLB files
Post if you need more help
11-24-2009 09:14 AM
11-25-2009 11:45 AM
Thank you all for the help.
I found the problem. I have a vi (Fake DAQ.vi) which can run perfectly fine. I would like to use the attached program loadmain.vi to load it. Unfortunatly, when I ran the program, it stuck there without showing me the front panel of Fake Daq.vi. I believe the Fake DAQ.vi is actually running backstage, which I can see from the Highlight Execution. Any idea?
I am using Labview 8.6 now. When I was using 6.1, the loadmain.vi is working fine. Thank you.
In case somebody is wondering the error about lvdaq.dll, it came out when I tried to reopen the loadmain.vi after I stuck somewhere and killed the LabView through task manager. After restarting the computer, the error does not show up. I assume it happened because LabView was not killed properly. Probably something was not reset even if I tried to kill LabView through task manager, so when I tried to open loadmain.vi the error came out.
11-25-2009 02:38 PM
Anybody has any idea? Thank you & Happy holidays!
11-25-2009 04:02 PM - edited 11-25-2009 04:02 PM
Your code is not doing anything to open and show the front panel so unless your VI is set to show front panel when called, it seems that the behavior you are seeing is what I would expect.
Post this 'Fake DAQ' VI.
11-30-2009 11:58 AM
Hi all,
Thanks for all your inputs. Here comes the .llb I am using. I changed the VI property to show front panel when called, however, the front panel still did not show..I can see the fake daq.vi was running fine backstage...
This whole thing was running well with Labview 6.1. I encountered this problem when I tried to run this with 8.6. Any idea? Thank you!!
11-30-2009 01:38 PM