LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ program compiled under Win2k won't run under Win 95.

When I compile a LabView 5.1.1 vi program that uses lvdaq.dll on my Windows 2000 workstation, that same program will not run on a Windows 95 notebook computer. Error code 21 (external subroutine could not be found) is reported for all standard DAQ vi's calling functions within lvdaq.dll even though the dll can be found in the program directory, the system directory, the vi.lib\daq directory, and via the system path. The same program compiled on a Windows 95 workstation runs on the Windows 95 notebook computer just fine. Why is lvdaq.dll not found when the program is compiled under Windows 2000? Do I need the same version of NI-DAQ on both computers?
0 Kudos
Message 1 of 2
(2,584 Views)
Larry;

If you are doing NI-DAQ function calls on your VI you need to match the NI-DAQ version on both machines, otherwise, depending on what functions you are calling and what are the NI-DAQ versions, you might get some errors. Just for future reference, this procedure is good for NI-VISA (if you are using VISA VIs) and NI-488.2 (if you are using GPIB boards) as well.
Regards
Filipe Altoe
Application Engineer
National Instruments
Message 2 of 2
(2,584 Views)