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

[Beginner] Boolean leds are not blinking 'separately'

$
0
0

I have attached a picture of a section of my code

 

2 buttons on the left (Status 1 and Status 2)

 

Other sections control the Numeric part, when set to 3 I want the LED (Alarm 1/2) to blink every 250ms, when set to 2 I want it to blink every 1000ms

 

I believe this is the appropriate way of doing this, (if there is a better method, please let me know too)

 

However the problem.......

 

When Numeric 1 is set to 3, the LED (Alarm 1) is blinking every 250ms. (As I want it to)

HOWEVER, when Numeric 2 is set to '2', the LED (Alarm 2) is blinking every 1000ms, AND Alarm 1 is ALSO blinking at 1000ms.

 

I don't understand why. I've changed a lot of sections to test if any of the other parts of the vi is affecting it but I don't believe so.

 

Thanks in advance


Viewing all articles
Browse latest Browse all 66767

Trending Articles



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