GPIB Installation Guide (Ubuntu)

2017-05-09  本文已影响80人  唐T唐X

This document is created by Tang Xue (13811246972@139.com). Please feel free to contact me if you have any problems. If you want to share it, please indicate the source.

This doc mainly for the testers who are working on power testing with power supplier such as Keithley or Agilent. When you can connect them via GPIB, you can make your testing automated. Below is the GPIB installation guide:

Please connect your voltage supplier before you do below steps:

  1. Download linux-gpib tar.gz file from http://sourceforge.net/projects/linux-gpib/files/ and install it by readme or install file in it.

  2. Install libgpib0_3.2.11-0.2ubuntu7_amd64.deb by run the command “dpkg -i libgpib0_3.2.11-0.2ubuntu7_amd64.deb”.

  3. Run "cd /etc".
    a. Run "sudo gedit gpib.conf".
    b. Change "board_type" to "ni_usb_b" and "name" to "GPIB_USB_HS" in interface section.

图片.png

c. Change "pad" to "16". This number is refered to you voltmeter's address in device section.
d. Change "name" to "keithley" in device section.

图片.png
  1. Install python-support_1.0.13ubuntu1_all.deb by running the command “dpkg -i python-support_1.0.13ubuntu1_all.deb”

  2. Install python-gpib_3.2.11-0.2ubuntu7_amd64.deb by running the command “dpkg -i python-gpib_3.2.11-0.2ubuntu7_amd64.deb”

  3. Run "modprobe ni_usb_gpib". There should be no any comments.

  4. Run "sudo gpib_config". There should be no any comments.

  5. Run "cd /dev" and run "sudo chmod 777 gpib0".

  6. Run "sudo gpib_config". There should be no any comments. (If you remove voltmeter from PC and connect it again or reboot PC, you should run step6 ~ step9 again to make PC recognize it.)

Attachment Download: https://pan.baidu.com/s/1hr4S9pE

上一篇下一篇

猜你喜欢

热点阅读