Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Keithley GPIB only works on Ch 1?

Hello All,

 

I am new to LabView - doing the 45 day evaluation. So far, I have been successful getting my power supplies and scope connected with basic functions verified. With my Keithley 2700 DMM, I hve run into a problem and found nothing on the forum or documentation that has helped. 

 

The problem is that the Keithley 2700 only seems to respond on GPIB channel 1. It is connected through a Tektronix VXI-GPIB controller that all my other GPIB insruments are succesfully working on. I have tried multiple cables and reset/power cycled everything. When ch1 is selected, it comes up in the VISA interactive control and responds to commands. All of the other instruments can be whatever channel I choose. 

 

Not sure if it is related or not, but when I tried some of the examples for the Keithley 2700, I get this error: "Error -1073807330 occurred at Property Node (arg 1) in Keithley 27XX.lvlib:Initialize.vi->Keithley 27XX Single Measurement.vi"

 

Of course I took a look at the Initialize.vi but it is ahead of my knowledge. Trying to figure out why the instrument only responds on one channel and if it could be related to additional trouble I am having getting the example VI to initialize. 

 

LabView 2015 32bit

Win7 Pro x64

Tektronix AD007 VXI to GPIB controller

 

Other instruments tested sucessfully:

(2) HP 6653A power supplies

(1) Tek TDS-754C Scope

(1) Chroma 6614 Mainframe

 

0 Kudos
Message 1 of 12
(6,381 Views)

Can you give some more information on how you set the visa rsource name, both for your other instruments and the 2700

 

 

greetings from the Netherlands
0 Kudos
Message 2 of 12
(6,372 Views)

Sure....

 

I used MAX to set the VISA name. On the instrument, there are wo settings (that I know of) - GPIB: ON/OFF and Channel #.

Do you think I should manually set the GPIB address in MAX?

 

 

 

0 Kudos
Message 3 of 12
(6,367 Views)

I don't understand. I never use max to bind a name to a device.

so what is showing in max about the device address.

and please also one of the other systems to see differences.

greetings from the Netherlands
0 Kudos
Message 4 of 12
(6,362 Views)

Thank you for taking the time to help. There is little doubt that I am not going about things in the best way since this is my first baby steps with LabView. 

 

What is the best way to bind a VISA resource name? 

 

Also, I did get somewhere by manually entering the gpib address in MAX. Not sure that helps long term but it was able to connect to the instrument and pull data from it. It does not, however show up in VISA Interactive Control when scanning for instruments. 

 

MAX 09-22-2015 2700-a.png

 

 

VIC 09-22-2015 2700-a.png

 

 

 

0 Kudos
Message 5 of 12
(6,351 Views)

As far as I see it is an ethernet address, not gpib that you are using.

 

are you sure. It is connected by gpib?

greetings from the Netherlands
0 Kudos
Message 6 of 12
(6,339 Views)

On the Keithley it is GPIB, on the LabView side it's TCP/IP VXI-11 through the Tektronix AD007. All the instruments are GPIB being translated to Ethernet.

 

 

0 Kudos
Message 7 of 12
(6,337 Views)
You have an Ethernet to GPIB interface. Please don't call it a VXI. The GPIB address will be whatever you have the Keithley set to with either it's front panel or dip switches. It is not something that is set in MAX.
0 Kudos
Message 8 of 12
(6,321 Views)

From what I have gathered, VXI-11 is the protocol that transits TCP/IP over ethernet. Taking the GPIB and translating it to a protocol (VXI-11)  that can be pushed over IP, right?

 

NI VISA shows it as TCPIP0::192.168.198.119::gpib0,7::INSTR

Is it wrong to refer to the box as a VXI box or is that not what it is doing?

 

In MAX, I can specify the GPIB port that the ethernet/VXI/whatever box is talking to. That is what I was referring to earlier. Hope I am able to present the details in a way that is understandable. Being so new, I am nervous of using wrong terms that will confuse those willing to help. 

0 Kudos
Message 9 of 12
(6,315 Views)
No, the VXI-11 protocol is not the same as VXI. VXI is hardware that is an extension of VME. I have no idea why the protocol is called VXI-11 as it just confuses things. The VXI-11 protocol runs on a LAN instrument and your converter has nothing to do with that. The box converts tcp/ip to GPIB.

What is the setting of the Keithley? It must be set to GPIB and then you can set an address that is different than all of the other instruments.
0 Kudos
Message 10 of 12
(6,301 Views)