LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time values

Coulkd someone please help us out on a problem.
I wish to put a array (10) led indicators on a front panel. I then wish to have 10 specified time values so that for instance:
press run and 1st led comes on then after 5 second 2nd led on then after 10 seconds 3rd led on and so on. I wish to be able to change the values of the time and the run the VI to work throught the value putting the led's on accordingly.
This VI is to give me an idea of how to imput valus so that I can modfy it to instead of turn on led's but to increase the flow on some instruments that I have.
 
many thanks
 
Shane Dover
0 Kudos
Message 1 of 12
(3,501 Views)
Hi
Check attachment,
Hope it helps,
Paulo
Message 2 of 12
(3,494 Views)
Thanks. but not quite what I am aiming for,
I wish to also set 10 time value to relate to the led's so that i can input say 5 seconds and the 1st led will come on, I then input in the second time value 10 second and then the led comes on and so on.
I,ve put an attachment so you may get the idea of how I want it to look
 
many thanks
 
shane
0 Kudos
Message 3 of 12
(3,493 Views)

Check it now,

Paulo

Message 4 of 12
(3,489 Views)
Still not sure
 
what does the 255 value mean
 
shane
0 Kudos
Message 5 of 12
(3,488 Views)
It was formmated as Unsigned 8 bits and 255 is the maximum value it can take.
It should be 1000 to convert from ms to s.
Check it now.
Paulo
Message 6 of 12
(3,485 Views)

Paulo,

 

If i wanted to add extra values how can this be done

 

many thanks

 

shane

0 Kudos
Message 7 of 12
(3,482 Views)
If you use arrays instead of clusters, then it would be automatic.
Chack annex.
Message 8 of 12
(3,478 Views)
Paulo,
 
sorry to bother you again but, I have repleced th LEDs with numerical indicators.
What i am trying to do is:
If you look at the names of the arrays
Time delay
Pressure Values (control)
Pressure values (indicator)
 
What I want to do is, like before set the time delay but also the pressure value and what will happen is after a set time the set pressure will be shown on the indicator
 
what do you think
 
shane
0 Kudos
Message 9 of 12
(3,469 Views)
sorry paulo I forgot to attach the VI
0 Kudos
Message 10 of 12
(3,468 Views)