万博1manbetxSimulink实时驱动的研华PCI-1716

15次浏览(最近30天)
阿玛艾尔jodah
阿玛艾尔jodah 2018年12月2日
评论道: 阿玛艾尔jodah2021年2月23日
我一直在尝试为上面的卡片写一个s函数,但没有任何成功。代码可以正确地编译,但当我在目标计算机上运行它时,它从来没有给我正确的结果。检查状态的while循环永远不会中断,如果我删除它,输出总是10。我很感激任何帮助。谢谢你!

接受的答案

阿玛艾尔jodah
阿玛艾尔jodah 2018年12月2日
编辑:阿玛艾尔jodah 2018年12月2日
解决了,在原始程序的几个错误,while循环需要有状态读取内部,读取计数需要在两行读取,然后组合在一起。
1评论
阿玛艾尔jodah
阿玛艾尔jodah 2021年2月23日
https://au.mathworks.com/matlabcentral/fileexchange/87694-万博1manbetxsimulink-realtime-driver-for-advantech-pci-1716-pci-1716l?s_tid=prof_contriblnk
https://au.mathworks.com/matlabcentral/fileexchange/87689-万博1manbetxsimulink-realtime-driver-for-advantech-pci-1723?s_tid=prof_contriblnk

登录评论。

更多的答案(2)

修枝张
修枝张 2019年4月26日
你好朋友,我在xpc也用这张卡,我搜索了几个星期的driver,你能把完整的driver代码发给我吗?
非常感谢!
我的电子邮件:zhangxzh17@lzu.edu.cn
1评论
阿玛艾尔jodah
阿玛艾尔jodah 2021年2月23日
https://au.mathworks.com/matlabcentral/fileexchange/87694-万博1manbetxsimulink-realtime-driver-for-advantech-pci-1716-pci-1716l?s_tid=prof_contriblnk
https://au.mathworks.com/matlabcentral/fileexchange/87689-万博1manbetxsimulink-realtime-driver-for-advantech-pci-1723?s_tid=prof_contriblnk

登录评论。


道格拉斯·克劳德
道格拉斯·克劳德 2020年2月17日
这里也是一样,这些代码将非常有用!如果你能发布最终版本,那将会拯救我们中的许多人:)
1评论
阿玛艾尔jodah
阿玛艾尔jodah 2021年2月23日
https://au.mathworks.com/matlabcentral/fileexchange/87694-万博1manbetxsimulink-realtime-driver-for-advantech-pci-1716-pci-1716l?s_tid=prof_contriblnk
https://au.mathworks.com/matlabcentral/fileexchange/87689-万博1manbetxsimulink-realtime-driver-for-advantech-pci-1723?s_tid=prof_contriblnk

登录评论。

社区寻宝

在MATLAB中心找到宝藏,并发现社区如何可以帮助你!

开始狩猎!

翻译的