NI產品與技術 討論區

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

狀態比較 LABVIEW8.6

已解決!
前往解決方案

想請問一個問題

現在有一個開關

要與上一個開關的狀態比較要怎麼做呢??

0 積分
1 條訊息(共 3 條)
6,583 檢視

建議使用步林函數

 

block diagram>>programming>>boolean>>or , and,...etc

2 條訊息(共 3 條)
6,569 檢視
解決方案
由主題作者所接受 finddicky

Use Shift-Register

 

Shift-register is to register the current state, which will become the previous-state in the next iteration and used for comparison with the new state.

 

Boolean Change Detection.PNG 

Message Edited by ian fung on 12-10-2009 11:24 AM
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
3 條訊息(共 3 條)
6,567 檢視