LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

system time from a gps receiver

Solved!
Go to solution

Hi. I use Labview 8.6.

I managed to output data from a Garmin GPS Receiver (on serial port). OK.

Now i want to synchronize the GPS with my PC, to have the same time.

How can i do that ?

0 Kudos
Message 1 of 4
(2,892 Views)
Solution
Accepted by topic author dsasorin

You can try this

http://digital.ni.com/public.nsf/allkb/459C9E8DCD8488B686256E3200625E54



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 2 of 4
(2,880 Views)

windows machines can set the time from the command line, which may be simpler than calling a dll:

 

one way to do this is with the "time" command.

 

http://ss64.com/nt/time.html

 

looks like you get hundredths of a second.

 

simply send "time [newtime]" to a system exec function.

-Barrett
CLD
Message 3 of 4
(2,869 Views)

Go to Help example finder. Then search for EXE and select the Calling System Exec.vi example. Note since time is Built-in command, add the cmd /c before the command. Else it will not work.



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 4 of 4
(2,857 Views)