Mongo-canfestival-3-asc中对象字典编辑器的打开

来源:互联网 发布:android编程教程 编辑:程序博客网 时间:2024/06/15 11:30

最近在用CANopen开发设备,在网上发现一款免费的CANopen开原协议不错。在进行移植的过程中发现objdict无法正常使用,按照manual_en.pdf操作,无法正常运行。
网上搜了N种方法,试了N多方法,还是不行,无意中看到bood123的canfestival中对象字典编辑器的打开(http://blog.csdn.net/bood123/article/details/50257167)的帖子。用他的方式试了一下,在Python的shell里面运行,发现还会报错。对比之前搜索下载的软件应该要多安装一个Gnosis_Utils-1.2.2。
总体的步骤如下:
1.安装python-2.7.3 (需要配置环境变量,安装的时候可以勾选环境变量,默认不勾选,忘记勾选需要自己设置)
2.安装wxPython2.8
3.安装beremiz
4.Install Gnosis Utils on your PC
This is installed from the command line.
Open a shell and use dos (cd command) to navigate to the directory that contains the unzipped files.
Moving the extracted folder close the root drive will make this easier.
When at the directory containing setup.py run x:/Python27/python.exe setup.py install。
第四步比较麻烦一点,前三都可以直接点击.exe文件即可安装。第四步需要在cmd里面进行。
安装完成后,双击objdictedit.py即可运行。欢迎在此交流开发Mongo-canfestival-3-asc遇到的问题以及想法。