微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 测试测量 > 虚拟仪器 > 两个labview程序同时运行互相影响?

两个labview程序同时运行互相影响?

时间:12-13 整理:3721RD 点击:
虽然都能运行
但运行速度互相影响
有办法避免影响吗?

看有没有同时使用的子vi
有的话,设reentrant

系统自带的基本控件算不子vi
我没有自己编子vi

通过Browse->this VI's subvi中查看没有同时使用的subvi
如果有怎么设reentrant

By default, LabVIEW serializes multiple, simultaneous calls to the same VI. However, you can enable "Reentrant Execution" (under VI Setup》Execution Options) for a VI and LabVIEW will execute multiple, simultaneous calls to that VI in parallel.
Note that VIs with the "Reentrant Execution" property enabled do not have an active front panel. For more information on reentrant execution, refer
to Chapter 26, "Understanding the G Execution System", in the LabVIEW G Programming Reference Manual.
具体的你查一下user manual或者上NI的网站上搜一下,我记不太清了
其实NI的网站上内容很丰富,很多问题可以在上边找到答案,
NI网站号称全美top 5的技术支持网站,有问题还可以给NI的工程师写信,几天就会有答复

thanks for your detailed answer
It seems that there're no shared subvis.
But when two vis run together.
The motor runs slower when the motor control vi runs together with another vi.
the 2 vis have no shared parameters.

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top