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.



如何将控件设计与仿真循环同步到时钟源



主要软件: LabVIEW Modules>>LabVIEW Control Design and Simulation Module
主要软件版本: N/A
主要软件修正版本: N/A
次要软件: N/A

问题: 我想将一个控件设计与仿真循环同步到一个特定的时钟源,而不是默认的,我该如何做?

解答:

为了将循环同步到一个时钟源,你需要通过双击循环打开Parameter窗口,选择Timing Parameter来将Control&Simulation Loop同步到一个时钟源上。要使能同步,在复选框中勾选,然后从源类型列表中选择一个时钟源

如果不在复选框中勾选, Control & Simulation Loop将会选择最快速度运行

Step Size(s)-指定ODE解决器衡量模型与更新模型输出之间的时间,以秒计。只有在选择了固定步长ODE解决器时该选项生效

Period(ms)-指定两个连续的Control & Simulation Loop迭代的时间。周期改变的单位取决于在时钟类型中选择的时钟源,默认值为100毫秒



相关链接: LabVIEW Control Design and Simulation Module Help: Configure the Timing of the Control & Simulation Loop

附件:





报告日期: 12/04/2013
最近更新: 02/27/2015
文档编号: 6G39PK5J