01-15-2017 07:55 PM
HI,
I'm trying to connect to an ATS-810 over GPIB-USB-HS (PC -> USB -> GPIB-USB-HS -> GPIB Cable -> ATS-810). I can see the device clearly with the address "GPIB0::7::INSTR" in NI-MAX under "Devices and Interfaces." I can even open the "Communicate with Instrument" panel and query with *IDN. However, when i click "Open VISA Test panel" i am unable to open the resource.
I am currently trying to set up some automation in Visual Studio and call the .Open command which fails in the same way.
It's curious that the device shows up in NI-MAX but not the VISA Interactive Control. In NI-MAX, the version shows up as 16.0.0f0. I'm not a professional with this software so if you need other information to diagnose, please let me know and I will provide.
The error text:
Error opening resource:
GPIB0::7::INSTR
VISA: (Hex 0xBFFF00A5) The interface type is valid, but the specified interface number is not configured.
01-17-2017 11:09 AM
Hello kmohammed 3,
Could you elaborate a little bit on what you mean by "unable to open the resource"?
Thanks,
Danielle
01-17-2017 12:40 PM
I can't really elaborate much more than when I try to open the VISA resource from the NI-MAX by clicking on the "Open VISA Test Panel", it generates the error string that i mentioned at the bottom of the original post. I also tried opening the VISA resource via Measurement Studio (Snippet
this.mbSession = (MessageBasedSession)ResourceManager.GetLocalManager().Open(sAddress);
Although, i should follow up and mention that this was resolved by following Tip 2 in the following document.
01-18-2017 05:46 PM
I see that the document you referenced talks about how to use Agilent GPIB and NI GPIB at the same time, this explaination was able to solve the error?