LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programs in Labview 6.1 and 8.6

Solved!
Go to solution

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.

Message Edited by oly on 11-18-2009 02:16 PM
0 Kudos
Message 1 of 16
(3,965 Views)

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.

Message 2 of 16
(3,957 Views)

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

0 Kudos
Message 3 of 16
(3,901 Views)

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



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 4 of 16
(3,884 Views)
I think this KB would be relevant to the error you are seeing: http://digital.ni.com/public.nsf/allkb/123D74DB08E169528625712400553C12?OpenDocument
Jeff | LabVIEW Software Engineer
0 Kudos
Message 5 of 16
(3,863 Views)

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. 

 

 

 

 

 

 

0 Kudos
Message 6 of 16
(3,835 Views)

Anybody has any idea? Thank you & Happy holidays!

0 Kudos
Message 7 of 16
(3,813 Views)

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.

Message Edited by Dennis Knutson on 11-25-2009 03:02 PM
Message 8 of 16
(3,797 Views)

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!!

 

 

 

 

0 Kudos
Message 9 of 16
(3,712 Views)
Anybody help me on this? Thank you.
0 Kudos
Message 10 of 16
(3,681 Views)