02-24-2025 05:43 AM
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
02-25-2025 08:57 PM
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/VBA-USB-control-example/m-p/4332873