Python VISA for Agilent Programmable DC by GPIB

论坛 期权论坛 脚本     
匿名技术用户   2020-12-23 03:31   18   0


Install steps :

1. Install Python 2.7.13 from here , and set environment .

2. Install NI-488.2 and NI-VISA from the here .

3. Install PyVisa fromhere.


Setup GPIB and Usage:

import visa

dcel = visa.instrument('GPIB::12::INSTR')

print dcel.ask('*idn?')

if success, we can use it control DC ON/OFF , set voltage , get current . so on ...


Refer To :



分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:7942463
帖子:1588486
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP