At JMU we came across this problem running LabView 7.0 and LabView 7.1 on Windows XP systems with both SCXI-1000 interfaces and PXI-1010 interfaces. This problem occurs inconsistently: It appears on some computers and not others with identical configurations, and it is not clear as to why. But, here is the problem and the solution.
User rights have been restricted on student accounts to "read", "list", and "execute" for all but a very few directories.
When loading a vi that accesses a daq, such as "capture waveform.vi", the following error appears, which prevents operation of the vi:
Error loading "C:\Program Files\National Instruments\LabView 7.1\vi.lib\daq\lvdaq.dll." A dynamic link library (dll) initialization routine failed.
The solution is to set the permissions so that the user has "write" privileges to the directory "C:\Program Files\National Instruments\", in addition to "read", "list", and "execute" rights. This permission need apply only to this directory, and no subdirectories of it. This directory contains only subdirectories, and when loading and running such a vi, no files are observed to be written to this directory. So, it is a mystery as to why write privileges are needed for it on some computers.
Sincerely, Joseph D. Rudmin