NI產品與技術 討論區

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

交替按鈕問題

已解決!
前往解決方案

Hi,

 

OldVal is the value before the button is pressed.

By the way, since you need it to be a sub function, please see attached the revised version.

 

It is using 'polling' method, please watch out for the memory usage 😉

 

 

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 積分
11 條訊息(共 25 條)
4,309 檢視

Hi,

 

So, any feedback?

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
12 條訊息(共 25 條)
4,282 檢視

ian fung大大好厲害,你的程式我看好久才懂吐舌表情,不過還是有個問題,我希望off也是要確定按3秒才off,

現在只要按一下就off了,麻煩在幫我修一下,還有可以的話因為我的是7.0版的,請降版存檔謝謝高興表情.

0 積分
13 條訊息(共 25 條)
4,281 檢視

91825 (hope you are not a cop etc :p)

 

By the way, although I can do it quickly for you, but I still hope that you can try it out yourself.

That way, you will learn.

 

Please give it a try by refering to the existing example.

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 積分
14 條訊息(共 25 條)
4,278 檢視
我改好了極度高興的表情,謝謝大大的幫忙,這樣我對程式的了解又進一大步了,oh yas,下面是我改的程式.
0 積分
15 條訊息(共 25 條)
4,275 檢視

If you make change(s) to the VI, try rename the VI so as to keep the original original 🙂

 

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 積分
16 條訊息(共 25 條)
4,273 檢視

我想改一下小地方,可是都改不出來難過表情,就是我想改成按3秒後on,不要滑鼠放掉才on,因為這樣才知道什麼時候要放掉滑鼠,

不然總覺得要按好久吐舌表情.

0 積分
17 條訊息(共 25 條)
4,255 檢視

Hi,

 

There is always a solution/ method to do so by modifying the code. Have you tried and done your best?

Please give it a try first ya 😉

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 積分
18 條訊息(共 25 條)
4,233 檢視

因接觸labview時間不久,所學的大部份都是看書上寫的,自己寫的程式功能達的到,但卻很複雜,

所以想多看看大大們寫程式的技巧,並能吸收學習,因為很多是書上沒有的,謝謝各位大大的

無悔的指教極度高興的表情,我會努力的.

0 積分
19 條訊息(共 25 條)
4,231 檢視

Hi,

 

In that case... here it goes...

 

PS: 也将把它放到 lvvilib dot com

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 積分
20 條訊息(共 25 條)
4,229 檢視