Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication with a Keithley 195A through a Prologix USB-GPIB interface

Solved!
Go to solution

I would like to interace a laptop with a Keithley 195A (Digital Multimeter).

The only available hardware interface is the GPIB.

On a laptop the available interface is USB.

Than a Prologix USB-GPIB Controller 6.0 device is what should do the job.

 

Attached there are a sample program from Prologix, a (hopefully) working program for the DMM from Kithley, and what I did (a simple copy and paste).

Result: after running the command ++addr 16, with the program from Prologix (just to start the communication.. I know, I will optimise the program) the program I realised do change the setting of the DMM. Say, I set a Ohm measuring, and the reles switch, but not value is read from the instrument.

 

What do I miss, or where is the error?

Many thanks

0 Kudos
Message 1 of 7
(6,893 Views)
Solution
Accepted by topic author Atcold

Solved! Smiley Tongue

The following command was missing:

 

++auto 1 //Turn on read-after-write and address instrument to talk

 

Let's now optimise the program! ^^

0 Kudos
Message 2 of 7
(6,885 Views)

Here there is the final version! Smiley Happy

0 Kudos
Message 3 of 7
(6,877 Views)

I've just got Prologix USB-GPIB adapter and I cant make LV and MAX to find it . Could you help with this?

I have Windows 7 . I have installed  2.08.14 WHQL driver for Prologix  and  NI  488 and VISA drivers.

MAX can not find any device.  although,  Prologix GPIB Configurator communicate with my GPIB instruments OK.

0 Kudos
Message 5 of 7
(6,647 Views)

Why would you think MAX should find it? The only thing MAX or LabVIEW is going to find is a new serial port. Installing NI-488 was a waste of time since you are not using an NI 488 controller.

0 Kudos
Message 6 of 7
(6,645 Views)

Hello mate!
I aprreciate your answer with your definitive program.
I was doing a program for the Impedance Analyzer HP 4192A and it helped a lot.

0 Kudos
Message 7 of 7
(5,120 Views)