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.

Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA32.DLL of NI can't support GPIB interface

Solved!
Go to solution

HI:

I use the visa32.dll development tool

 

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

Declare Function viGetDefaultRM Lib "VISA32.DLL" Alias "#128" (ByRef sesn As Integer) As Integer

 

I find that if I use the "Keysight" driver. I can control the "GPIB0::20::INSTR" address of the instrument. But I use the "NI" driver. I will not be able to control the "GPIB0::20::INSTR" address of the instrument.

Why is this?

Are two visa32.dlls different?

I find the sizes of two visa32.dlls are different.

 

0 Kudos
Message 1 of 6
(2,648 Views)

Hi

I have the same problem. Did you ever find a solution for this?

 

 

0 Kudos
Message 2 of 6
(2,487 Views)

Use NI VISA or Agilent/Keysight VISA. Not both.

0 Kudos
Message 3 of 6
(2,478 Views)

Ok, so it all happned when I updated to LabView 2019. The visa32.dll in the SysWOW64 folder updated to something that does not work with my old VB6 visa32.bas module. So is there another visa32.dll somewhere in a Keysight version?

0 Kudos
Message 4 of 6
(2,475 Views)

You will have to find out how to use the Keysight VISA and not the NI VISA.

 

 

0 Kudos
Message 5 of 6
(2,473 Views)
Solution
Accepted by topic author xiaochouyu
The problem has been solved If two drivers are hidden at the same time. Then one driver uses "GPIB0" and the other uses "GPIB1"
0 Kudos
Message 6 of 6
(2,418 Views)