Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB Not Listing in LabVIEW but Listed in MAX

Solved!
Go to solution

Hi All,

     I have connnected my Yokogawa WT3000 through NI GPIB-USB converter.  Its listed in MAX (GPIB1::1::INSTR).  But its not listing in LabVIEW (VISA Resource Control).  When I tried to "Open VISA Test Panel" in MAX, its throwing an error "VISA_ERROR_RSRC_NFOUND".  At the same time when I try "Communicate with Instrument", the device is responding to the commands.  Thus I came to an understanding that direct GPIB commands is communicated properly with the instrument where as VISA commands is not communicated with the instrument.  When I looked in VISA Interactive Control, the device is listed as unknown.  Can anyone help me to list the instrument in LabVIEW (VISA Resource)?

 

2.png

 

1.png

 

3.png

 

4.png

 

Thanks,

Ajayvignesh.

--
Ajay MV


0 Kudos
Message 1 of 6
(5,447 Views)

Hi,

 

If you perform a 'Scan for instruments' in MAX you should see the WT3000 as shown in the picture.

 

Next I would try the VI that are available from Yokogawa.

 

Kees

 

 

0 Kudos
Message 2 of 6
(5,440 Views)

Hi Kees,

    Thanks for the input.  I can see my device on list as "Instrument0" in MAX.  To try with the example for Yokogawa, I need to select the VISA resource.  But the GPIB resource for this instrument is not listed in LabVIEW VISA resources.

 

-Ajay

--
Ajay MV


0 Kudos
Message 3 of 6
(5,421 Views)
Solution
Accepted by topic author Ajay_MV

The issue is solved.

 

The cause of the issue is because of both GPIB-USB and the instrument used the same address "1".

 

In the address "GPIB1::1::INSTR", firs word is GPIB-USB converter address and the middle number ::1:: is instrument address.

 

In max you can change these addresses by running MAX as administrator.  Some times, even running as administrator won't allow you to edit this address, then you need to restart the PC to enable edit mode.

 

Once you changed this address with different numbers for GPIB-USB and Instrument as "GPIB2::1::INSTR", it works fine and lists in LabVIEW Visa Resources.

 

Thanks,

Ajay.

--
Ajay MV


0 Kudos
Message 4 of 6
(5,383 Views)
Why do you even have two GPIB converters? A second will get an address of 1. Also, in MAX, you cannot change the address of an instrument. That requires a change of the instrument itself.
0 Kudos
Message 5 of 6
(5,373 Views)

Dennis,

    Yes, I don't need two GPIB-USB converters.  Since I had two converters, I connected two instruments through each converters.  You are also correct that you can't change the instrument address.  But the GPIB-USB converter address can be changed through its property in MAX.

 

Thanks,

Ajay.

--
Ajay MV


0 Kudos
Message 6 of 6
(5,362 Views)