LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Timers

Hi, I am new to LabVIEW and I don't know much about it but I did go through some online training to learn the basic stuff. I am working on a project and what I need to do is to be able to control home appliances. So what am doing at the moment I just used a simple code using a relay and LED to switch the LED on/off remotely which worked. Right now am trying to set a timer on the LED, for example, the user should be able to insert time he/she want the LED to be on so the code will include hours, minutes and second and after that time the LED should go off. I managed to create the code but it is not working properly. 

 

Please help...

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

Hi RuruM,

 

Probably need a little more detail regarding "not working properly" to give advice. Some brief thoughts:

  • Consider reading about and using a State Machine
  • You appear to have a tunnel with nothing wired hidden underneath the "Choose Performance" switch for the case structure
  • I don't see what will turn off the switch after starting - it seems like you're going to set it true over and over for many iterations (see State Machine for a way to move around this issue)

GCentral
0 Kudos
Message 2 of 3
(2,211 Views)

Okay, Thank you I will look at it and get back to you. thanks alot. 

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