AnsweredAssumed Answered

PNA help : Unable to create visa-gpib object

Question asked by pna_user on Aug 7, 2014
Latest reply on Aug 7, 2014 by vcherian
I am trying to program PNA-X 5244a using matlab. I am using GPIB connection for this.
I have attached the relevant portion of the code

------------------------------------------------------------
The error am getting is :

Error using visa (line 232)
Invalid RSRCNAME specified. Type 'instrhelp visa' for more information.

Error in gpib_test 
     vi =  visa('agilent',visaString);


Other info are :
>> instrfind
   Instrument Object Array
   Index:    Type:         Status:   Name:  
   1         visa-tcpip    closed    VISA-TCPIP-0-192.168.23.101-inst0
   2         visa-tcpip    closed    VISA-TCPIP-0-192.168.23.101-hpib7,16
   3         visa-tcpip    closed    VISA-TCPIP-0-192.168.23.101-hpib7,16
   4         visa-tcpip    closed    VISA-TCPIP-0-192.168.23.101-inst0
   5         visa-tcpip    closed    VISA-TCPIP-0-192.168.23.101-inst0
   6         visa-tcpip    closed    VISA-TCPIP-0-192.168.23.101-inst0

>>vi
vi =
     []

Please help me debug this  

Attachments

Outcomes