LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

writing to the serial port at regular intervals

The current vi I am attaching writes to the serial port once and the data receieved from the same serial port is read, parsed, and represented on the temperature/humidity graph. Here when I press the 'request' button, either '1' or '2' is written to the serial port. Now, I want to write '1' or  '2' to the serial port at regular intervals of 5 minutes for 20 times; this will be done by just pressing a button 'request past hour temp/humidity' once.

Any help is appreciated.
0 Kudos
Message 1 of 2
(2,187 Views)
Hi Mozill,

I believe that you may want to try using the time elapsed express vi to obtain this functionality. This vi indicates the amount of time that has elapsed since the specified start time. You could make it reset every 5 minutes and keep a counter for eveytime the Time Has Elapsed value goes to True. I hope this helps.

Best regards,

Steven
0 Kudos
Message 2 of 2
(2,153 Views)