<?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: external trigger analog input 6015 in Multifunction DAQ</title>
    <link>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/975326#M51549</link>
    <description>&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The 6015 has a single AI timing engine, so you can only run one AI task at a time. You can run multiple DIO tasks simultaneously provided that they are all using different DIO lines. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for whether to put different tasks in different classes, that depends on your application and is entirely up to you. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brad &lt;/P&gt;</description>
    <pubDate>Mon, 31 Aug 2009 16:56:05 GMT</pubDate>
    <dc:creator>Brad_K</dc:creator>
    <dc:date>2009-08-31T16:56:05Z</dc:date>
    <item>
      <title>external trigger analog input 6015</title>
      <link>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/968732#M51339</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been able to setup my 6015 to accept an external trigger to start an analog input measurement (with a set # of samples and freq).&amp;nbsp; However, what i would like to do is to set it up so i can send a 20kHZ signal to the trigger, and each time the trigger detects the signal, the device would take one voltage measurement from each of two channels.&amp;nbsp; it would then save this on board memory and allow me to read the data later.&amp;nbsp; this is what i can not figure out how to do. &lt;/P&gt;&lt;P&gt;if it set it up such that i have an asynch callback and read the data after each pulse, this takes too long in my application.&amp;nbsp; I want to get a measurement for each external trigger pulse (the freq might vary higher or lower, so that is why i can not just set a freq - i need to use the trigger) and have this data saved in memory on the board for me to grab later.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can this be done with the 6015?&amp;nbsp; another board?&amp;nbsp; if so, can you please show some code snippets in either VB.NET or C#.NET?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2009 13:20:12 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/968732#M51339</guid>
      <dc:creator>jtaki</dc:creator>
      <dc:date>2009-08-20T13:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: external trigger analog input 6015</title>
      <link>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/968978#M51349</link>
      <description>&lt;P&gt;Hi Joe,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It sounds like you need to use an external sample clock, not an external start trigger. NI-DAQmx includes a VB.NET/C# example of this: Analog In\Measure Voltage\AcqVoltageSamples_ExtClk. &lt;A href="https://www.ni.com/en/support/documentation/supplemental/18/ni-daqmx--ni-visa-and-ni-488-2--net-example-locations.html" target="_self"&gt;NI-DAQmx, NI-VISA and NI-488.2 .NET Example Locations&lt;/A&gt; explains where to find the NI-DAQmx .NET examples.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since the sample clock rate will vary over time, be certain to tell NI-DAQmx the highest expected rate, so that the AI convert clock rate it chooses (used to multiplex the channels onto the 6015's one ADC) will be fast enough. Also, note that the 6015 doesn't have a very large buffer, so NI-DAQmx will transfer the samples into a buffer in your PC's memory as they are acquired.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Brad&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2025 02:43:23 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/968978#M51349</guid>
      <dc:creator>Brad_K</dc:creator>
      <dc:date>2025-10-30T02:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: external trigger analog input 6015</title>
      <link>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/969194#M51363</link>
      <description>&lt;P&gt;Brad,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for the info.&amp;nbsp; you are correct: the external clock would be better.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i am reading the sample code&amp;nbsp;correctly, i can start the reading of the waveform with a desired number of samples per channel.&amp;nbsp; Does this mean that it will take this many samples per channel for every clock signal it gets, or does it mean that this will be the number of clock signals it reads until the call back is executed?&amp;nbsp; If it is the latter, that that is great.&amp;nbsp; If the former, then i still have a timing problem.&amp;nbsp; to grab the data in the callback from each clock signal, then start the read again in the call back will be too slow.&amp;nbsp; i dont think the code could keep up with the clock signals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;(by the way, the example program description at the top says that it re-starts the waveform read again in the callback, but this is actually missing from the code in the callback).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2009 22:35:30 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/969194#M51363</guid>
      <dc:creator>jtaki</dc:creator>
      <dc:date>2009-08-20T22:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: external trigger analog input 6015</title>
      <link>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/969203#M51364</link>
      <description>&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The latter is correct. When the task is running, every time the 6015 detects a rising edge on the sample clock source, it will acquire one data point from each channel in the task. After samplesPerChannelNumeric.Value edges are detected, it will stop acquiring data. Since this is a hardware timed acquisition, you should not have any trouble keeping up with a 20 kHz clock. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for pointing out the error in the example program description. The part about re-starting the waveform read may have been copied from one of the continuous examples (such as ContAcqVoltageSamples_IntClk). I'll create a corrective action request so we fix the descriptions. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brad &lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2009 22:49:00 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/969203#M51364</guid>
      <dc:creator>Brad_K</dc:creator>
      <dc:date>2009-08-20T22:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: external trigger analog input 6015</title>
      <link>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/969619#M51372</link>
      <description>&lt;P&gt;Brad,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That sounds great.&amp;nbsp; I think this will work very well for me: i will give it a try over the next few days.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You mentioned that the buffer on the 6015 is not very large so it will copy to the PC's memory.&amp;nbsp; Since this is a USB device, will this affect my timing at all?&amp;nbsp; ( i am guessing the acquisition of the voltages triggered by the ext clock will not be affected).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would i be better off using a PCI card?&amp;nbsp; If so, do you have a suggestion?&amp;nbsp; i need the 16 bit analog in, with at least the 200kS/s the 6015 has.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2009 14:10:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/969619#M51372</guid>
      <dc:creator>jtaki</dc:creator>
      <dc:date>2009-08-21T14:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: external trigger analog input 6015</title>
      <link>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/969747#M51376</link>
      <description>&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think your application should work fine with the 6015. I only mentioned the buffer size because your previous post said "I want to ... have this data saved in memory on the board for me to grab later," and most of the devices supported in NI-DAQmx (including the 6015, PCI E Series, PCI M Series, and the new PCIe X Series) do not work this way. They continuously transfer data to a buffer in the host PC's memory throughout the acquisition, and they have enough onboard buffer to avoid buffer overflow/underflow errors at their maximum supported rates &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brad &lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2009 16:25:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/969747#M51376</guid>
      <dc:creator>Brad_K</dc:creator>
      <dc:date>2009-08-21T16:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: external trigger analog input 6015</title>
      <link>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/973615#M51480</link>
      <description>&lt;P&gt;Thanks Brad.&amp;nbsp; Everything is working as you said...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2009 17:09:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/973615#M51480</guid>
      <dc:creator>jtaki</dc:creator>
      <dc:date>2009-08-27T17:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: external trigger analog input 6015</title>
      <link>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/974746#M51519</link>
      <description>&lt;P&gt;another question...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what is the preferred structure/archetecture if i have multiple readers/writers: is it ok to create as many tasks as needed, or should they all be under one task?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example, if i have a multichannel reader that reads voltages with no external trigger, and i also have one that reads waveforms with the external clock, and i also have the digital inputs and outputs i am reading/writing.&amp;nbsp; should they all be in one class with one task?&amp;nbsp; one class with multiple tasks?&amp;nbsp; can i hvae multiple instances of the classes, or will this cause a hardware resource conflict?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;just looking for the preferred architecture.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Sat, 29 Aug 2009 18:10:39 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/974746#M51519</guid>
      <dc:creator>jtaki</dc:creator>
      <dc:date>2009-08-29T18:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: external trigger analog input 6015</title>
      <link>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/975326#M51549</link>
      <description>&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The 6015 has a single AI timing engine, so you can only run one AI task at a time. You can run multiple DIO tasks simultaneously provided that they are all using different DIO lines. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for whether to put different tasks in different classes, that depends on your application and is entirely up to you. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brad &lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2009 16:56:05 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/975326#M51549</guid>
      <dc:creator>Brad_K</dc:creator>
      <dc:date>2009-08-31T16:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: external trigger analog input 6015</title>
      <link>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/975413#M51552</link>
      <description>&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by EEsRULEtheWORLD on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 08-31-2009&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 01:52 PM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 31 Aug 2009 18:52:28 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/975413#M51552</guid>
      <dc:creator>EEsRULEtheWORLD</dc:creator>
      <dc:date>2009-08-31T18:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: external trigger analog input 6015</title>
      <link>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/977508#M51654</link>
      <description>&lt;P&gt;Thanks Brad.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is another issue i had:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i modified the example program "&lt;FONT size="2" color="#008000"&gt;&lt;FONT size="2" color="#008000"&gt;AcqVoltageSamples_IntClk" to have three channels to read from.&amp;nbsp; i found that if i create the channels in this order, the data is correct:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT size="2"&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;&lt;FONT size="2" color="#008000"&gt;// Create a channel&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;myTask.AIChannels.CreateVoltageChannel(&lt;/FONT&gt;&lt;FONT size="2" color="#a31515"&gt;&lt;FONT size="2" color="#a31515"&gt;"Dev1/ai0"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;, &lt;/FONT&gt;&lt;FONT size="2" color="#a31515"&gt;&lt;FONT size="2" color="#a31515"&gt;""&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;, &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;AITerminalConfiguration&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.Nrse, &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;Convert&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.ToDouble(0), &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;Convert&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.ToDouble(10), &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;AIVoltageUnits&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.Volts);&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;P&gt;myTask.AIChannels.CreateVoltageChannel(&lt;FONT size="2" color="#a31515"&gt;&lt;FONT size="2" color="#a31515"&gt;"Dev1/ai1"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;, &lt;/FONT&gt;&lt;FONT size="2" color="#a31515"&gt;&lt;FONT size="2" color="#a31515"&gt;""&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;, &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;AITerminalConfiguration&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.Nrse, &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;Convert&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.ToDouble(-5), &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;Convert&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.ToDouble(5), &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;AIVoltageUnits&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.Volts);myTask.AIChannels.CreateVoltageChannel(&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2" color="#a31515"&gt;&lt;FONT size="2" color="#a31515"&gt;"Dev1/ai2"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;, &lt;/FONT&gt;&lt;FONT size="2" color="#a31515"&gt;&lt;FONT size="2" color="#a31515"&gt;""&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;, &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;AITerminalConfiguration&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.Nrse, &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;Convert&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.ToDouble(-5), &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;Convert&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.ToDouble(5), &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;AIVoltageUnits&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.Volts);&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;P&gt;&lt;FONT size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT size="2" color="#008000"&gt;&lt;FONT size="2" color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;however, if i create them in this order (the only change):&lt;/FONT&gt;&lt;/P&gt;&lt;FONT size="2"&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;&lt;FONT size="2" color="#008000"&gt;// Create a channel&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;myTask.AIChannels.CreateVoltageChannel(&lt;/FONT&gt;&lt;FONT size="2" color="#a31515"&gt;&lt;FONT size="2" color="#a31515"&gt;"Dev1/ai2"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;, &lt;/FONT&gt;&lt;FONT size="2" color="#a31515"&gt;&lt;FONT size="2" color="#a31515"&gt;""&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;, &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;AITerminalConfiguration&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.Nrse, &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;Convert&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.ToDouble(-5), &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;Convert&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.ToDouble(5), &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;AIVoltageUnits&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.Volts);&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;P&gt;myTask.AIChannels.CreateVoltageChannel(&lt;FONT size="2" color="#a31515"&gt;&lt;FONT size="2" color="#a31515"&gt;"Dev1/ai1"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;, &lt;/FONT&gt;&lt;FONT size="2" color="#a31515"&gt;&lt;FONT size="2" color="#a31515"&gt;""&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;, &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;AITerminalConfiguration&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.Nrse, &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;Convert&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.ToDouble(-5), &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;Convert&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.ToDouble(5), &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;AIVoltageUnits&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.Volts);myTask.AIChannels.CreateVoltageChannel(&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2" color="#a31515"&gt;&lt;FONT size="2" color="#a31515"&gt;"Dev1/ai0"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;, &lt;/FONT&gt;&lt;FONT size="2" color="#a31515"&gt;&lt;FONT size="2" color="#a31515"&gt;""&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;, &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;AITerminalConfiguration&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.Nrse, &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;Convert&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.ToDouble(0), &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;Convert&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.ToDouble(10), &lt;/FONT&gt;&lt;FONT size="2" color="#2b91af"&gt;&lt;FONT size="2" color="#2b91af"&gt;AIVoltageUnits&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;.Volts);&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;P&gt;&lt;FONT size="2" color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;then the data i get for my channel "Dev1/ai2" is incorrect.&amp;nbsp; specifically, if i read&amp;nbsp;4 samples, it would read the following for the following samples:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;-3.09&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;-3.56&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;-3.92&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;-4.14&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;when i create the channels in the first order, the data is correct (verified with my scope)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;-3.09&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;-3.09&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;-3.09&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;-3.09&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;Now, if in the first case, where the voltages are incorrect, i read these using a rate of 100,000.&amp;nbsp; if i lower this to 1000, then the results are more correct, but still not exact.&amp;nbsp; Am i oversampling, but is dependant on the order of creating the channels?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;i am actually going to switch to a PCI 6122, thus maybe this wouldnt be an issue due to the 4 A/D channels??&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;1. any ideas on why the order of creating the channels for the 6015/6016 matters?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;2. will it matter for the 6122?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;thanks,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;Joe&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2009 13:09:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/977508#M51654</guid>
      <dc:creator>jtaki</dc:creator>
      <dc:date>2009-09-03T13:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: external trigger analog input 6015</title>
      <link>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/977527#M51656</link>
      <description>&lt;P&gt;Actually, i have now found that it is not really the order, but only the last one created works correctly.&amp;nbsp; i applied a voltage to the other two channels, and the first and second channel always have the problem, but the third channel is correct.&amp;nbsp; i can mix up the order in any way and it always works that the last one is the only correct one...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;???/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2009 13:30:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/977527#M51656</guid>
      <dc:creator>jtaki</dc:creator>
      <dc:date>2009-09-03T13:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: external trigger analog input 6015</title>
      <link>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/977715#M51672</link>
      <description>&lt;P&gt;Hi Joe,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The sample rate and channel order dependence make it sound like you may be seeing ghosting. &lt;A href="https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YHy6CAG&amp;amp;l=en-US" target="_self"&gt;How Do I Eliminate Ghosting From My Measurements? &lt;/A&gt;has more information on what causes this problem and how to resolve it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ghosting is not an issue for the PCI-6122 due to its per-channel ADCs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Brad&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2025 02:43:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/977715#M51672</guid>
      <dc:creator>Brad_K</dc:creator>
      <dc:date>2025-10-30T02:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: external trigger analog input 6015</title>
      <link>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/977876#M51677</link>
      <description>&lt;P&gt;&lt;FONT face="Times New Roman" size="3" color="#000000"&gt;that sounds like exactly it.&amp;nbsp; thanks.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Times New Roman" size="3" color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Times New Roman" size="3" color="#000000"&gt;i will lower my sample rate until i get my 6122.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Times New Roman" size="3" color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Times New Roman" size="3" color="#000000"&gt;Joe&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2009 18:34:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Multifunction-DAQ/external-trigger-analog-input-6015/m-p/977876#M51677</guid>
      <dc:creator>jtaki</dc:creator>
      <dc:date>2009-09-03T18:34:44Z</dc:date>
    </item>
  </channel>
</rss>

