01-21-2009 07:33 PM
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.
01-22-2009 02:56 AM