Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

LAbview 6.1 file incompatible with v8.6

Solved!
Go to solution

 I am using NI cDAQ  9172 for Data Acquisition.  

We have a labview file that was developed a few years back on Labview 6.1.   I bought a new computer which has Labview 8.6 on it.  Now, the old file refuses to run on Labview 8.6.

It keeps asking for other vi files, and especially lvdaq.dll

 

I saved the old file on labview 6.1 with 'preserve hierarchy ' option. Doesnt this mean that all files that the current file depends on, are also saved?  In which case I should not be getting all these error messages?

Thanks 

 

0 Kudos
Message 1 of 8
(4,122 Views)

You are getting the errors because by default, the traditional DAQ driver is not installed. That's the missing dll. Even if you do install it, you can't run the old program with the cDAQ device because it requires the DAQmx driver. You'll have to rewrite the old program.

 

And no, preserve hierarchy does not mean all files are saved. It has been a long time but I don't think that save option saves vi.lib functions. Even if it did, this is not something you want to do. When converting, you want to use vi.lib functions from the current release.
0 Kudos
Message 2 of 8
(4,115 Views)

Dennis, Thanks for the reply.

  

 Does this imply that even if I downgrade to ver 6.1 on my new computer,  I still cannot use the old program on it, because my new  cDAQ-9172 is incompatible with 6.1? 

0 Kudos
Message 3 of 8
(4,106 Views)
Solution
Accepted by topic author Sanjeevs
That is correct. You cannot use the system with 6.1.
0 Kudos
Message 4 of 8
(4,103 Views)

Any suggestions on the most efficient method to rewrite the program?  Since a version of the program already exists, we do not want to spend too much time on understanding the program logic (the person who wrote it is no longer with us)  and rewriting it.     

0 Kudos
Message 5 of 8
(4,068 Views)
At the very least, you are going to have to gain some knowledge of the old data acquisition techniques since they will all have to be replaced and there is no 1:1 correlation between the traditional DAQ functions and the functions in DAQmx. See the transition to DAQmx tutorial for detailed information.
0 Kudos
Message 6 of 8
(4,066 Views)
The program written  in LabVIEW v6.1 has subVIs calling lvdaq.dll using Call Library Reference Node. This will obviously not work in v8.6.   Is there some other file name that I should call through 'Call Library Reference' in Ver 8.6? 
0 Kudos
Message 7 of 8
(4,030 Views)
As already mentioned, in order to use the old VIs, you need to install the traditional DAQ driver. It's in the driver DVD or you can download it. The latest is here. I don't know why you even care since you have cDAQ-9172 and it's already been established that you can't use the old code with that hardware.
0 Kudos
Message 8 of 8
(4,027 Views)