<?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: mutiple pulse modulation in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/303570#M158181</link>
    <description>&lt;P&gt;Tom,&lt;/P&gt;
&lt;P&gt;Thank you for taking the time toshow me how to do that. I didn't have time to look at it too much, all I did was test it against 5 and 0 VDC and that worked. I'll test it against a clock signal and see how fast it can record the data. &lt;/P&gt;
&lt;P&gt;Happy Holidays,&lt;/P&gt;
&lt;P&gt;James&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 23 Dec 2005 15:28:23 GMT</pubDate>
    <dc:creator>James3</dc:creator>
    <dc:date>2005-12-23T15:28:23Z</dc:date>
    <item>
      <title>mutiple pulse modulation</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302116#M157588</link>
      <description>&lt;DIV&gt;Hello,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I am looking for a way to create multiple PWM signals using a NI-6254 DAQ and labview 7.1. For now I would like to create 8 unique digital signals that I have control over the pulse width. I noticed this card has 2 counter outputs and this works well, however I need 8 signals. Is it possible to use one counter signal and then route that to 8 pfi pins? After I do this would I be able to manipulate this signal independantly. By this I mean each of the eight signals could have a different pulse width. If this is not possible would anybody have an idea on how I could accomplish this task? &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;James&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Dec 2005 18:58:00 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302116#M157588</guid>
      <dc:creator>James3</dc:creator>
      <dc:date>2005-12-20T18:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple pulse modulation</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302126#M157594</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;I forgot to mention that I have MATLAB at my disposal, maybe I could create a script to create a pusle width modulated signal? &lt;/P&gt;
&lt;P&gt;Just throwing ideas around. As of riht now I am not too concerned about accuracy.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2005 19:20:12 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302126#M157594</guid>
      <dc:creator>James3</dc:creator>
      <dc:date>2005-12-20T19:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple pulse modulation</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302610#M157801</link>
      <description>&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;Hi James-&lt;/P&gt;
&lt;P&gt;It's not possible to route the counters to multiple pins and then control them independently- you only have two sets of counter hardware at your disposal, so you'll only be able to create two PWM signals at one time.&amp;nbsp; Your best bet would be to use a card with eight counters such as the &lt;A href="https://www.ni.com/en-us/support/model.pci-6602.html" target="_blank" rel="noopener"&gt;PCI-6602&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;You could use the correlated digital output capabilities of your board to generate a PWM signal, but the updates to freq/duty cycle would be non-deterministic.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hopefully this helps-&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2026 16:02:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302610#M157801</guid>
      <dc:creator>Tom_W_[DE]</dc:creator>
      <dc:date>2026-04-07T16:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple pulse modulation</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302649#M157820</link>
      <description>&lt;DIV&gt;Tom,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks for the reply. That's what I thought, I didn't know if there was a clever way around it. I can't get a different card because this is for a school project so I have to think of a way around this. Currently I am thinking about using a LMD1825 motor driver. I think that chip and the DAQ will work well together. According to the data sheet one can use digital signals to control the pulse width. I'll post my results after I get the IC in and play around with it. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks again.&lt;/DIV&gt;
&lt;DIV&gt;James&lt;/DIV&gt;</description>
      <pubDate>Wed, 21 Dec 2005 17:39:30 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302649#M157820</guid>
      <dc:creator>James3</dc:creator>
      <dc:date>2005-12-21T17:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple pulse modulation</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302658#M157823</link>
      <description>&lt;DIV&gt;Hi James-&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;The external IC may be the quickest way to reach your goal- please keep us posted on your progress and if you have any additional questions.&amp;nbsp; Best of luck&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://ni.lithium.com/i/smilies/16x16_smiley-happy.gif" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 21 Dec 2005 17:46:00 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302658#M157823</guid>
      <dc:creator>Tom_W_[DE]</dc:creator>
      <dc:date>2005-12-21T17:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple pulse modulation</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302663#M157824</link>
      <description>&lt;DIV&gt;I am looking now for a way to read ttl voltage levels and reconize them as boolean values on an analog input. Is this possible?&amp;nbsp;So what I have are digital signals, but I want to read them on a designated analog input on the DAQ and then convert the signal to a boolean value within labview and analyze that data. Has this been done before? Is this something worth trying?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks for the fast responses!&lt;/DIV&gt;
&lt;DIV&gt;James&lt;/DIV&gt;</description>
      <pubDate>Wed, 21 Dec 2005 17:53:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302663#M157824</guid>
      <dc:creator>James3</dc:creator>
      <dc:date>2005-12-21T17:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple pulse modulation</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302664#M157825</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi James-&lt;/P&gt;
