LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Set Mac system time from Labview

I'm trying to set the Mac system time from my Labview VI.

The description of my problem is that I'm using a laptop and require that the battery be removed.  So, every time I power up the Mac laptop the System Time is reset to a default time way back in the 60's or 70's.

I've got an instrument that keeps current time, so I can read the time from it and use it to set the Mac time.

Ok, so I assume that I need to use an Applescript and send an AppleEvent to the Finder.  The details escape me though, and the Help system doesn't work for the AppleEvent VIs (I get a Work document with 4 words and nothing else).

ANY help would be appreciated, especially if there is an easier way to set the time.  But any AppleEvent help would also be appreciated. 

 
0 Kudos
Message 1 of 3
(2,637 Views)
Doesn't the laptop have a small internal battery to maintain date/time and the CMOS settings?
0 Kudos
Message 2 of 3
(2,629 Views)

You may be right, I need to take the laptop apart and find that battery.

I've been inside the laptop before and it's not easy... 

But thanks for the idea  Smiley Happy

Message Edited by battman on 01-21-2009 08:35 PM
0 Kudos
Message 3 of 3
(2,622 Views)