Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NIGLOBAL.bas and VBIB.bas modules

I am developing a code to interface an external instrument with GPIB in VBA.For that I need NIGLOBAL.bas and VBIB.bas modules.
I tried with the below link but currently this link is not available.

http://www.ni.com/support/gpib/langint/vbwin32a.htm.

ftp://ftp.ni.com/support/gpib/win98/LangInt/Win32/Vbasic/msvb.exe

 

please help in sharing how to get these modules or latest link for getting these modules.

 

 

Thanks 

Arjun

0 Kudos
Message 1 of 2
(109 Views)

NIGLOBAL.bas and GPIB-32.bas are for old 32-bit VB and do not appear to support modern NI-488.2.
(Looking at old documentation, it says that "these files are automatically installed when NI-488.2 is installed in an environment where Visual Basic is installed," but this might not apply to the current generation of NI-488.2.)
Therefore, when using GPIB from VBA, we recommend using VISA COM instead of calling the GPIB DLL directly.
For instructions on how to do this, see the similar question below.

https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Updating-GPIB-from-Windows-7-to-Windows-11/m...

https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Find-all-Instruments-on-GPIB-using-VBA/m-p/4...

https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/VBA-USB-control-example/m-p/4332873

0 Kudos
Message 2 of 2
(82 Views)