08-07-2018 04:04 PM
When I updated a vi from Labview 7.1 to Labview 2014. I got several error messages, as shown in attached file. Unable to find several Vis: ZI Read One Scan.vi; DIO Port config.vi and DIO Port Write.vi
08-07-2018 04:14 PM
The functions you are missing seem to be Legacy DAQ functions. DAQmx came out about the time your code was developed, and is vastly superior to Legacy DAQ in ease of use, speed of developing robust code, odds of having your code work the first time, odds of having your code ever work, etc.
Don't look back! Learn DAQmx (there are excellent tutorials you can find -- I especially recommend "Learn 10 Functions in NI-DAQmx and Solve 80% of your Data Acquisition Applications" (or words to that effect -- I'm trying to do this from memory, but the first five words in a search should turn up the right NI White Paper).
Bob Schor
08-07-2018 05:41 PM
You might find this useful in your rewriting of code: Traditional DAQ API
08-07-2018 06:08 PM
The above posters are absolutely correct that you SHOULD ditch those functions and switch to DAQmx.
However, if you can't spend the time learning how to do it right, AND you're running a 32-bit OS, AND the LabVIEW version you're using isn't too new, you can try installing the last version of classic DAQ ever released:
http://download.ni.com/support/daq/pc/ni-daq/traditional/7.5-Beta/TDAQ750.exe
I got it working with LabVIEW 2011, Windows 7 32-bit a few years ago when I had a project I didn't have much time allocated to but needed to update from LabVIEW 7.1.
08-07-2018 06:43 PM
Thanks a lot for all of you. I have DAQmx 14.0 in the computer.
I am an user, rather than developer. I try to find an relatively simple way to convert an old vi to another computer which have LabVIEW 2014 and DAQmx 14.0.
08-07-2018 09:05 PM
If you have a good idea what the Legacy DAQ is supposed to be doing (for example, "Set up A/D conversion for 16 Channels, continuous sampling, all the Channels set to ±10V, collecting data at 1KHz. Also read an 8-bit Digital I/O port 10 times a second ..."). Once you know the task, learning to set up DAQmx to do this is pretty simple (and we are also here to help you if you get stuck).
Bob Schor