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.
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.
|
曾今,我在递归调用VI时并未发生任何错误。
但是当我调用一个VI,它又使用了VI Server运行方法来调用当前VI时,就会发生错误:
Error 1000 occurred at Invoke Node in [Current VI name].vi
Possible Reasons:
LabVIEW: The VI is not in a state compatible with this operation.
可以通过下列文章了解LabVIEW中递归的使用方法:
How Does Recursion Work in LabVIEW?
您可以用链接中的范例来了解如何递归的调用一个VI本身���
但是,如果您在另一个层面使用递归调用(例如x调用y,其中y又调用了x)您需要使用VI Server运行方法。确保所有VI是可重入的。同事,确保您在打开VI引用处的选项处输入了8。这会帮助目标以可重入的方式运行,并开辟并行、独立的运行空间���
|