Ni-switch Python Api

niswitch的Python项目详细描述


整体状态

master branch statusBuild Status - master branchDocumentation Status - master branchMIT LicenseTest Coverage - master branch
GitHub statusOpen Issues + Pull RequestsOpen Pull Requests
InfoPython bindings for NI Modular Instrument drivers. See GitHub for the latest source.
AuthorNational Instruments
NI Digital Multimeter with Python logo

关于

nimi python存储库生成python绑定(应用程序编程接口),用于与模块化仪器驱动程序交互。目前,支持以下驱动程序:

  • ni-dcpower(python模块:nidcpower)
  • ni-dmm(python模块:nidmm)
  • ni-fgen(python模块:nifgen)
  • ni-scope(python模块:niscope)
  • ni-switch(python模块:niswitch)
  • ni modinst(python模块:nimodinst)
  • ni开关执行器(python模块:nise)

它被实现为一组Mako templates和每个驱动程序元文件,这些元文件为每个驱动程序生成一个python模块。使用 ctypespython库。

nimi python支持底层驱动程序支持的所有操作系统。

nimi python支持使用cpython或pypy的python 2.7、3.4及更高版本。

ni-switch python api状态

NI-SWITCH (niswitch)
Driver Version Tested Against18.0.0
Driver API Version19.1.0d0
PyPI VersionLatest NI-SWITCH Version
Supported Python VersionNI-SWITCH supported Python versions
Open IssuesOpen Issues + Pull Requests for NI-SWITCH
Open Pull RequestsPull Requests for NI-SWITCH

安装

作为使用ni switch模块的先决条件,必须在系统上安装ni-switch运行时。访问ni.com/downloads下载设备的驱动程序运行时。

nimi python模块(即用于ni-switch)可以使用pip

安装
$ python -m pip install niswitch~=1.1.2

easy_安装 setuptools

$ python -m easy_install niswitch

贡献

欢迎投稿!您可以克隆项目存储库,构建它,并通过following these instructions安装它。

用法

下面是使用niswitch模块打开到交换机的会话并连接通道的基本示例。

importniswitchwithniswitch.Session("Dev1")assession:session.connect(channel1='r0',channel2='c0')

ni-switch的其他示例位于src/niswitch/examples/directory中。

支持/反馈

ni支持nimi python包中包含的包。为了支持,打开 通过位于ni.com的ni支持门户的请求。

错误/功能请求

要报告错误或提交特定于ni modular instruments python bindings(nimi python)的功能请求,请使用 GitHub issues page

尽可能完整地填写问题模板,我们会尽快回复 尽我们所能。

有关硬件支持或任何其他与GitHub项目无关的问题,请访问[NI社区论坛](https://forums.ni.com/)。 ……_文档部分:

文件

有文档here

许可证

nimi python是在mit风格的许可证(see LICENSE)下授权的。 其他注册项目可根据不同的许可证获得许可。全部 许可证允许非商业和商业用途。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java在JTable上以逗号显示值   Maven NoSuchMethodError:void com。谷歌。常见的基础先决条件。checkArgument(布尔、java.lang.String、java.lang.Object)   SonarQube是用于验证代码的Java版本   java无法获取gps位置   java NetBeans 7.0中的绑定组问题   java Android向文件内部存储添加多行   java中的Xml解析问题   java侦听器问题和符号错误   方法模式上的java正则表达式。编译()   Raspberry Pi应用程序的java信息网页   java为计算器拆分输入字符串   如何使此文件i/O Java程序在Unix中运行?   java Hibernate:奇怪的ID设置   JavaMaven/Netbeans:子模块中的开源文件   来自父活动的java更新私有ListFragment   带有构造函数的Java对象数组   java以编程方式向LinearLayout添加多个组件   java如何以编程方式设置安卓系统时间?