LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simultaneous DAQ and data recording across 2 computers

I am using two computers to aquire data and I want to synchronize the writing of files on each computer.  I have heard of synchronizing the DAQmx timing.  So, my first question is, what is the best way to synchronize the timing?
 
Also, we want to be able to press a button on one computer and have that start the recording of data on both computers.  At the moment, each computer has a button that is pressed to start the writing to file.  How would I make it so that pushing the button on 1 computer would start the recording of data on both simultaneously?  Essentially, we want the same relative time in both files.  At the moment we are using TCP functions to pass some data, but it doesnt seem like it would work for the simultaneous recording.
 
I am new to passing data between computers and DAQmx, so any suggestions would be greatly appriceated.
 
Thanks,
Robert
0 Kudos
Message 1 of 3
(2,588 Views)

Hi Robert,

i think to use the tcp functions is a good idea. You can use them to start measuring the data. To have on both pc´s the same time, i recommend the use of an external timing source.

Hope it helps.

Mike

0 Kudos
Message 2 of 3
(2,570 Views)
If I use the TCP function then one of the computers would start recording data before the other (or is the TCP connection really fast?).  It seems like the computer with the boolean would start capturing data before the other computer recieved the boolean data, but I could be wrong.  Also, we are aquiring data at 40kHz
 
--Robert


Message Edited by knapkerd on 05-12-2008 09:00 PM
0 Kudos
Message 3 of 3
(2,535 Views)