Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA fonctions give an error message that NIVISV32.dll couldn't be initialized

When I try using one of the VISA functions of the Serial Catalog (init, write, read...), I get an error message saying the dll NIVISV32.dll couldn't not be correctly initialized. I checked that it is in the right directory. I have tried the functions on another computer with the same version of LabVIEW (6.1) and everything seems to run.
Has anybody an idea of what the problem could be?
Thanks in advance.
Message 1 of 2
(6,016 Views)
Marine:

This depends on a lot of things.

First, did you install NI-VISA, or did you try to just copy the files. The latter is not supported because the NI-VISA installer sets up certain required registry keys.

The most likely scenario is an incomplete / invalid installation.

If you did install it correctly, then are all the Passports in their expected place? Run \WinNT\NIvisa\PassportRegEdit.exe and see if the Passports it lists are installed correctly.

Finally, is the registry key HKEY_LOCAL_MACHINE\SOFTWARE\VXIPNP_Alliance\VXIPNP\CurrentVersion and value name VXIPNPPATH set to the correct directory? If not, NI-VISA cannot initialize.

Good luck,
Dan Mondrik
Senior Software Engineer, NI-VISA
National Instruments
Message 2 of 2
(6,016 Views)