ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

creating calendar vi

I want to use a calendar that looks just like the one windows have when you click the clock on the screen.

Is there a ready VI in labview with a calendar?

Tzviel
0 Kudos
Message 1 of 9
(6,116 Views)
Hi

There's a control name "Time Stamp Control". It includes a button which causes a calendar to appear if it is clicked.

Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 9
(6,109 Views)
Hi,
If you are using some older version of LV then make use of the ActiveX control of calender
0 Kudos
Message 3 of 9
(6,107 Views)
I have used the time stamp control.

How can I disable the seconds (work only with hours and minutes)?,on the numeric display I just changed the precision but when you press the calendar button to choose a date it shows the clendar with the seconds.
0 Kudos
Message 4 of 9
(6,104 Views)
On the calendar unfortunately you can't change the format.
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 5 of 9
(6,102 Views)
Put an activex control on your front panel. Right click on the control and insert an activex object. My computer had a Microsoft Date&Time picker control and a Microsoft MonthView control.
0 Kudos
Message 6 of 9
(6,089 Views)
looks great-this was just what I was looking for.

how can I extract from the ActiveX the date and time as a string??

Thanks

tzviel
0 Kudos
Message 7 of 9
(6,086 Views)
Wire the terminal (which is an activeX reference) to a property node. Select the property "value" and use the variant to data-function to convert it to a string.

Hope this helps.

Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 8 of 9
(6,081 Views)
There is also a labview function that takes a cluster of data and makes it a timestamp. Date/Time to Seconds is under the Time&Dialog section.
0 Kudos
Message 9 of 9
(6,071 Views)