Search code examples
timerslidelabviewled

How can I change the slider value within the while loop in each case in LabVIEW?


There are six LEDs that light up one after the other. I want to control the speed of the flashes with a slider. Unfortunately, after reaching station A, the value of the slider actually changes. I want if I change the slider while running, I can immediately notice the change in the flash of the LEDs. Anyone have any idea how this could be solved?

Block diagram


Solution

  • Based on your code,

    1. plz make another while loop.
    2. And then, put your slide(timer) in the new while loop.
    3. And then, connect the slide to Labview timer by using local variable.

    This is an example block diagram.

    enter image description here

    The corresponding front panel is this.

    enter image description here