LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-Sync and Windows System Time

Hi,
 
I have an NI PCI 1588 card and the NI-Sync 3.0 software.  I want to sync my Windows System Time with the 1588 board time at specified intervals.  I did not find a piece of software <service or windows time provider> that came with NI-Sync 3.0 that did this.  Is this correct?  Does NI have a separate piece of software that can accomplish this?
 
Thanks!
YeeManB
0 Kudos
Message 1 of 4
(3,697 Views)
Howdy YeeMan,

If I understand you correctly, then you could use niSync Set Time to accomplish this. You can find this VI in the Functions palette under Measurement I/O»NI-Sync»Timing»Time Reference. Refer to the NI-Sync Help for more info.
Warm regards,

pBerg
0 Kudos
Message 2 of 4
(3,631 Views)

Hi,

I want to go the other way.  I want 1588 board time -> windows system time.
I believe niSync_SetTime is for windows system time -> 1588 board time.

Any ideas?  Currently, I have a service that calls niSync_GetTime and then the win32 SetSystemTime.  I was hoping there was a more elegant solution.
Thanks!

0 Kudos
Message 3 of 4
(3,628 Views)
Howdy YeeMan,

Ah, thank you for that clarification! Yes, a WinAPI call such as the one you mention is the best way to accomplish this. I like your idea, though. You should post it as a Product Suggestion!
Warm regards,

pBerg
0 Kudos
Message 4 of 4
(3,606 Views)