LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to programatically set the computer system time?

I need to coordinate my computer system time with an outside device. I am not allowed to change the device time to match my computer, but would like to change my computer to match the device. Is there a way to do this using LabVIEW?
0 Kudos
Message 1 of 3
(2,755 Views)
try this example
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
Download All
0 Kudos
Message 2 of 3
(2,755 Views)
John Shannon wrote in news:50650000000800000065FB0000-
1079395200000@exchange.ni.com:

> I need to coordinate my computer system time with an outside device.
> I am not allowed to change the device time to match my computer, but
> would like to change my computer to match the device. Is there a way
> to do this using LabVIEW?
>

A quick and dirty way could be to create a .bat file and execute it with
the "System exec.vi" (Function palette->Communication).

Use the ms-dos commands date and time.

I think you need administrator rights to do it.

--
Rolf
0 Kudos
Message 3 of 3
(2,755 Views)