<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: synchronization daq-mx hs-dio in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/802691#M366147</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have taken up looking into this issue in the UK Office, by working with Brian - I will post the soltuion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards, &lt;/P&gt;</description>
    <pubDate>Mon, 03 Nov 2008 15:49:17 GMT</pubDate>
    <dc:creator>Hillman</dc:creator>
    <dc:date>2008-11-03T15:49:17Z</dc:date>
    <item>
      <title>synchronization daq-mx hs-dio</title>
      <link>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/799730#M364963</link>
      <description>&lt;P&gt;I'd like to synchronize nine 6123 cards (analog 100kHz)&amp;nbsp;with six 6561 cards (LVDS 2MHz).&amp;nbsp; Correct me if I'm wrong, the correct&amp;nbsp;technique is to use counters.&amp;nbsp; Use one 6123 counter to generate a 100kHz pulse sync'd to the analog acquisition.&amp;nbsp; Then configure a second 6123 counter as continuous trigger (20-pulses), trigger counter2 from counter1, this gives you a 2MHz pulse sync'd to the analog acquisition.&amp;nbsp; Then&amp;nbsp;set&amp;nbsp;TClk of LVDS to trigger from 6123 counter2.&amp;nbsp;&amp;nbsp; Hey presto, all channels are sync'd together.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Writing it down is easy, but writing the code a little more tricky.&amp;nbsp; If any applications engineers or kudos seeking community members&amp;nbsp;have achieved such a feat, please post example code, it'd be much appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2008 15:37:28 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/799730#M364963</guid>
      <dc:creator>bmann2000</dc:creator>
      <dc:date>2008-10-28T15:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: synchronization daq-mx hs-dio</title>
      <link>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/799841#M365010</link>
      <description>&lt;P&gt;Hi bmann2000,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you want to do synchronous acquisition, with all the cards being triggered to acquire at the same time or want them to start at almost the same time? What system do you have all these cards in (i.e. PXI or PC)? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2008 17:26:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/799841#M365010</guid>
      <dc:creator>Andrew McL</dc:creator>
      <dc:date>2008-10-28T17:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: synchronization daq-mx hs-dio</title>
      <link>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/799845#M365014</link>
      <description>all cards sync'd together from the first sample,&amp;nbsp;but with different sample rates 100kHz for the analog, 2MHz for the LVDS.&amp;nbsp; I have a PXI-8106 controller in a PXI-1045 chassis.</description>
      <pubDate>Tue, 28 Oct 2008 17:30:15 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/799845#M365014</guid>
      <dc:creator>bmann2000</dc:creator>
      <dc:date>2008-10-28T17:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: synchronization daq-mx hs-dio</title>
      <link>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/800270#M365213</link>
      <description>&lt;P&gt;Hi bmann2000,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think what you would need to do would be to synch all of the cards to a common clock. I would look in the NI example finder for the Hardware Input and Output-&amp;gt;DAQmx Examples-&amp;gt; Synchronization -&amp;gt;Multi-Device. These give some good examples of various different ways to synch devices. I would then suggest that you set the AI reference clock to trigger acquisition from the Digital boards. This should allow everything to be synchronous (between the two different clock rates) and triggered to start at the same time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you would like further examples or a better explanation, please let me know,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2008 11:40:26 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/800270#M365213</guid>
      <dc:creator>Andrew McL</dc:creator>
      <dc:date>2008-10-29T11:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: synchronization daq-mx hs-dio</title>
      <link>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/800603#M365286</link>
      <description>&lt;FONT size="2"&gt;&lt;P style="margin: 0cm 0cm 0pt" class="MsoNormal"&gt;&lt;SPAN style="font-size: 10pt; color: #666666; font-family: Arial"&gt;I would be interested to see any examples you have access to,&amp;nbsp;showing DAQmx and HSDIO cards synchronized together.&amp;nbsp; 6123 boards have an onboard timing source, 6561 boards have an onboard timing source, the PXI chassis has a timing source.&amp;nbsp; In my app, 6561 samples at 2MHz, 6123 at 100kHz,&amp;nbsp;the solution must allow both cards to synchronize with each other and maintain their respective sample rates.&amp;nbsp; I have attached a VI, this shows how I've generated 2MHz from the 100kHz on the 6123 using counters, if I could TClk the&amp;nbsp;whole lot together&amp;nbsp;it could work.&amp;nbsp; (LabVIEW 8.5, HSDIO drivers required)&lt;/SPAN&gt;&lt;/P&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 29 Oct 2008 16:03:03 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/800603#M365286</guid>
      <dc:creator>bmann2000</dc:creator>
      <dc:date>2008-10-29T16:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: synchronization daq-mx hs-dio</title>
      <link>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/800814#M365384</link>
      <description>&lt;P&gt;Hi bmann2000,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think that this KnowledgeBase may provide some additional insight into your HSDIO synchronization questions because it addresses synchonizing HSDIO with different devices. There is also an example for synchronizing an HSDIO generation with an AO generation in DAQmx. You may find this helpful for getting started with your synchronization. I would recommend getting one HSDIO device and one DAQ device synchronized and then expanding the program to include your additional boards because it is simpler to synchronize multiple boards of the same device.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Synchronization with a High Speed Digital Input/Output (HSDIO) Board&lt;BR /&gt;&lt;A href="https://www.ni.com/en/support/documentation/supplemental/14/hsdio-generation-and-acquisition-synchronization.html" target="_blank" rel="noopener"&gt;https://www.ni.com/en/support/documentation/supplemental/14/hsdio-generation-and-acquisition-synchronization.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Synchronized High-Speed Digital Output and DAQmx Analog Output&lt;BR /&gt;http://zone.ni.com/devzone/cda/epd/p/id/2963&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2025 17:15:11 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/800814#M365384</guid>
      <dc:creator>Steve_B</dc:creator>
      <dc:date>2025-10-02T17:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: synchronization daq-mx hs-dio</title>
      <link>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/801240#M365546</link>
      <description>&lt;P&gt;Hi bmann2000,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also wanted to let you know that the 6123 will not be able to PLL to the 10MHz clock in the PXI chassis. The 6115 and 6120 are the only S Series cards that will be able to do this. You should share a timebase between the devices for synchronization. Another thought would be using a timing and synchronization card such as the 665x series to generate a trigger to all devices through the PXI Star lines. You can see more information about the S Series PLL to clock 10 in the linked KnowledgeBase and there is additional information about the PXI Star lines in the PXI-6653 User Manual on .pdf page 27.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Can a S Series Board Lock its Timebase to the 10 MHz Clock on the PXI Backplane?&lt;BR /&gt;http://digital.ni.com/public.nsf/allkb/6331133B8FF30280862570380067B245?OpenDocument&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NI PXI-6653 User Manual&lt;BR /&gt;&lt;A href="https://www.ni.com/docs/en-US/bundle/370968a/resource/370968a.pdf" target="_blank" rel="noopener"&gt;https://www.ni.com/docs/en-US/bundle/370968a/resource/370968a.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2025 17:16:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/801240#M365546</guid>
      <dc:creator>Steve_B</dc:creator>
      <dc:date>2025-10-02T17:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: synchronization daq-mx hs-dio</title>
      <link>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/801436#M365627</link>
      <description>&lt;P&gt;&lt;FONT size="2"&gt;Sharing a timebase does seem to be the logical solution, but implementing anything not in the shipped examples is very difficult without a detailed knowledge of the hardware, associated drivers, pxi standard, device history, exceptions etc.&amp;nbsp; I've studied the links and the example VIs.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Example VI &lt;A href="ftp://ftp.ni.com/pub/devzone/epd/hsdio_daqmx_sync.llb" target="_blank"&gt;hsdio_daqmx_sync.llb&lt;/A&gt;, it appears&amp;nbsp;the daqmx card and the hsdio card only share a StartTrigger, no actual synchronisation.&amp;nbsp; I still can't find an example that demonstrates synchronisation between a DAQmx and HSDIO card.&amp;nbsp; I'm not certain if it's even possible.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;If I could export a clock from the 6123 to the 6561, or vice versa, I'd have a solution.&amp;nbsp; I've studied all the examples available but still can't find the actual&amp;nbsp;coding method to achieve the link.&amp;nbsp; I've attached my latest code with comments and error messages.&amp;nbsp; I think I understand what I'm trying to achieve, but the coding has turned into trial and error.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2008 17:48:14 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/801436#M365627</guid>
      <dc:creator>bmann2000</dc:creator>
      <dc:date>2008-10-30T17:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: synchronization daq-mx hs-dio</title>
      <link>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/802691#M366147</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have taken up looking into this issue in the UK Office, by working with Brian - I will post the soltuion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards, &lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2008 15:49:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/802691#M366147</guid>
      <dc:creator>Hillman</dc:creator>
      <dc:date>2008-11-03T15:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: synchronization daq-mx hs-dio</title>
      <link>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/806242#M367580</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just wanted to post the summary:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In
