LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using the X Series interal clock for synchronization

Hi,

 

I am slowly learning how to use Labview in my work.  I have 2 X-series multifunction DAQs that are each linked to a computer.  I am reading in the user manual that the DAQ has a built in 10MHz clock that can be used by other DAQs in the system.  The idea is that I'd like one of the two DAQs to be a master and all operations should be theoretically unified.  I am unclear on how to actually tap into the internal 10MHz clock on DAQ1.  I may be misinformed about some fundamentals of Labview, I recognize this.  I played around with some DAQmx functions and was confused because the Create virtual channel DAQmx that I assume has to come first in a sequence of DAQmx's still required an external signal source: "lines".  This seems counter-intuitive for my purposes!.  Can there be an input that is genuinely from within the DAQ?  If I create a DAQ assistant to generate counter output, I see how it can be timed using the 10MHz reference clock but somehow I also feel like this is an incorrect strategy.

 

I am still an amateur but I haven't found very good resourses that actually explain how to generate timing, only that you can do it.  Besides, isn't the 'timing' of any signal I generate in the program dependent on how fast the while loop surrounding the whole program cycles?  And can this be controlled?

 

Any starting point or advice you can provide is greatly appreciated.

 

 

0 Kudos
Message 1 of 2
(2,322 Views)

Hi twitchell,

 

Are you trying to synchronize analog input? If so, this should be a good starting point: Synchronizing DSA, S Series, and X Series Devices With a Single NI-DAQmx Task

 

Otherwise, please post more details about what you are trying to do: channel type, sample rate (same on each device or not?), triggering, etc.

 

Brad

---
Brad Keryan
NI R&D
0 Kudos
Message 2 of 2
(2,319 Views)