06-21-2018 03:32 AM
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
Solved! Go to Solution.
06-21-2018 03:47 AM
06-21-2018 04:00 AM
@Artem.SPb wrote:
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
06-21-2018 04:13 AM
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?
06-21-2018 04:39 AM
@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.
06-21-2018 04:50 AM
06-21-2018 04:52 AM
06-21-2018 08:42 AM - edited 06-21-2018 08:42 AM
@Artem.SPb wrote:
I am trying to do it but with out success, can you give me the VI?
06-21-2018 08:58 AM
@GerdW wrote:
Hi mb,
I have got an emergency.
Then you need to learn faster…
See this:
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.
06-21-2018 09:29 AM
it works!!! Thank you so much!