Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to solve the problem of the conflict between“NI-VISA” and “IO library”

 HI

      when i install NI-VISA RUNTIME , My VISA program can't connection instrument.

     when i install IO library , When running NI I/O Trace I get the error "visa32.dll is not built for NI I/O Trace.

    How to solve it?

0 Kudos
Message 1 of 5
(3,341 Views)

I'm puzzled that the function should be the same, though the source of visa32.dll is different.

 

this is  my Declare:

 Declare Function viOpenDefaultRM Lib "VISA32.DLL" (ByRef sesn As Integer) As Integer

 Declare Function viOpen Lib "VISA32.DLL" (ByVal sesn As Integer, ByVal viDesc As String, ByVal mode As Integer, ByVal timeout As Integer, ByRef vi As Integer) As Integer

  Declare Function viVPrintf Lib "VISA32.DLL" (ByVal vi As Integer, ByVal writeFmt As String, ByRef params As Integer) As Integer

Declare Function viVScanf Lib "VISA32.DLL" (ByVal vi As Integer, ByVal readFmt As String, ByRef params As String) As Integer

 Declare Function viClose Lib "VISA32.DLL" (ByVal vi As Integer) As Integer

 

 

Why can't be used in NI_VISA. NI_VISAshould be more standard

0 Kudos
Message 2 of 5
(3,315 Views)

 A new discovery is that under condition NI-VISA mode , I can connect through TCPIP, but I can't connect through GPIB.

 PS: The linker I used is GPIB to USB.

0 Kudos
Message 3 of 5
(3,308 Views)

Hey I noticed you said you installed NI VISA Runtime, which is different than the actual NI VISA drivers. Have you tried downloading and installing the VISA drivers from the link below?

 

http://www.ni.com/download/ni-visa-17.0/6646/en/

Applications Engineering
National Instruments
0 Kudos
Message 4 of 5
(3,297 Views)

I installed NI_VISA 17.5

0 Kudos
Message 5 of 5
(3,286 Views)