LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display color array then 1 second later display same array with color change

Hi there, I'm new to LabVIEW and this is my first post. I'm using LabVIEW 9.0.1

 

Please have a look at this simple program attached below; when I've worked out this part of the program, it will be the starting up sequence of a game


   

the lights need to be set to white before running the program.. When the program runs the hexadecimal 'array 2' is projected as colors on 'array'. Then 1 second later, a green light is added to the centre and displayed in 'array 4'...

 

I am attempting to have the green light go on on the same array after 1 second. As opposed to on array 4...

When I've figured out how to do this I'll add many more time iterations, whereby a color is changed on each one. Thus making a nice startup sequence.

 

any help is appreciated, thanks in advance for your help!

 

p.s. add 00FF0000 to the last box in 'array 2' before you hit play.

0 Kudos
Message 1 of 3
(2,394 Views)

I think you should learn about shift registers.

 

Your larger program will probably work better and be easier to modify and maintain if you use a state machine in place of the sequence structure.

 

Lynn

0 Kudos
Message 2 of 3
(2,377 Views)

thankyou verymuch, i got it working now!

0 Kudos
Message 3 of 3
(2,369 Views)