<?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: mouse down help in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2667595#M794635</link>
    <description>&lt;P&gt;"ReshapeArray" is a function found on the array function palette - and in your VI...&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2013 20:58:46 GMT</pubDate>
    <dc:creator>GerdW</dc:creator>
    <dc:date>2013-12-17T20:58:46Z</dc:date>
    <item>
      <title>mouse down help</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2665723#M794202</link>
      <description>&lt;P&gt;Im trying to create a program so that when the next button is pressed, the gui then reads the next line on my excel sheet for the standard. Im having trouble with the mouse my down functioin for this.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2013 16:58:36 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2665723#M794202</guid>
      <dc:creator>HePlayGame</dc:creator>
      <dc:date>2013-12-16T16:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: mouse down help</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2665763#M794210</link>
      <description>&lt;P&gt;What trouble are you having?&amp;nbsp; Give us some details at to what it is doing and how it is different from what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking at your code.&amp;nbsp; I see your Next button is set for Switch Until Released.&amp;nbsp; That is almost certainly the wrong action.&amp;nbsp; You probably want Latch When Released.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And since it is a Boolean button, you should set the Event to be Next:Value Changed&amp;nbsp; rather than Next:Mouse Down.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2013 17:21:05 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2665763#M794210</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2013-12-16T17:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: mouse down help</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2665915#M794245</link>
      <description>&lt;P&gt;What happening is that when i click next, it does not change the standard as written in excel, instead it keeps whichever standard it starts with. What I would like for it to do is each time next is clicked, the standard, as written in excel, is read and used by labview.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2013 19:28:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2665915#M794245</guid>
      <dc:creator>HePlayGame</dc:creator>
      <dc:date>2013-12-16T19:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: mouse down help</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2666029#M794273</link>
      <description>&lt;P&gt;Where does your VI evenget data from Excel?&amp;nbsp; Nothing in your VI shows this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps it is buried in one of the subVI's you didn't include?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2013 21:11:31 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2666029#M794273</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2013-12-16T21:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: mouse down help</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2666185#M794298</link>
      <description>&lt;P&gt;Please show us where excel and file IO happens. I cannot find it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your VI is full of race conditions and very convoluted code.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;To get one row of a 2D array, reshaping it to a 1D array with the lenght of one row seems pointless. All you need is "index array" with one index disconnected.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;You have a case structure with the same property nodes in all case frames, thus they belong after the case, only on instance needed each.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;There are plenty of potential race conditions. For example the boolean "standard" is read (via value property) and written in parallel elsewhere to the terminal.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;How do you know what happens first?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;Getting a scalar from an array does not need a detour via dynamic data ("Numeric", after the small FOR loop). try&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;index array"&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;In the "next: mouse down" event, all you need in the second frame is the "menu" local variable. wire it to the output if the +1 from the previous frame.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;...&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 17 Dec 2013 00:25:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2666185#M794298</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2013-12-17T00:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: mouse down help</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2666973#M794508</link>
      <description>&lt;P&gt;My apologies for the confusion, I haven't put my comments in the code yet. The excel data is read from the first subvi on the outside of the while loop&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 14:43:35 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2666973#M794508</guid>
      <dc:creator>HePlayGame</dc:creator>
      <dc:date>2013-12-17T14:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: mouse down help</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2666979#M794510</link>
      <description>&lt;P&gt;Since you didn't include the subVI's, we can't look into them.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 14:45:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2666979#M794510</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2013-12-17T14:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: mouse down help</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2666987#M794512</link>
      <description>&lt;P&gt;Here is the read vi&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 14:50:18 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2666987#M794512</guid>
      <dc:creator>HePlayGame</dc:creator>
      <dc:date>2013-12-17T14:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: mouse down help</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2666999#M794514</link>
      <description>&lt;P&gt;The only part of the code that operates on the array coming from that subVI, isn't influenced by the menu number at all.&amp;nbsp; It is only affected by whether the "Standard" boolean is True or False, and will either give Row 1 or Row 2 of the array coming in.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 14:56:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2666999#M794514</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2013-12-17T14:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: mouse down help</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2667481#M794608</link>
      <description>&lt;P&gt;What do I need to do to make it read line by line?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 19:38:06 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2667481#M794608</guid>
      <dc:creator>HePlayGame</dc:creator>
      <dc:date>2013-12-17T19:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: mouse down help</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2667523#M794615</link>
      <description>&lt;P&gt;Have your menu do an index array on the array that you have now rather than doing what you are currently doing.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 20:07:39 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2667523#M794615</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2013-12-17T20:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: mouse down help</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2667531#M794617</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;use an autoindexing FOR loop instead of your TWL and forget about that ReshapeArray in front of the loop...&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 20:17:03 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2667531#M794617</guid>
      <dc:creator>GerdW</dc:creator>
      <dc:date>2013-12-17T20:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: mouse down help</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2667591#M794633</link>
      <description>&lt;P&gt;what do you mean by the array that i have now?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 20:56:30 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2667591#M794633</guid>
      <dc:creator>HePlayGame</dc:creator>
      <dc:date>2013-12-17T20:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: mouse down help</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2667595#M794635</link>
      <description>&lt;P&gt;"ReshapeArray" is a function found on the array function palette - and in your VI...&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 20:58:46 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2667595#M794635</guid>
      <dc:creator>GerdW</dc:creator>
      <dc:date>2013-12-17T20:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: mouse down help</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2668807#M794954</link>
      <description>&lt;P&gt;Im going to change things up a little bit, so could use a little more help. Instead of having a menu, i want to just create 2 more rows on the excel file. What I want to happen is that when you run the gui, labview picks the first row from the excel file, reads in the valve # and intensity for the standard, and same for the odor.&amp;nbsp; What else would I need to do to make this happen?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2013 15:05:10 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2668807#M794954</guid>
      <dc:creator>HePlayGame</dc:creator>
      <dc:date>2013-12-18T15:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: mouse down help</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2668953#M794978</link>
      <description>&lt;P&gt;First of all, your VI does NOT read an excel file in any shape or form, it simply reads a comma delimited text file. Don't confuse the two. (Of course excel can also read .csv files, but that does not make it an excel file).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/281895"&gt;@HePlayGame&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;What I want to happen is that when you run the gui, labview picks the first row from the excel file, reads in the valve # and intensity for the standard, and same for the odor.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Well, you should simply take away of lot of the existing code, since this is a simpler task. Where did you encounter problems?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;This still does not sound like a complete specification. What should happen after it reads the first line? (program exit? wait for input? Go to the next line in a button press? etc.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2013 16:47:06 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2668953#M794978</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2013-12-18T16:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: mouse down help</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2669203#M795040</link>
      <description>&lt;P&gt;My problem is that only the last line of the csv file is being read and implemented.&amp;nbsp; I want labview to read the first line, which contains A valve number for the standard, an intensity for the standard, and a valve number for the adjustable odor.&amp;nbsp; These numbers are then used in labview to select the appropriate valve using the Daq, turn it on for the standard, and allow me to adjust the adjustable.&amp;nbsp; When I press the next button, I want the second line to be read, and so on.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2013 18:56:52 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2669203#M795040</guid>
      <dc:creator>HePlayGame</dc:creator>
      <dc:date>2013-12-18T18:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: mouse down help</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2669253#M795049</link>
      <description>&lt;P&gt;Why don't you also show us a typical input file?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2013 19:20:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2669253#M795049</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2013-12-18T19:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: mouse down help</title>
      <link>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2669309#M795063</link>
      <description>&lt;P&gt;Here is an example of a typical entry file&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2013 20:11:58 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/mouse-down-help/m-p/2669309#M795063</guid>
      <dc:creator>HePlayGame</dc:creator>
      <dc:date>2013-12-18T20:11:58Z</dc:date>
    </item>
  </channel>
</rss>