order to syncronize, you must share a sample or reference clock. With
the HSDIO as the master, you cannot share this except using the ClkOut
Smb connection, the trigger lines cannot be written to in a way the S
Series can recieve them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the S Series as the
master, you can easily generate a 2MHz clock signal using a counter
output task. This signal needs to be routed to the HSDIO device. This
can only be done using an external connection (ClkIn smb connector or
the Strobe line), since the S Series card cannot write to PXI_Trig7 or
the PXI STAR line (The HSDIO device can accept Sample Clock signals on
ClkIn, PXI STAR, and Strobe; it can accept Reference Clocks on ClkIn,
PXI_CLK10, and Trig7). &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See the attached example I created to do just that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I
realize that using external connections may not be the most preferred
solution. &lt;SPAN class="noindex"&gt;One other idea we had is that it is possible to
use a generation task in conjunction with script markers on an HSDIO
device in order to effectively generate the 2MHz clock that can be
shared over a PXI_Trig line. This can then be divided down on the S
Series boards to be the AI sample clock. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;James Hillman&amp;nbsp; &lt;/P&gt;&lt;P&gt;SR: 721280 &lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2008 13:51:02 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/806242#M367580</guid>
      <dc:creator>Hillman</dc:creator>
      <dc:date>2008-11-10T13:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: synchronization daq-mx hs-dio</title>
      <link>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/806332#M367609</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I wanted to explain a little more about the script marker solution: Thanks you US Team! &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;During scripted generation we can output
markers on specified samples of output. These markers can be sent out
over PXI_TRIG lines. We could build a script that output markers
periodically to form a clock type signal.&amp;nbsp; These same PXI_TRIG lines
are valid sources for analog input sample clocks (and counter inputs if
we need to divide down the 'marker clock') on the S Series cards. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since
we can have simultaneous generation and acquisition tasks on an HSDIO
card, we could have a "dummy" scripted generation task with periodic
markers. This task's sole purpose is to output, on the PXI backplane, a
sample clock to be used by other cards directly, or a reference clock
to be divided down by other cards for their use. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of
the major caveats comes into play because we have to use onboard memory
for this dummy task and the longer this "marker clock" must be output,
the larger the block of onboard memory must be used. So if all channels
on a card were being used for a &lt;U&gt;continuous&lt;/U&gt; acquisition, we could run into problems. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards &lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2008 15:31:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/synchronization-daq-mx-hs-dio/m-p/806332#M367609</guid>
      <dc:creator>Hillman</dc:creator>
      <dc:date>2008-11-10T15:31:45Z</dc:date>
    </item>
  </channel>
</rss>

