pyvisa 1.4 & 1.6 -simple sample
来源:互联网 发布:网络摄像头安装视频 编辑:程序博客网 时间:2024/06/14 01:22
自从看见Apple的工程师使用Python的时候就被Python吸引了,事实上我得Python就是从visa开始的。
我很讨厌写一些哪来就能用的代码,我觉得知道怎么用就好了,为啥非要用别人的?
pyvisa 1.4 for python2.7:
import visa
gpib="GPIB::20::INSTR"
gpib1="TCP/IP::192.168.10.10"
gpib_handler=visa.instrument(gpib)
gpib_handler.write("*GTL")
gpib_handler.read()
pyvisa1.6 for python3.4:
import visa
gpib="GPIB::20::INSTR"
gpib1="TCP/IP::192.168.10.10"
temp=visa.ResourceManager()
gpib_handler=temp.open_resource("GPIB")
gpib_handler.write("*GTL")
gpib_handler.read()
0 0
- pyvisa 1.4 & 1.6 -simple sample
- [Simple Factory]:Source Sample
- a simple jsm sample
- Simple Windows Service Sample
- Simple Windows Service Sample
- A simple Hibernate sample
- A simple mysql sample
- C++ simple sample IOCP
- Indexing Service simple sample
- django simple sample
- Sql Sample(simple)
- Django simple sample
- 下载pyvisa
- JAX-RS Simple SSE Sample
- Begin OpenGL with Python-1st Day,draw a simple sample.
- A Simple Sample for Expression Tree
- A Simple Sample for Expression Tree
- A simple sample show generic interface usage
- 在VS2010单元测试中,Assert断言主要有那些功能?如何去编写代码测试?
- 第14周 按字母排序
- hdu1595 find the longest of the shortest (dijkstra+记录路径)
- 加密算法
- 黑马程序员———IO(上)
- pyvisa 1.4 & 1.6 -simple sample
- 个人博客到底要提供什么内容
- 解决引入taglib的时候,tomcat报taglib definition not consistent with specification version错误
- windows-python爬虫之scrapy快速安装
- 黑马程序员———IO(中)
- Java线程(六):JUC包阻塞队列的应用
- 第14周 杨辉三角
- 第三天 android体系结构
- 黑马程序员———IO(下)