10-18-2010 08:16 AM
Hi,
I have to synchronize two softwares at 20 ms of accuracy, the first one use labview timestamp ( 128bits, 1904 ect ... ) and cannot be modified.
and the second is written in C++ using DAQmx, i have find the trick consisting in substracting the number of seconds of a classical struct tm.
But it is not accurate enough for me.
The only solution i found, is to use SYSTEMTIME Structure and use the same trick than the struct tm.
But, I don't find this very nice, So is it possible to use the same routine as labview in a classical C++ program ( or classical cvi program ) ?
Thanks in advance !
Eric
Solved! Go to Solution.
10-18-2010 08:39 AM
Hi Eric,
LabWindows/CVI is not a C++ compiler, so might better post your question in the Measurement Studio for VC++ forum which you can find here
10-18-2010 08:45 AM
Thanks for the answer. I have made a mistake in the tittle.
But if a solution works on LabWindows/CVI, i will be able to port it in C++. ( i have the same problem in LabWindows / CVI too )
😉
10-25-2010 11:40 AM
Hey Eric -
I'm not sure if you're still working on this, but I thought I'd mention the CVI absolute time API in the utility library. It uses the National Instruments Binary Time Format, which I think is what LabVIEW should be using, and should meet your needs.
NickB
National Instruments
10-26-2010 03:46 AM - edited 10-26-2010 03:49 AM
Hi nickb,
Like you, i am always working for customer's satisfaction ![]()
Thanks a lot for the answer !
Problem is solved.