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:
-
Download linux-gpib tar.gz file from http://sourceforge.net/projects/linux-gpib/files/ and install it by readme or install file in it.
-
Install libgpib0_3.2.11-0.2ubuntu7_amd64.deb by run the command “dpkg -i libgpib0_3.2.11-0.2ubuntu7_amd64.deb”.
-
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.
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.
-
Install python-support_1.0.13ubuntu1_all.deb by running the command “dpkg -i python-support_1.0.13ubuntu1_all.deb”
-
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”
-
Run "modprobe ni_usb_gpib". There should be no any comments.
-
Run "sudo gpib_config". There should be no any comments.
-
Run "cd /dev" and run "sudo chmod 777 gpib0".
-
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
网友评论