LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

windows system time and date dialogue

Does anybody have any ideas as to how you would open the windows time/date dialogue from the system tray programatically?
David Clark
CLA | CTA
Genesee Technologies Ltd
Hampshire, England
0 Kudos
Message 1 of 5
(3,067 Views)

try executing the date and time command lines (use Connectivity -> Libraries & Executables -> System Exec.vi), the example attached works with windows xp, right click on the System Exec.vi and select Help for more information ^_^

Good luck!

 

** Oops... I missed the dialogue part.. sorry, not sure how to pull up the dialogue.. if you're trying to set the windows date and time, you can use the command "date new_date" where new_date is in <mm-dd-yy> and "time new_time"

Message Edited by Elsa Fung on 01-09-2006 09:05 AM

Message 2 of 5
(3,056 Views)
If anybody has been looking at this I have found a way - using system Exec.vi execute the following command -
 
c:\WINNT\system32\control.exe date/time
 
This will bring up the date/time dialogue (replace WINNT with windows on xp)
 
Here's the link where I got it from - some other interesting bits and pieces there.
 
 

Message Edited by davidpcl on 01-09-2006 09:21 AM

David Clark
CLA | CTA
Genesee Technologies Ltd
Hampshire, England
Message 3 of 5
(3,040 Views)
Hi Clark,

Are still looking for a LabVIEW developer?

0 Kudos
Message 4 of 5
(2,917 Views)
Hi nab,

I'm really not sure if the company is looking or not - you best bet is to go to www.sts.serco.com and look on the recruitment page - you'll find details there on how to submit you CV.

David
David Clark
CLA | CTA
Genesee Technologies Ltd
Hampshire, England
0 Kudos
Message 5 of 5
(2,913 Views)