Skip to main content

.

CordyMotion

CordyMotion 是基于珠海市科迪电子科技有限公司平台的设备驱动运控程序客户端cordymotioncaller的一层封装。主要是用于IRU以及SimpleIQ等测试设备调用的API。 目前CordyMotion只支持Linux(Ubuntu22.04)版本。


主要特点

  • CordyMotion 安装后,会将配置文件cordy.ini 安装在Ubuntu当前用户目录下的Bin/Config下(例如:~/Bin/Config/cordy.ini)
  • cordy.ini配置文件中包含Serer端 IP 和 port. (需要正确配置Server端的IP 和 Port, 否则CordyMotion无法正确工作。)

pip 安装

CordyMotion 已经发布到 Pypi 官网,通过 pip 指令可以安装。 注意:需要提前在 Ubuntu22.04 操作系统上安装python(版本3.10)

pip install CordyMotion

验证CordyMotion 是否安装成功

>>> from CordyMotion import IRU
>>> help(IRU)

输出如下内容:

|  IRU命名空间,包含方法fixture_load(), fixture_unload(), power_on_dut(), power_off_dut(), fixture_iru_pos()
 |  
 |  示例:
 |      >>> from CordyMotion import IRU
 |      >>> IRU.fixture_load()
 |  
 ...

表示安装成功

帮助说明

  • 使用者可以通过 help() 来查询 CordyMotion 的帮助说明。目前支持对整个whl包、包中指定类、类中指定的方法的使用说明。

查看 class 说明

from CordyMotion import IRU, SimpleIQ

help(IRU) 
help(SimpleIQ)

查看 function 说明

from CordyMotion import IRU, SimpleIQ
help(IRU.fixture_load)
help(SimpleIQ.fixture_unload)

查看 Package 说明

import CordyMotion
help(CordyMotion)

Version History

version Desc
0.2.3 add SimpleIQ.fixture_load_pos(), 治具回到上料位
0.2.4 extend the timeout value to 300 seconds

issue

  • CordyMotion 通过TCP与 Server端连接,执行运控操作时,当前版本首先会尝试与Server连接,当超时3次都无法连接成功时,CordyMotion会退出连接。此时需要检查连接状态:
  1. Server 端是否成功启动
  2. 检查Server端的IP地址和监听端口
  3. 检查CordyMotion的配置文件 cordy.ini 中配置的Server IP 和 Port是否正确。

Metadata

Release files for CordyMotion 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CordyMotion 0.2.5
File Size Uploaded Provenance Actions
CordyMotion-0.2.5.tar.gz 27.5 kB Without provenance Details for CordyMotion-0.2.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for CordyMotion 0.2.5
File Interpreter ABI Platform Actions
CordyMotion-0.2.5-py3-none-any.whl Python 3 none any Details for CordyMotion-0.2.5-py3-none-any.whl

Total release size: 74.5 kB

Release files / CordyMotion-0.2.5.tar.gz

Download URL CordyMotion-0.2.5.tar.gz
Size 27.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c80f6e44c1e90a5499b17948881d2e4a96d5c86c6897a60f1aad0ecf9d5a6688
BLAKE2b-256 checksum
How to use checksums
a816858d9901a8ce41bffa5b2e53e6ab67d51557c867a0e6f55f216790387946
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release files / CordyMotion-0.2.5-py3-none-any.whl

Download URL CordyMotion-0.2.5-py3-none-any.whl
Size 47.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4537758cdeb7261e20b254afc24bc10d073cfe2696730a2fb8833901242d9730
BLAKE2b-256 checksum
How to use checksums
aa6ff33a831941f953824f11092091ae936653912564b1aa553c55770aa7be68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Security for CordyMotion 0.2.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page