02-13-2024 05:39 AM
Hi, I have the following problem. In NI MAX I can see my miscellaneous visa resources and the devices are communicating. When I want to use MATLAB, the visa object won't open at all, because of the wrong identifier for the Default Resource Manager session. Does anyone know a solution to the problem?
02-17-2024 02:39 PM
That identifier doesn’t look like your problem. The numeric value is just a pointer like value that will frequently have a different value depending on which application opens the VISA session and several other factors.
The main difference seems to be the use of viParseRsrcEx instead of viParseRsrc but it’s not clear to me how that would affect your situation.
02-21-2024 01:18 AM - edited 02-21-2024 01:18 AM
According to the error 0xBFFF00A5, the interface number (GPIB1::1::INSTR) is wrong. But I guess the problem is that I'm using a GPIB adapter from Keysight. I use VISA Tulip Passports so it should be OK. I don't understand that it works through NI MAX and the interface number is OK, but it has a problem in MATLAB.
02-22-2024 08:37 AM
Maybe Matlab bypasses NI-VISA and interfaces directly to HP IOlib when it detects that being available?