取消
顯示結果 
搜尋替代 
您的意思是: 

just curious why "subroutine" disappear in NXG?

已解決!
前往解決方案

Some VIs play an important role in calculation and they are usually set subroutine by me. Now in NXG it seems disappear and there is an option for stateful and stateless(and the default value:none) in behavior property-execution. Could somebody explains something for these?

 

0 積分
1 條訊息(共 2 條)
2,198 檢視
解決方案
由主題作者所接受 Heartnode

I think those options relate to the reentrancy of a subVI, and not the execution priority. See this help page for more information: http://www.ni.com/documentation/en/labview/latest/g-prog/choose-right-vi-reentrancy/ 

 

As of NXG 3.0, it doesn't look like VI priorities are supported. Converting code from LabVIEW to NXG which has the subVI priority set throws a VIPriorityNotSupported warning: https://www.ni.com/docs/en-US/bundle/labview-nxg-migrating-code/page/vi-priority-not-supported.html




Certified LabVIEW Architect
Unless otherwise stated, all code snippets and examples provided
by me are "as is", and are free to use and modify without attribution.
0 積分
2 條訊息(共 2 條)
2,166 檢視