LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

where can I found "Write to Digital Line.vi"

Solved!
Go to solution

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.

0 Kudos
Message 1 of 9
(4,420 Views)

Those VI's are from the Traditional DAQ drivers.  You need to delete them and upgrade them to their DAQmx equivalents.

 

 

0 Kudos
Message 2 of 9
(4,419 Views)

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.

0 Kudos
Message 3 of 9
(4,415 Views)

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.

 

 

0 Kudos
Message 4 of 9
(4,412 Views)

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 😞

0 Kudos
Message 5 of 9
(4,404 Views)

@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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 9
(4,372 Views)

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.

0 Kudos
Message 7 of 9
(4,362 Views)

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.

0 Kudos
Message 8 of 9
(4,332 Views)
Solution
Accepted by topic author dragondriver

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.

0 Kudos
Message 9 of 9
(4,329 Views)