LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I start and stop 'Write to measurement file' at the specific time?

Hi everyone,

 

I'm working on a radar project, I use laptop sound card to record data from two radars, since one laptop only has one sound card, two laptops have been used in this project.

 

Here comes the question, I should run the same labview program on two laptops, in order to synchronize the data, 'write to measurement file' have to start and stop at exactly the same time, how can it be realized in labview?

 

I plan to use 'get data/time in seconds' function,such as start saving at 2:40:10pm and stop saving at 2:40:40, save data for 30s, but I don't know how to do it.

 

Can anyone answer this question? Thank you very much!

0 Kudos
Message 1 of 4
(2,945 Views)

Refer to this White paper. Ignore the reference to the DAQ instrument being used.

 

http://www.ni.com/white-paper/10725/en/




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 4
(2,941 Views)

Thank you! It works!!

 

But bad news is, the system time of two laptops can not be perfectly synchronizedSmiley Sad they always have 0.5s to 1s difference

0 Kudos
Message 3 of 4
(2,911 Views)
Yeah unfortunately that's the nature of the beast. If they are networked together you could sink the time using nettime other than that there is not much you can do.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 4 of 4
(2,882 Views)