07-04-2012 03:44 AM
In LabVIEW 2010 I put the format %<%d/%m/%Y %H:%M:%S>T in Timestamp Control.
When user click on the button open picktime object.
Why picktime window doesn't inherit format from Timestamp Control and display milliseconds?
Where I can set picktime format?
Thanks all
07-04-2012 10:25 AM
What is a picktime object / window?
07-04-2012 10:35 AM
I mean the window that appear when you click on button near the timestamp control with title 'Set Time and Date', see attachment.
07-04-2012 10:52 AM
I don't see the problem you are seeing.
However, I am located in the USA and my Windows 7 PC's system locale setting is probably different from yours.
07-04-2012 11:11 AM
I'm located in Italy and I work with windows XP
Thanks, don't' worry is just a little problem.
07-05-2012 07:45 AM
The little window that pops up is actually a separate VI. The way that VI is written, it does not look at the format of the time control to format the text that is written to the string control on the front panel. It uses a default format, which matches the default format of the time control. However, if you change the format of the time control, the format in the popup VI is not changed.
If you want this changed you'd have to create your own popup VI and place your own button next to the time control that when clicked opens your popup VI.
Or, you can post an idea in the LabVIEW Idea Exchange.
07-05-2012 08:06 AM
I went in and changed the default format to the OP's and the pop-up window did reflect that change. I just didn't see the problem he/she had.
07-05-2012 08:10 AM
@nyc_(is_out_of_here) wrote:
I went in and changed the default format to the OP's and the pop-up window did reflect that change. I just didn't see the problem he/she had.
Interesting, as it appears this is something that was fixed (to a certain extent) somewhere along the way. I verified the incorrect behavior with an earlier version of LabVIEW, and I've known this problem to be there forever.