Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

synchronize DAQ across 2 computers

I am using two computers to aquired data and I want to synchronize the writing of files to each computer.  I have heard of synchronizing the DAQmx timing.  So, my first question is, what is the best way to go about this?
 
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.
 
I am new to passing data and DAQmx, so any suggestions would be greatly appriceated.
 
Thanks,
Robert
0 Kudos
Message 1 of 2
(3,057 Views)
 

The best way to synchronize between modules in different computers is using Synchronization Modules(PCI, PXI) and NI-Sync. The system will be a little bit complicate but you can make high precision synchronization by using them.

If you want through with DAQ device and NI-DAQmx, you can send the signal through RTSI or PFI line form master device and use that signal as timing source in slave device. You can refer Timing and Synchronization Features of NI-DAQmx and LabVIEW's sample in Sample Finder to achieve. But those are for multiple device in same computer, so it will be needed to export the signal for multiple computers. There is "Daqmx Export Signal" function to export the signals to RTSI or PFI lines.

For you second question, I suggest to use "digital line". Send the digital signal when you press Start Buttom in master device and read that signal in slave device and then start recording.

I hope the suggestion will help for you.

Best regards,

Thant Sin Naing
Applications Engineer
NI Japan

 

0 Kudos
Message 2 of 2
(3,026 Views)