<?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: Q Encoder in LabVIEW</title>
    <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324589#M974792</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/343467"&gt;@Ambrose1464&lt;/a&gt; wrote:&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;First i want to sorry about i din mention FPGA. I want to take digital input Channel A and B have 3 digital outputs X1, X2 X4. That I still have problem to build the encoder. No idea how to build out. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Here is a good place to start&amp;nbsp;&lt;A href="https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x1riCAA&amp;amp;l=en-US" target="_self"&gt;Encoder Measurements: How-To Guide&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jul 2024 20:27:39 GMT</pubDate>
    <dc:creator>RTSLVU</dc:creator>
    <dc:date>2024-07-18T20:27:39Z</dc:date>
    <item>
      <title>Q Encoder</title>
      <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3323839#M974502</link>
      <description>&lt;P&gt;I had given a task (picture) about the quadrature encoder. I have problem is how to simulate the A &amp;amp; B signal then using X1 decode?&lt;/P&gt;&lt;P&gt;Your helping is much appreciated.Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 09:25:20 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3323839#M974502</guid>
      <dc:creator>Ambrose1464</dc:creator>
      <dc:date>2016-07-19T09:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Q Encoder</title>
      <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3323988#M974559</link>
      <description>&lt;P&gt;Please put a little more detail into your question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all, include where LabVIEW fits into your question.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 13:43:27 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3323988#M974559</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2016-07-19T13:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Q Encoder</title>
      <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324173#M974632</link>
      <description>&lt;P&gt;Well in simple&amp;nbsp;terms a quadrature encoder outputs two square waves with A or B leading by 90 degrees depending on the direction the encoder is spinning.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/bed2e786609bb8993c75c1cd60905e3fc8307ccf/687474703a2f2f7777772e64796e617061722e636f6d2f75706c6f61646564496d616765732f5f536974655f526f6f742f546563686e6f6c6f67792f456e636f6465725f4261736963732f71756164726174757265253230656e636f646572253230696d616765253230322e6a7067" border="0" alt="" title="" /&gt;&lt;/P&gt;&lt;P&gt;Seems trivial to simulate&amp;nbsp;a couple square&amp;nbsp;waves with one of them leading or lagging the other by 90 degrees.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see your X1 output is pulsed once when the leading square wave is high and the lagging is low&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 18:18:10 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324173#M974632</guid>
      <dc:creator>RTSLVU</dc:creator>
      <dc:date>2016-07-19T18:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Q Encoder</title>
      <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324321#M974682</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/11171"&gt;@RTSLVU&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Well in simple&amp;nbsp;terms a quadrature encoder outputs two square waves with A or B leading by 90 degrees depending on the direction the encoder is spinning.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/bed2e786609bb8993c75c1cd60905e3fc8307ccf/687474703a2f2f7777772e64796e617061722e636f6d2f75706c6f61646564496d616765732f5f536974655f526f6f742f546563686e6f6c6f67792f456e636f6465725f4261736963732f71756164726174757265253230656e636f646572253230696d616765253230322e6a7067" border="0" alt="" title="" /&gt;&lt;/P&gt;&lt;P&gt;Seems trivial to simulate&amp;nbsp;a couple square&amp;nbsp;waves with one of them leading or lagging the other by 90 degrees.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see your X1 output is pulsed once when the leading square wave is high and the lagging is low&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But how i going to draw out the QE at my FPGA target? I need to acquire the channel A and B signal and the counter value from FPGA to Host PC. I totally no idea how to implement out the vi. I'm stuck here.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 23:57:19 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324321#M974682</guid>
      <dc:creator>Ambrose1464</dc:creator>
      <dc:date>2016-07-19T23:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Q Encoder</title>
      <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324382#M974700</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/63946"&gt;@RavensFan&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Please put a little more detail into your question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all, include where LabVIEW fits into your question.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;My question is how to implement out the channel A and B signal (either A leading B or B leading A can function both way) after that using X1 decode (this is at FPGA), from the Host PC i want acquire the channel A and B signal and the counter value from the FPGA. Finally display out the signal and the counter value on the Host PC. Currently I still have no idea how I going to generate the channel A and B signal.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 06:11:22 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324382#M974700</guid>
      <dc:creator>Ambrose1464</dc:creator>
      <dc:date>2016-07-20T06:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Q Encoder</title>
      <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324527#M974768</link>
      <description>&lt;P&gt;Please give a complete story as to what you are trying to do.&amp;nbsp; Now you are talking about using an FPGA which you failed to mention in the original post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where does the FPGA fit into this?&amp;nbsp; Are you trying to take two digital inputs (Chan A and Chan B) into the FPGA then have the FPGA output 3 digital outpus (X1 X2 X4)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do you mean by "how to generate channel A and channel B"?&amp;nbsp; Those get generated by your encoder.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 13:01:49 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324527#M974768</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2016-07-20T13:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Q Encoder</title>
      <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324532#M974771</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/63946"&gt;@RavensFan&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Please give a complete story as to what you are trying to do.&amp;nbsp; Now you are talking about using an FPGA which you failed to mention in the original post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where does the FPGA fit into this?&amp;nbsp; Are you trying to take two digital inputs (Chan A and Chan B) into the FPGA then have the FPGA output 3 digital outpus (X1 X2 X4)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do you mean by "how to generate channel A and channel B"?&amp;nbsp; Those get generated by your encoder.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;First i want to sorry about i din mention FPGA. I want to take digital input Channel A and B have 3 digital outputs X1, X2 X4. That I still have problem to build the encoder. No idea how to build out. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 13:11:42 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324532#M974771</guid>
      <dc:creator>Ambrose1464</dc:creator>
      <dc:date>2016-07-20T13:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Q Encoder</title>
      <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324538#M974775</link>
      <description>&lt;P&gt;The FPGA has nodes in it that allow it to detect a rising or falling edge.&amp;nbsp; I would set up a loop to detect a rising and falling edge on both Chan A and Chan B.&amp;nbsp; (with a zero timeout)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If any of the 4 are triggered, then you write a true to your X4 output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Chan A's rising edge is triggered Chan B is Low&amp;nbsp; OR&amp;nbsp; Chan B's Falling edge is triggered and Chan B is High , then write a&amp;nbsp; true to your X2 output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Chan A's rising edge is triggered Chan B is Low, then write a true to X1 output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now all of these pulses need to go back to false at some point of time.&amp;nbsp; Do you have a defined pulse width?&amp;nbsp; If so, then have them return to false after X amount of time has passed. But if the encoder is spinning to fast, you could wind up with another trigger point before the pulse has had enough time to remain high.&amp;nbsp; I don't know how you'd handle that.&amp;nbsp; I can only assume the parameters are such that you've specified a limit on how fast the encoder can be.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The pictures seem to give it a 50% duty cycle on X4.&amp;nbsp; But that doesn't seem like it would be accurate because the time between pulses is dependent on the speed of the encoder.&amp;nbsp; I have no idea the best way to handle that.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 13:27:45 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324538#M974775</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2016-07-20T13:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Q Encoder</title>
      <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324589#M974792</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/343467"&gt;@Ambrose1464&lt;/a&gt; wrote:&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;First i want to sorry about i din mention FPGA. I want to take digital input Channel A and B have 3 digital outputs X1, X2 X4. That I still have problem to build the encoder. No idea how to build out. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Here is a good place to start&amp;nbsp;&lt;A href="https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x1riCAA&amp;amp;l=en-US" target="_self"&gt;Encoder Measurements: How-To Guide&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 20:27:39 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324589#M974792</guid>
      <dc:creator>RTSLVU</dc:creator>
      <dc:date>2024-07-18T20:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Q Encoder</title>
      <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324880#M974922</link>
      <description>&lt;P&gt;this is my vi. is it correct? This is my first try. The channel selection means can choose either A lead B or B lead A. Thank you very much.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 00:07:47 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324880#M974922</guid>
      <dc:creator>Ambrose1464</dc:creator>
      <dc:date>2016-07-21T00:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Q Encoder</title>
      <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324881#M974923</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/63946"&gt;@RavensFan&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;The FPGA has nodes in it that allow it to detect a rising or falling edge.&amp;nbsp; I would set up a loop to detect a rising and falling edge on both Chan A and Chan B.&amp;nbsp; (with a zero timeout)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If any of the 4 are triggered, then you write a true to your X4 output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Chan A's rising edge is triggered Chan B is Low&amp;nbsp; OR&amp;nbsp; Chan B's Falling edge is triggered and Chan B is High , then write a&amp;nbsp; true to your X2 output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Chan A's rising edge is triggered Chan B is Low, then write a true to X1 output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now all of these pulses need to go back to false at some point of time.&amp;nbsp; Do you have a defined pulse width?&amp;nbsp; If so, then have them return to false after X amount of time has passed. But if the encoder is spinning to fast, you could wind up with another trigger point before the pulse has had enough time to remain high.&amp;nbsp; I don't know how you'd handle that.&amp;nbsp; I can only assume the parameters are such that you've specified a limit on how fast the encoder can be.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The pictures seem to give it a 50% duty cycle on X4.&amp;nbsp; But that doesn't seem like it would be accurate because the time between pulses is dependent on the speed of the encoder.&amp;nbsp; I have no idea the best way to handle that.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is my vi. is it correct? This is my first try. The channel selection means can choose either A lead B or B lead A. Thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 00:08:04 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324881#M974923</guid>
      <dc:creator>Ambrose1464</dc:creator>
      <dc:date>2016-07-21T00:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Q Encoder</title>
      <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324882#M974924</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/11171"&gt;@RTSLVU&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/343467"&gt;@Ambrose1464&lt;/a&gt; wrote:&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;First i want to sorry about i din mention FPGA. I want to take digital input Channel A and B have 3 digital outputs X1, X2 X4. That I still have problem to build the encoder. No idea how to build out. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Here is a good place to start&amp;nbsp;&lt;A href="https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x1riCAA&amp;amp;l=en-US" target="_self"&gt;Encoder Measurements: How-To Guide&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This page need to use hardware is it? I had seen before. &amp;nbsp;First I need to implement an vi first that without hardware and all the input and output function correctly.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 20:28:10 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324882#M974924</guid>
      <dc:creator>Ambrose1464</dc:creator>
      <dc:date>2024-07-18T20:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Q Encoder</title>
      <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324896#M974929</link>
      <description>&lt;P&gt;So with this VI you want to GENERATE the signals on the A and B channels.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First glance, I think your boolean logic would work for alternating high and low pulses between the channels.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The flaw in your VI is that you will never write out those trues and falses to the digital outputs.&amp;nbsp; The loop runs forever and the digital outputs are outside of the loop.&amp;nbsp; The boolean values never reaach them.&amp;nbsp; bring the digital outputs into the loop.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 01:29:51 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324896#M974929</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2016-07-21T01:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Q Encoder</title>
      <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324898#M974930</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/63946"&gt;@RavensFan&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;So with this VI you want to GENERATE the signals on the A and B channels.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First glance, I think your boolean logic would work for alternating high and low pulses between the channels.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The flaw in your VI is that you will never write out those trues and falses to the digital outputs.&amp;nbsp; The loop runs forever and the digital outputs are outside of the loop.&amp;nbsp; The boolean values never reaach them.&amp;nbsp; bring the digital outputs into the loop.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i move the digital output inside the loop that mean 1 case have 2 output, i have 2 case total have 4 digital output is it? the 2 case is the A lead B and B lead A. this is my vi. Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 01:46:36 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324898#M974930</guid>
      <dc:creator>Ambrose1464</dc:creator>
      <dc:date>2016-07-21T01:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Q Encoder</title>
      <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324904#M974934</link>
      <description>&lt;P&gt;Do you want to be able to change the channel selection (which I guess actually means direction) while the VI is running?&amp;nbsp; if so, your VI is inside out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The case structure needs to be inside the loop..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you move the digital outputs outside the loop, they will never execute because the loop never ends.&amp;nbsp; This is basic dataflow.&amp;nbsp; Do you really want two more digital output channels to be used in teh other case?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attach a VI instead of pictures, I can then modify it to something that works in a more logical manner.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can actually merge the last two frames of the sequence structure.&amp;nbsp; You probably don't need the sequence structure at all.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 02:14:37 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324904#M974934</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2016-07-21T02:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Q Encoder</title>
      <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324914#M974939</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/63946"&gt;@RavensFan&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Do you want to be able to change the channel selection (which I guess actually means direction) while the VI is running?&amp;nbsp; if so, your VI is inside out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The case structure needs to be inside the loop..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you move the digital outputs outside the loop, they will never execute because the loop never ends.&amp;nbsp; This is basic dataflow.&amp;nbsp; Do you really want two more digital output channels to be used in teh other case?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attach a VI instead of pictures, I can then modify it to something that works in a more logical manner.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can actually merge the last two frames of the sequence structure.&amp;nbsp; You probably don't need the sequence structure at all.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Here is my vi. &amp;nbsp;Thanks for your help. I'm really appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 03:37:50 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324914#M974939</guid>
      <dc:creator>Ambrose1464</dc:creator>
      <dc:date>2016-07-21T03:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Q Encoder</title>
      <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324918#M974941</link>
      <description>&lt;P&gt;Here is your VI modified to a more logical structure.&amp;nbsp; It will allow you to change direction while it is operating.&amp;nbsp; Basically be virtually swapping A and B channels in mid-stream,&amp;nbsp; And you are now down to a single set of LED's on the front panel and a single set of digital outputs for channel A and channel B.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 04:09:06 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324918#M974941</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2016-07-21T04:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Q Encoder</title>
      <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324919#M974942</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/63946"&gt;@RavensFan&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Here is your VI modified to a more logical structure.&amp;nbsp; It will allow you to change direction while it is operating.&amp;nbsp; Basically be virtually swapping A and B channels in mid-stream,&amp;nbsp; And you are now down to a single set of LED's on the front panel and a single set of digital outputs for channel A and channel B.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks for your vi . How to implement the x1 decode ? because i want to acquire the signal channel a and b and the counter value from FPGA to pc.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 04:17:37 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324919#M974942</guid>
      <dc:creator>Ambrose1464</dc:creator>
      <dc:date>2016-07-21T04:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Q Encoder</title>
      <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324920#M974943</link>
      <description>&lt;P&gt;Look back at what I wrote up in an earlier message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I'm confused.&amp;nbsp; You set you wanted to read A and B to generate the X# channels.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then you post a VI where you are generating A and B signals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now you are back to saying you want to acquire A and B signals and generate X1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I feel like you still haven't clearly told the story of what you are actually trying to do.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 04:33:00 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324920#M974943</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2016-07-21T04:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Q Encoder</title>
      <link>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324930#M974947</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/63946"&gt;@RavensFan&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Look back at what I wrote up in an earlier message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I'm confused.&amp;nbsp; You set you wanted to read A and B to generate the X# channels.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then you post a VI where you are generating A and B signals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now you are back to saying you want to acquire A and B signals and generate X1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I feel like you still haven't clearly told the story of what you are actually trying to do.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;IMG src="https://forums.ni.com/t5/image/serverpage/image-id/186458i36363F7E4DC91E11/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Capture.JPG" title="Capture.JPG" /&gt;&lt;/P&gt;&lt;P&gt;Hi Raven, the final result i want is above diagram. this is what i want the result out. the above diagram will display the result on my host PC.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 05:24:58 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Q-Encoder/m-p/3324930#M974947</guid>
      <dc:creator>Ambrose1464</dc:creator>
      <dc:date>2016-07-21T05:24:58Z</dc:date>
    </item>
  </channel>
</rss>

