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

Elapsed Time

已解決!
前往解決方案

Hi! 

I hope so much you could help me in this simple issue. 

 

I would like to start a boolean as true when another boolean become and stay true for 2 second. How can I do it?  Please I am a beginner but it is really important to go on with my work.  

Sorry for the annoyng

0 積分
1 條訊息(共 10 條)
8,551 檢視

 

bool.png

 

2 條訊息(共 10 條)
8,543 檢視

@Artem.SPb wrote:

 

bool.png

 Thank you so so much! But starting from your VI what I would like to do is that when B 1 as a controller stay true for 2 seconds so the other boolean star to be true forever 


 

0 積分
3 條訊息(共 10 條)
8,541 檢視

Hi mb,

 

then you need to wire B1 to the reset input of the ElapsedTime function.

 

Have you taken those beginner courses offered for free?

Have you even considered to play with that snippet on your own (to learn LabVIEW) instead of requesting "ready-to-use" code?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
4 條訊息(共 10 條)
8,528 檢視

@GerdW wrote:

Hi mb,

 

then you need to wire B1 to the reset input of the ElapsedTime function.

 

Have you taken those beginner courses offered for free?

Have you even considered to play with that snippet on your own (to learn LabVIEW) instead of requesting "ready-to-use" code?


yes but I have got an emergency. Thank you for all the suggestions but it is still not doing what I want because the the second bolean return true every 2 second and does not stay true forever after 2 seconds.

0 積分
5 條訊息(共 10 條)
8,513 檢視

 

bool2.png

 

6 條訊息(共 10 條)
8,507 檢視
解決方案
接受者 mbindustry

Hi mb,

 

I have got an emergency.

Then you need to learn faster…

 

See this:

check.png

There is just one function hidden behind the frontpanel. Try to figure it out on your own…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
7 條訊息(共 10 條)
8,506 檢視

@Artem.SPb wrote:

 

bool2.png

 



I am trying to do it but with out success, can you give me the VI?

0 積分
8 條訊息(共 10 條)
8,487 檢視

@GerdW wrote:

Hi mb,

 

I have got an emergency.

Then you need to learn faster…

 

See this:

check.png

There is just one function hidden behind the frontpanel. Try to figure it out on your own…


I am thinking to subtract the time that pass when B1 is true with the time that characterized the while loop at the start? If I am wrong please help me, I am not so good in Labview, it is not my work but I have to do it because of an emergency and I do not know from what I have to start to overcome the issue.

0 積分
9 條訊息(共 10 條)
8,482 檢視

it works!!! Thank you so much!

0 積分
10 條訊息(共 10 條)
8,472 檢視