Instrument Control (GPIB, Serial, VISA, IVI)

取消
显示结果 
搜索替代 
您的意思是: 

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

已解决!
转到解答

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 项奖励
1 条消息(共 7 条)
7,085 次查看
解答
已被主题作者 Atcold 接受

Solved! 吐舌表情

The following command was missing:

 

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

 

Let's now optimise the program! ^^

0 项奖励
2 条消息(共 7 条)
7,077 次查看

Here there is the final version! 高兴表情

0 项奖励
3 条消息(共 7 条)
7,069 次查看
4 条消息(共 7 条)
7,053 次查看

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 项奖励
5 条消息(共 7 条)
6,839 次查看

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 项奖励
6 条消息(共 7 条)
6,837 次查看

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 项奖励
7 条消息(共 7 条)
5,312 次查看