From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



我是否可以在主机运行一个使用和板载程序使用同一个轴的程序?



主要软件:
主要软件版本: 6.1
主要软件修正版本: N/A
次要软件: N/A

问题:

我是否可以在主机运行一个使用和板载程序使用同一个轴的程序?

 



解答:

您可以在主机端程序并发送命令到板载程序使用的一个轴。主机程序总是优于板载程序执行。如果您从主机程序发送命令,那么它将会被先执行,然后再运行板载程序的命令。您也可以发送命令给其它轴,此时同样是主机程序先执行然后板载程序继续执行。

如果您发送命令给同一个轴,那么您需要小心。因为如果您从主机程序改变了该轴的执行模式,那么板载程序也许就无法继续正确执行了。



相关链接: KnowledgeBase 2WFDG8XL: How Can I Stream Data From Onboard Memory to the Host Computer for a Motion Control Application?
KnowledgeBase 2C9D0AQ1: Are Onboard Variables Global in Nature?
Product Manual: NI-Motion User Manual

附件:





报告日期: 03/22/2004
最近更新: 06/26/2010
文档编号: 37LCE0A2