05-17-2018 05:31 AM
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?
05-17-2018 09:59 PM
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
05-17-2018 10:52 PM
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.
05-18-2018 01:34 PM
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/
05-20-2018 12:36 AM
I installed NI_VISA 17.5