12-10-2012 10:23 PM
Hi there,
I have some programs running in Labview 7 installed in one machine. I want to migrate them into Labview 2011 installed in a new computer. After I open program in 2011, it keeps searching all folders and stop to ask for the VIs "Write to Digital Line.vi", "AO Update Channel.vi", "AO Update Channel (scaled value)". I google that and some said I should install the drivers. I downloaded and installed NI-DAQmx 9.6.1, but it still fail to find those VIs. Any way to solve these problem? Thanks a lot.
Solved! Go to Solution.
12-10-2012 10:28 PM
Those VI's are from the Traditional DAQ drivers. You need to delete them and upgrade them to their DAQmx equivalents.
12-10-2012 10:39 PM
Thanks for your reply. Is there anywhere to keep using the OLD VIs instead? Up to this point, I don't really need to run the program in 2011, I only want to open it in my computer and read the code. Because I have the copy of all the source from the old machine but since I am using windows 7 64bit, labview 7 cannot be installed so I can only install the labview 2011. also, I don't have the corresponding hardware installed in the new machine too.
BTW, if I need to replace those VIs, which one and what name I should use instead? Sorry for long question, I only learn labview not more than a month.
12-10-2012 10:45 PM
You can install traditional DAQ version 7.4.4 into LabVIEW 2011 and have it work. See NI-DAQ and LabVIEW Version Compatibility (for Windows)
Also see Getting Started with NI-DAQmx: Main Page
Also look at the tons of DAQmx examples in the LabVIEW example finder.
12-10-2012 11:12 PM
Thanks again. I download that one and trying to install. But it said it only supports windows 2000/xp not windows 7? I try to run it as admin and run as winxp comptatible mode, but still doesn't work 😞
12-11-2012 11:01 AM
@dragondriver wrote:
Thanks again. I download that one and trying to install. But it said it only supports windows 2000/xp not windows 7? I try to run it as admin and run as winxp comptatible mode, but still doesn't work 😞
I'm not surprised. They stopped supported Traditional DAQ many many years ago. They only dragged it along because of some device drivers that depended on it. Again, you need to redo your code to use DAQmx. It is a much better API/driver suite.
12-11-2012 11:43 AM
You didn't say that you were running Windows 7.
You can see if this knowledge base article helps.
Traditional NI-DAQ (Legacy) for Windows Vista and 7
But I doubt all of that is worth the effort. The best bet is to learn DAQmx.
12-12-2012 02:04 PM
Thanks all for your reply. I finally copy the required vi to the 64-bit machine, when I open my vi problem in 2011, it searching all the vi and stop when it needs the specific one so I just open the corresponding llb (1easyio.llb, etc.) to locate the corresponding vi, it works. But my question is I have to do that every time when I open the vi problem, any way to tell labview to remember the path? Thanks.
12-12-2012 02:14 PM
If you go searching for the VI and you finds, all you should need to do is save your VI. It should remember the location the next time you open it.