&lt;P&gt;Is there a reason why you don't want to use the digital input lines on your device to accomplish this?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2005 17:55:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302664#M157825</guid>
      <dc:creator>Tom_W_[DE]</dc:creator>
      <dc:date>2005-12-21T17:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple pulse modulation</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302666#M157827</link>
      <description>&lt;DIV&gt;Yes, I would be using the digital signals as outputs.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;James&lt;/DIV&gt;</description>
      <pubDate>Wed, 21 Dec 2005 17:59:15 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302666#M157827</guid>
      <dc:creator>James3</dc:creator>
      <dc:date>2005-12-21T17:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple pulse modulation</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302672#M157830</link>
      <description>&lt;P&gt;Hi James-&lt;/P&gt;
&lt;P&gt;The quickest method I can think of is to just specify a logic threshold division and then check to see if you are above or below that level.&amp;nbsp; I have attached a VI that shows how this might be done; you may want to add a VIH and VIL (rather than a simple threshold) check in order to define a deadband in your AI signal.&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 21 Dec 2005 18:08:54 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302672#M157830</guid>
      <dc:creator>Tom_W_[DE]</dc:creator>
      <dc:date>2005-12-21T18:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple pulse modulation</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302676#M157832</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Tom,&lt;/P&gt;
&lt;P&gt;Excellent! I donnot have access to&amp;nbsp;a machine with labview until later today so I cannot play around with it until then. But I'll let you know how things go, from what you say it sounds like it would work for what I am trying to do.&lt;/P&gt;
&lt;P&gt;Thanks again!&lt;/P&gt;
&lt;P&gt;James&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2005 18:14:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302676#M157832</guid>
      <dc:creator>James3</dc:creator>
      <dc:date>2005-12-21T18:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple pulse modulation</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302677#M157833</link>
      <description>&lt;P&gt;Hi James-&lt;/P&gt;
&lt;P&gt;Glad to help- let us know if this doesn't work out for you.&lt;/P&gt;
&lt;P&gt;Thanks-&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 21 Dec 2005 18:16:04 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302677#M157833</guid>
      <dc:creator>Tom_W_[DE]</dc:creator>
      <dc:date>2005-12-21T18:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple pulse modulation</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302875#M157936</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;I tried the VI and didn't see what I hoped. I didnt see the digital state turn high until I set the logic threshold to -6 (-5.279 after playing around with it more). Originally I had it&amp;nbsp;set to 0. I am sending +5VDC and the level never changes. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;I am using dev1/ai0. I have pin 67 connected to gnd (the AI gnd) and I also have pine AI sense connected to gnd. I also tried it with and without apfi 0 connected to gnd. Do know why I see this? &lt;/P&gt;
&lt;P&gt;Thanks again Tom,&lt;/P&gt;
&lt;P&gt;James&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2005 04:00:38 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/302875#M157936</guid>
      <dc:creator>James3</dc:creator>
      <dc:date>2005-12-22T04:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple pulse modulation</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/303212#M158031</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi James-&lt;/P&gt;
&lt;P&gt;Let me make sure we are using the same connections:&amp;nbsp; you should have the positive terminal of your source wired to pin 68 (ai0 input) and the negative terminal of your source wired to pin 67 (AIGND).&amp;nbsp; I noticed that I did not specify the RSE terminal configuration directly in my earlier post, so I have modified the VI to force it to use RSE terminal configuration.&lt;/P&gt;
&lt;P&gt;When you wire a DC source I would not expect any change in the indicator; you will need to test with a source that slowly oscillates above and below the logic level to see any change on the indicator.&amp;nbsp; Let me know if you're not able to see better results-&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2005 16:23:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/303212#M158031</guid>
      <dc:creator>Tom_W_[DE]</dc:creator>
      <dc:date>2005-12-22T16:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple pulse modulation</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/303570#M158181</link>
      <description>&lt;P&gt;Tom,&lt;/P&gt;
&lt;P&gt;Thank you for taking the time toshow me how to do that. I didn't have time to look at it too much, all I did was test it against 5 and 0 VDC and that worked. I'll test it against a clock signal and see how fast it can record the data. &lt;/P&gt;
&lt;P&gt;Happy Holidays,&lt;/P&gt;
&lt;P&gt;James&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 23 Dec 2005 15:28:23 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/303570#M158181</guid>
      <dc:creator>James3</dc:creator>
      <dc:date>2005-12-23T15:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple pulse modulation</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/304028#M158381</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi James-&lt;/P&gt;
