LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

using an event structure to register many actions

 

Hi there,

 

I'm making a simple game;

4 player game.

Each player gets a led that flashes at random and a button to hit when the LED is on. But it is only on for 500 milliseconds.

 

I’m having troubles with it. i think i need a case structure in the 3rd case of the main case structure?

 

at the moment points are awarded if the button matches the LED. i.e. both on or both off.

 

Any help is appreciated

0 Kudos
Message 1 of 2
(2,196 Views)

First, let's clean up some of the Rube Goldberg code.

(You don't need a case structure to output a True or False boolean.  Just use the condition.)

 

As for your code, I don't know where to help.  You talk about an event structure, but there aren't any in your code.

0 Kudos
Message 2 of 2
(2,161 Views)