04-15-2014 08:36 AM
hey guy , im doing a project on labview that i want to just make prettier for the lecturer
is there a way to add a clock to the front panel that will tell the time , ideally in h:m:s format
all help welcome
thanks
kevin
Solved! Go to Solution.
04-15-2014 09:28 AM
This is a VERY basic question. I realize you're new to LabVIEW but please do even just a little research before falling back on a forum to get answers.
Drop a time stamp indicator down and wire the Get Date/Time VI to it. That's it. If you don't want to see the date right-click and go to the Display Format properties. You can also resize and color it to make it pretty. Have fun.
04-15-2014 09:39 AM
Add a "Get Date/Time in Seconds" function from the functions pallete along with any neccesary format modifiers (see attached).
04-16-2014 05:23 AM
Hi Kevin,
Adding to the great answers above: If you wish to create an analog clock face for your front panel you can work through the following example code:
https://decibel.ni.com/content/docs/DOC-7952
It is also noteworthy that within the LabVIEW community "Real Time" usually refers to a deterministic operating system (RTOS) or code running on an RTOS. More information can be found below
http://www.ni.com/white-paper/3938/en/
04-16-2014 09:08 AM
Pretty cool Tim. Here's an old one I had floating around that has a neat wooden face and the code is really simple. It's in LV10.
04-16-2014 01:58 PM
Oh boy does this take me back. Time to post one of my first LabVIEW programs. Clock Program.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
04-17-2014 10:18 AM
wooden clock looks awesomem, thanks thats exactly the kind of stuff i was looki ng for , thanks guys