&lt;P&gt;That sounds promising- let us know if you're still running into problems.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2005 17:28:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/304028#M158381</guid>
      <dc:creator>Tom_W_[DE]</dc:creator>
      <dc:date>2005-12-27T17:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple pulse modulation</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/359940#M182718</link>
      <description>&lt;DIV&gt;Hi James!&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Did you acomplish your aims with the programme? Seems like I´m having almost the same problem, although in my case I only have to control 4 digital Outs so that I don´t need the analog INs...&lt;/DIV&gt;
&lt;DIV&gt;Would you mind sharing your knowledge with me? The problem is that I´m almost a complete Labview-Starter and don´t know that much about digital signal processing.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;Thank you in advance,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Alex&lt;/DIV&gt;</description>
      <pubDate>Wed, 03 May 2006 09:23:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/359940#M182718</guid>
      <dc:creator>alex_bcn@fantasymail.de</dc:creator>
      <dc:date>2006-05-03T09:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple pulse modulation</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/360316#M182870</link>
      <description>&lt;P class="MsoNormal"&gt;Alex,&lt;BR /&gt;
&lt;BR /&gt;
I did accomplish what I set out to do. I don't quite understand what you are
trying to do though. What DAQ card do you have, as I understand they are all
different. I needed 8 timers, my card only had 2 so I used different hardware
to achieve my goal. Let me know what exactly you are trying to do and I might
have a suggestion. If you only have to control 4 digital outputs that program
should be very very easy....&lt;BR /&gt;
&lt;BR /&gt;
Best of luck&lt;BR /&gt;
&lt;BR /&gt;
James&lt;/P&gt;

&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 03 May 2006 19:02:10 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/360316#M182870</guid>
      <dc:creator>James3</dc:creator>
      <dc:date>2006-05-03T19:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple pulse modulation</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/361744#M183489</link>
      <description>&lt;DIV&gt;Hi James,&lt;BR /&gt;&lt;BR /&gt;I have got an PCI 6254 and the aim is to generate 4 (better: 6) digital rectangular signals with pulse width modulation. That is, it should be possible to adjust frequency, duty-cycle and time seperation between these signals for each one. I think that task may not be that difficult, but I´m new in LabView and DAQ so I need some hints or an example. I would be pleased if you could send me a copy or part of your progamm in order to try it out on my system.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;&lt;BR /&gt;Alex&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 May 2006 06:41:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/361744#M183489</guid>
      <dc:creator>alex_bcn@fantasymail.de</dc:creator>
      <dc:date>2006-05-08T06:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple pulse modulation</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/364579#M184639</link>
      <description>&lt;DIV&gt;Alex,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I looked at the data sheet for your card and it says that you only have two counter timers. If you have the option to purchase a card with more counter timers I would recommend that. If not then you could use software to compute your PWM signal, but this is not a good way to accomplish what you are trying to do if accuracy is an issue. What I did was I found an IC (LMD18245) that created a PWM based on an RC pair and a binary number. What exactly are you using the PWM signal for?? Keep searching the net and using the Labview software. Good luck, hope this helps.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;James&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 May 2006 16:14:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/364579#M184639</guid>
      <dc:creator>James3</dc:creator>
      <dc:date>2006-05-12T16:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple pulse modulation</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/365440#M184976</link>
      <description>&lt;P data-unlink="true"&gt;Hello James,&lt;BR /&gt;&lt;BR /&gt;The best way to generate digital pulse trains for PWM applications is using the counters on your DAQ device.&amp;nbsp; Alex is right when he states that your PCI-6254 device has two counters on the card, so you are limited to generating two simultaneous pulse trains with this device.&amp;nbsp; If you are looking for a device with more counters, National Instruments sells dedicated counter/timer devices that contain up to 8 counters per card.&amp;nbsp; Take a look at this comparison chart&amp;nbsp;to see the different channel counts and specifications for the counter/timer series devices.&lt;BR /&gt;&lt;BR /&gt;You can use the same program to implement PWM using the DAQmx driver with your PCI-6254 M Series device or with one of the counter/timer devices.&amp;nbsp; Here is an example program that shows how to change the pulse specs of your pulse train on the fly in terms of duty cycle and frequency.&amp;nbsp; I hope this helps!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Travis G.&lt;BR /&gt;Applications Engineering&lt;BR /&gt;National Instruments&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Jun 2024 17:31:46 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mutiple-pulse-modulation/m-p/365440#M184976</guid>
      <dc:creator>Travis G.</dc:creator>
      <dc:date>2024-06-04T17:31:46Z</dc:date>
    </item>
  </channel>
</rss>

