<?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: Multi Record Channel Example in High-Speed Digitizers</title>
    <link>https://ni.lithium.com/t5/High-Speed-Digitizers/Multi-Record-Channel-Example/m-p/3289931#M4875</link>
    <description>&lt;P&gt;Hello Nathan-P,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sorry for not answer, but we hat not a test system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And now i can test but it work not. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We have a digital signal on PFI0.&lt;/P&gt;&lt;P&gt;They are "0" when we not to record data and "1" when we need data.&lt;/P&gt;&lt;P&gt;To start&amp;nbsp; the acquisition we want to used the "Start (Acquisition Arm) Trigger" to see in your state modell.&lt;/P&gt;&lt;P&gt;And later the "Reference Stop Trigger" to stop the acquisition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To test i have build two Threads.&lt;/P&gt;&lt;P&gt;One thread to make ready the system and make the measurment:&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;scopeSession.Timing.ConfigureTiming(10000, 10000, 0, 1, true);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;PrecisionTimeSpan triggerHoldoff = PrecisionTimeSpan.FromSeconds(20.0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;PrecisionTimeSpan triggerDelay = PrecisionTimeSpan.Zero;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;scopeSession.Trigger.ConfigureTriggerSoftware(triggerHoldoff, triggerDelay);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;scopeSession.Measurement.Initiate();&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;PrecisionTimeSpan timeout = new PrecisionTimeSpan(5.0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;AnalogWaveformCollection&amp;lt;double&amp;gt; test = new AnalogWaveformCollection&amp;lt;double&amp;gt;();&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;test = scopeSession.Channels["0,1"].Measurement.FetchDouble(timeout,6, test);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second thread to test the start trigger with:&lt;/P&gt;&lt;P&gt;scopeSession.Trigger.StartTrigger.SendSoftwareEdgeTrigger();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;End&lt;/P&gt;&lt;P&gt;I did work not.&lt;/P&gt;&lt;P&gt;And the measurment thread run and wait nothing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "StartTrigger" Thread make nothing.&lt;/P&gt;&lt;P&gt;In the &lt;SPAN&gt;&lt;A href="http://www.ni.com/download/ni-scope-.net-class-library-2.0/4468/en/" target="_blank"&gt;NI-SCOPE .NET Class Library 2.0&lt;/A&gt;&lt;/SPAN&gt; i did found not a example for StartTrigger.&lt;/P&gt;&lt;P&gt;Can you please send me a example for a test with a Starttrigger.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 May 2016 14:37:29 GMT</pubDate>
    <dc:creator>Robert1234</dc:creator>
    <dc:date>2016-05-02T14:37:29Z</dc:date>
    <item>
      <title>Multi Record Channel Example</title>
      <link>https://ni.lithium.com/t5/High-Speed-Digitizers/Multi-Record-Channel-Example/m-p/3263601#M4844</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have a NI PXIE 5122 with two Channels.&lt;/P&gt;&lt;P&gt;And i used help to synchronized the two channels&amp;nbsp;in one measurment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My test Code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;scopeSession = &lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="blue"&gt;new&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#2b91af"&gt;NIScope&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#a31515"&gt;"PXI1Slot3"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="blue"&gt;false&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="blue"&gt;false&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;);&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;scopeSession.DriverOperation.Warning += &lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="blue"&gt;new&lt;/FONT&gt; &lt;FONT face="Consolas" size="2" color="#2b91af"&gt;EventHandler&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;ScopeWarningEventArgs&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;gt;(DriverOperation_Warning);&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;scopeSession.Channels[&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#a31515"&gt;"1"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;].Enabled = &lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="blue"&gt;true&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;scopeSession.Channels[&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#a31515"&gt;"1"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;].Range = 5;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;scopeSession.Channels[&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#a31515"&gt;"0"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;].Enabled = &lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="blue"&gt;true&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;scopeSession.Channels[&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#a31515"&gt;"0"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;].Range = 5;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;scopeSession.Acquisition.SampleRateMin = frequenz;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;scopeSession.Acquisition.NumberOfPointsMin = blockLenght ;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;scopeSession.Timing.EnforceRealtime = &lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="blue"&gt;true&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;scopeSession.Timing.NumberOfRecordsToAcquire = 1;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;scopeSession.Channels[&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#a31515"&gt;"0"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;].Measurement.OtherChannel = &lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#a31515"&gt;"1"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;scopeSession.Trigger.ConfigureTriggerImmediate();&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;scopeSession.Measurement.Initiate();&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT color="#2b91af"&gt;AnalogWaveformCollection&lt;/FONT&gt;&amp;lt;&lt;FONT color="blue"&gt;double&lt;/FONT&gt;&amp;gt; waveformsLine0 = &lt;FONT color="blue"&gt;new&lt;/FONT&gt; &lt;FONT color="#2b91af"&gt;AnalogWaveformCollection&lt;/FONT&gt;&amp;lt;&lt;FONT color="blue"&gt;double&lt;/FONT&gt;&amp;gt;();&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;waveformsLine0 =scopeSession.Channels[&lt;FONT color="#a31515"&gt;"0"&lt;/FONT&gt;].Measurement.FetchArrayMeasurement(timeout, &lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT color="#2b91af"&gt;ScopeArrayMeasurementType&lt;/FONT&gt;.MultipleAcquisitionVoltageHistogram, waveformsLine0);&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;The test code work, but the give only data from Channel 0.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;And i like to have,&amp;nbsp;in&amp;nbsp;waveformsLine0, the data from&amp;nbsp;two channels.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;In the Form &lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;waveformsLine0[0]&lt;/FONT&gt;&lt;/FONT&gt;.GetScaledData(); --&amp;gt; Data Channel 0&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;waveformsLine0[1]&lt;/FONT&gt;.GetScaledData(); --&amp;gt; Data Channel 1&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please help me, and thanks&lt;/DIV&gt;&lt;DIV&gt;Robert&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Mar 2016 12:42:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/High-Speed-Digitizers/Multi-Record-Channel-Example/m-p/3263601#M4844</guid>
      <dc:creator>Robert1234</dc:creator>
      <dc:date>2016-03-07T12:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Record Channel Example</title>
      <link>https://ni.lithium.com/t5/High-Speed-Digitizers/Multi-Record-Channel-Example/m-p/3263809#M4845</link>
      <description>&lt;P&gt;Hi Robert,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What are you trying to accomplish? &amp;nbsp;Just a simple 2 channel acquisition, where the waveforms returned is the channel data? &amp;nbsp;Also, how familiar are you with the NI-SCOPE driver and NI Digitizers? &amp;nbsp; By design, both channels on the same digitizer/oscilloscope will be synchronized, because they share the same ADC sample clock (and timebase settings). &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your test code is a little strange because you are fetching measurements,&amp;nbsp;but it sounds like you want to fetch acquisiton data. &amp;nbsp;With NI-SCOPE you can fetch the waveform acquisition data, and additionally you can fetch measurement data. &amp;nbsp;A measurement fetch performs a normal waveform data fetch, but then applies some extra processing before it is returned to you. &amp;nbsp;For example, the&amp;nbsp;&lt;SPAN&gt;ScopeArrayMeasurementType.AddChannels is an array measurement function. &amp;nbsp;This function (as documented here:&amp;nbsp;&lt;A href="http://zone.ni.com/reference/en-XX/help/370592N-01/digitizers/add_channels/)," target="_blank"&gt;http://zone.ni.com/reference/en-XX/help/370592N-01/digitizers/add_channels/),&lt;/A&gt; will fetch data from both channels and perform the "Add" operation on the channels, and return the waveform array of the added channels. &amp;nbsp;This extra processing is done in the driver, after the data is fetched from the device. &amp;nbsp;For examples on the differences, see the C# examples "ConfiguredAcquisition", which shows acquisition fetching, and "AdvancedMeasurementLibrary" which show fetching processed measurements. &amp;nbsp;For a list of all the measurements you can perform see:&amp;nbsp;&lt;A href="http://zone.ni.com/reference/en-XX/help/370592N-01/TOC140.htm" target="_blank"&gt;http://zone.ni.com/reference/en-XX/help/370592N-01/TOC140.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So in summary, the code you wrote is fetching processed acquisition data called measurements, and from the sound of your acquisition, you will want to fetch acquired data. &amp;nbsp;To understand the calls you are performing, you need to understand the NI-SCOPE driver programming flow.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://zone.ni.com/reference/en-XX/help/370592N-01/digitizers/programming_flow/" target="_blank"&gt;http://zone.ni.com/reference/en-XX/help/370592N-01/digitizers/programming_flow/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://zone.ni.com/reference/en-XX/help/370592N-01/digitizers/acquisition_functions/" target="_blank"&gt;http://zone.ni.com/reference/en-XX/help/370592N-01/digitizers/acquisition_functions/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://zone.ni.com/reference/en-XX/help/370592N-01/TOC131.htm" target="_blank"&gt;http://zone.ni.com/reference/en-XX/help/370592N-01/TOC131.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For reference, the above links are from the help file, and contrast with the Waveform Measurement functions here:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://zone.ni.com/reference/en-XX/help/370592N-01/TOC134.htm" target="_blank"&gt;http://zone.ni.com/reference/en-XX/help/370592N-01/TOC134.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In summary, I think the code you need is this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT color="#2b91af"&gt;AnalogWaveformCollection&lt;/FONT&gt;&amp;lt;&lt;FONT color="blue"&gt;double&lt;/FONT&gt;&amp;gt; waveformsLine0 =&amp;nbsp;&lt;FONT color="blue"&gt;null;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;scopeSession.Measurement.Initiate();&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;waveformsLine0 =scopeSession.Channels[&lt;FONT color="#a31515"&gt;"0,1"&lt;/FONT&gt;].Measurement.FetchDouble(timeout, -1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, waveformsLine0);&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead of fetching waveform measurements, we are fetching the acquired data, directly from the digitizer without post-processing. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So in your code, you are doing a Voltage Histogram measurement, and if this is what you want to do, then this line of code is the one you need to change. &amp;nbsp;This line states fetch a measurement from channel "0".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;waveformsLine0 =scopeSession.Channels[&lt;FONT color="#a31515"&gt;"0"&lt;/FONT&gt;].Measurement.FetchArrayMeasurement(timeout,&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT color="#2b91af"&gt;ScopeArrayMeasurementType&lt;/FONT&gt;.MultipleAcquisitionVoltageHistogram, waveformsLine0);&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;So if you want to fetch data from channel "0" and "1", then the channels string should be "0,1":&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;waveformsLine0 =scopeSession.Channels[&lt;FONT color="#a31515"&gt;"0,1"&lt;/FONT&gt;].Measurement.FetchArrayMeasurement(timeout,&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT color="#2b91af"&gt;ScopeArrayMeasurementType&lt;/FONT&gt;.MultipleAcquisitionVoltageHistogram, waveformsLine0);&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;I hope this helps, if you have further questions on how the driver works, I highly reccomend the help file as the first place to look.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Nathan&lt;/FONT&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Mar 2016 16:28:33 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/High-Speed-Digitizers/Multi-Record-Channel-Example/m-p/3263809#M4845</guid>
      <dc:creator>Nathan-P</dc:creator>
      <dc:date>2016-03-07T16:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Record Channel Example</title>
      <link>https://ni.lithium.com/t5/High-Speed-Digitizers/Multi-Record-Channel-Example/m-p/3264413#M4846</link>
      <description>&lt;P&gt;Hello Nathan-P,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very mutch. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was the code I need to finish my question:&lt;/P&gt;&lt;P&gt;waveformsLine0 = scopeSession.Channels["0,1"].Measurement.FetchDouble(timeout, -1, waveformsLine0);&lt;/P&gt;&lt;P&gt;And now I get synchrony my data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This help was very good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And maybe you can help me again.&lt;/P&gt;&lt;P&gt;The scope card I have is a PXIE 5122.&lt;/P&gt;&lt;P&gt;The have two input channels and one trigger channel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I like to configure the trigger channel to the StartTrigger?&lt;/P&gt;&lt;P&gt;How I program this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The trigger input signal is zero on start the acquisition.&lt;/P&gt;&lt;P&gt;I started the program in form of this code:&lt;/P&gt;&lt;P&gt;waveformsLine0 = scopeSession.Channels["0,1"].Measurement.FetchDouble(timeout, -1, waveformsLine0);&lt;/P&gt;&lt;P&gt;And 20 seconds later the trigger input signal goes on 5V.&lt;/P&gt;&lt;P&gt;Then started the acquisition and the get 40&amp;nbsp;ms because my&lt;/P&gt;&lt;P&gt;scopeSession.Acquisition.NumberOfPointsMin is long enough.&lt;/P&gt;&lt;P&gt;And after the buffer is fill then I get the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know:&lt;/P&gt;&lt;P&gt;I have the start trigger on this form&lt;/P&gt;&lt;P&gt;scopeSession.Trigger.StartTrigger&lt;/P&gt;&lt;P&gt;But how I can configure on input line trigger?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me, and thanks&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 15:25:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/High-Speed-Digitizers/Multi-Record-Channel-Example/m-p/3264413#M4846</guid>
      <dc:creator>Robert1234</dc:creator>
      <dc:date>2016-03-08T15:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Record Channel Example</title>
      <link>https://ni.lithium.com/t5/High-Speed-Digitizers/Multi-Record-Channel-Example/m-p/3264508#M4847</link>
      <description>&lt;P&gt;Hi Robert,&lt;/P&gt;
&lt;P&gt;I am unsure of exactly what you are attempting to do. &amp;nbsp;There is a difference between Start Triggers and Reference Triggers. &amp;nbsp;The TRIG BNC connector can only be used for Reference Triggers. &amp;nbsp;Start Triggers can also only come from digital events, so externally on the PXI_Trig lines or the PFI 0 or PFI 1 lines. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The TRIG input channel is an analog channel, and how the firmware of NI Digitizers/oscilloscopes works is that the Start trigger prevents the ADCs from sampling until after this event occurs. &amp;nbsp;Since the Start trigger gates the acquisition of analog data, analog triggers cannot be used for the Start Trigger, only digital signals. &amp;nbsp;For more information see: &amp;nbsp;&lt;A href="http://zone.ni.com/reference/en-XX/help/370592Y-01/digitizers/5122_state_model/" target="_blank"&gt;http://zone.ni.com/reference/en-XX/help/370592Y-01/digitizers/5122_state_model/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/456c41e3d810f000e5f6e6a6e1069f3bced79425/687474703a2f2f7a6f6e652e6e692e636f6d2f696d616765732f7265666572656e63652f656e2d58582f68656c702f333730353932592d30312f6c6f635f6570735f6e692d353132322d6d6f64656c2d6469616772616d2e676966" border="0" alt="" title="" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For an example of how to configure reference triggering I reccomend you look at the c# example "ConfiguredAcquisition", as this shows how to implement both digital triggers and analog triggers. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps!&lt;/P&gt;
&lt;P&gt;Nathan P.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 17:09:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/High-Speed-Digitizers/Multi-Record-Channel-Example/m-p/3264508#M4847</guid>
      <dc:creator>Nathan-P</dc:creator>
      <dc:date>2016-03-08T17:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Record Channel Example</title>
      <link>https://ni.lithium.com/t5/High-Speed-Digitizers/Multi-Record-Channel-Example/m-p/3289931#M4875</link>
      <description>&lt;P&gt;Hello Nathan-P,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sorry for not answer, but we hat not a test system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And now i can test but it work not. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We have a digital signal on PFI0.&lt;/P&gt;&lt;P&gt;They are "0" when we not to record data and "1" when we need data.&lt;/P&gt;&lt;P&gt;To start&amp;nbsp; the acquisition we want to used the "Start (Acquisition Arm) Trigger" to see in your state modell.&lt;/P&gt;&lt;P&gt;And later the "Reference Stop Trigger" to stop the acquisition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To test i have build two Threads.&lt;/P&gt;&lt;P&gt;One thread to make ready the system and make the measurment:&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;scopeSession.Timing.ConfigureTiming(10000, 10000, 0, 1, true);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;PrecisionTimeSpan triggerHoldoff = PrecisionTimeSpan.FromSeconds(20.0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;PrecisionTimeSpan triggerDelay = PrecisionTimeSpan.Zero;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;scopeSession.Trigger.ConfigureTriggerSoftware(triggerHoldoff, triggerDelay);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;scopeSession.Measurement.Initiate();&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;PrecisionTimeSpan timeout = new PrecisionTimeSpan(5.0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;AnalogWaveformCollection&amp;lt;double&amp;gt; test = new AnalogWaveformCollection&amp;lt;double&amp;gt;();&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;test = scopeSession.Channels["0,1"].Measurement.FetchDouble(timeout,6, test);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second thread to test the start trigger with:&lt;/P&gt;&lt;P&gt;scopeSession.Trigger.StartTrigger.SendSoftwareEdgeTrigger();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;End&lt;/P&gt;&lt;P&gt;I did work not.&lt;/P&gt;&lt;P&gt;And the measurment thread run and wait nothing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "StartTrigger" Thread make nothing.&lt;/P&gt;&lt;P&gt;In the &lt;SPAN&gt;&lt;A href="http://www.ni.com/download/ni-scope-.net-class-library-2.0/4468/en/" target="_blank"&gt;NI-SCOPE .NET Class Library 2.0&lt;/A&gt;&lt;/SPAN&gt; i did found not a example for StartTrigger.&lt;/P&gt;&lt;P&gt;Can you please send me a example for a test with a Starttrigger.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 14:37:29 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/High-Speed-Digitizers/Multi-Record-Channel-Example/m-p/3289931#M4875</guid>
      <dc:creator>Robert1234</dc:creator>
      <dc:date>2016-05-02T14:37:29Z</dc:date>
    </item>
  </channel>
</rss>

