NI產品與技術 討論區

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

Event trigger 的問題

你好!
目前我有一個Event structure的問題!
就是在一個while loop中,有一個boolean判斷式,這判斷式會將true/false的值丟給boolean1,
而我的Event structure 事件觸發的訊號為這個boolean的"Value change"(boolean 值只會改變一次),
而Event Structure裡頭為一個可以隨時控制開關的子程式! 附上我所寫的Event Test 小程式!
不過這樣的寫法並不能達到我的想法! 煩請高手指正,感激不盡!
0 積分
1 條訊息(共 5 條)
4,526 檢視
 
 
-You do not need "while loop" inside the event structure.
-The reason that it only executes ones if because it never comes out of it. Never wire a constant "true" to the conditional terminal of the loop, or your program would never stop
 
Best,
 
FS
 
0 積分
2 條訊息(共 5 條)
4,516 檢視
不好意思! 你所附的檔案我無法開啟! 可否再附一次! 謝謝!
0 積分
3 條訊息(共 5 條)
4,503 檢視
請問您Labview版本?
0 積分
4 條訊息(共 5 條)
4,491 檢視

This is the same file saved in LV 8.0.

I can't go earlier than that.... 極度高興的表情

 

0 積分
5 條訊息(共 5 條)
4,488 檢視