From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

VI_ERROR_LIBRARY_NFOUND

hi..
i am trying to use the viopenDefaultRM() function and trying to initialize
the instrument via the CVI driver written for our instrument.. the status
returned is VI status = VI_ERROR_LIBRARY_NFOUND( A code library reuqired
by VISa could not be located or loaded)

can anybody help me what is the reason for this error..
0 Kudos
Message 1 of 5
(7,779 Views)
Karthik:

If you get this error on viOpenDefaultRM, it probably means that VISA
isn't installed properly. If you have CVI on your machine, that's a
surprise to me since CVI installs VISA unless you de-select it. You
can get NI-VISA from our ftp site at:

ftp.ni.com/support/visa/drivers

When this error is returned from viOpen (which you say is not
happening) then it usually means that a lower-level driver such as NI-
488 is not installed.

Dan Mondrik
Senior Software Engineer, VISA
National Instruments


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 2 of 5
(7,779 Views)
How can we automatically install visa in the distribution kit ?
0 Kudos
Message 3 of 5
(7,779 Views)

It should be included by default in the download of CVI either from here (http://www.ni.com/lwcvi/download/) or your company's software repository.

0 Kudos
Message 4 of 5
(5,709 Views)

Hi AChalana,

thanks for your contribution but a lof of water has passed under the bridge in the 16 years since this discussion started Smiley Surprised, I suppose Pierre has already found his answer Smiley Wink



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 5 of 5
(5,699 Views)