Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69098

Using event structure for timed events, stop button not working

$
0
0

Hello,I currently have a little problem with a little homework I have, I'm new to LabView and I have a homework in which by using the event structure I must make a LED turn on/off each t interval of time (t: time in milliseconds defined by the user).

 

I made it work but I have a little problem, I have two buttons, the start and stop button, the first one works fine, but the second doesn't, I believe it is because inside each event there's no delay so the program keeps changing between the ON/OFF events. I already tried to put a delay on the events (50,100 ms) but it didn't work, any ideas?

 

*I know there are specific time structures but I was specifically asked to use the events structure.

 

I attached my work so far below.

 

Thank you.


Viewing all articles
Browse latest Browse all 69098

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>