ni交换机执行python api

nise的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 executive python api状态

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

安装

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

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

安装
$ python -m pip install nise~=0.2.2

easy_安装 setuptools

$ python -m easy_install nise

贡献

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

用法

下面是使用nise模块打开到交换机执行虚拟设备的会话并连接routegroup的基本示例。

importnisewithnise.Session('SwitchExecutiveExample')assession:session.connect('DIOToUUT')

ni switch executive的其他示例位于src/nise/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,使用gui连接到另一台计算机/服务器的文件系统   运行sbt的ubuntu返回错误:“javahome需要<path>参数”   java如何在Android中处理许多ImageView而不出现内存问题?   查询中非法字符的java相同URL失败   安卓取消引用可能会产生“java”。lang.NullPointerException'   java中的indexoutofboundsexception“java.lang.ArrayIndexOutOfBoundsException”错误   xml Java将dom保存到文件>文件在程序结束后由另一个进程打开   Java的垃圾收集器是如何工作的?   Java如何筛选值(列表)   java处理字符串我怎样才能像在真实的书籍中一样在上面部分生成“小数字”呢?   java SonarQube是否有一个API来获取所有项目分析的一部分?   java startActivity(intent)什么都不做   JAVAutil。扫描器类Java   java如何从Firebase更新电子邮件?UpdateMail方法已被弃用   java Hibernate。如何正确组织带有注释的onetomany关系?   在java中获得卷标和驱动器号之间的映射(而不是FileSystemView)的解决方法是什么   java查找文件的路径