<?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 Coding suggestion in LabVIEW</title>
    <link>https://forums.ni.com/t5/LabVIEW/Coding-suggestion/m-p/3646608#M1024003</link>
    <description>&lt;P&gt;here i would like to know for my code that how can we get more than 10 dialogue boxes in labview.?? it is having 1 and 2 and 3 dialogue box .. i tried by placing simultaneously these dialogue boxes but it isn't showing desired response .. any help will be thankful&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 17 Jun 2017 05:42:21 GMT</pubDate>
    <dc:creator>ivanjoel</dc:creator>
    <dc:date>2017-06-17T05:42:21Z</dc:date>
    <item>
      <title>Coding suggestion</title>
      <link>https://forums.ni.com/t5/LabVIEW/Coding-suggestion/m-p/3646608#M1024003</link>
      <description>&lt;P&gt;here i would like to know for my code that how can we get more than 10 dialogue boxes in labview.?? it is having 1 and 2 and 3 dialogue box .. i tried by placing simultaneously these dialogue boxes but it isn't showing desired response .. any help will be thankful&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2017 05:42:21 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Coding-suggestion/m-p/3646608#M1024003</guid>
      <dc:creator>ivanjoel</dc:creator>
      <dc:date>2017-06-17T05:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Coding suggestion</title>
      <link>https://forums.ni.com/t5/LabVIEW/Coding-suggestion/m-p/3646612#M1024007</link>
      <description>&lt;P&gt;Can you explain what you mean a little more? I'm guessing that you're perhaps referencing the "Prompt User" dialog box, and you want more than 10 possible inputs?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, creating a customised VI and calling it as a dialog box would be an alternative option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2017 05:58:25 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Coding-suggestion/m-p/3646612#M1024007</guid>
      <dc:creator>cbutcher</dc:creator>
      <dc:date>2017-06-17T05:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Coding suggestion</title>
      <link>https://forums.ni.com/t5/LabVIEW/Coding-suggestion/m-p/3646644#M1024030</link>
      <description>&lt;P&gt;so i have to develop a seperate code i.e. .vi file for multiple dialogue boxes and save it as a subvi ??!!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2017 07:50:01 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Coding-suggestion/m-p/3646644#M1024030</guid>
      <dc:creator>ivanjoel</dc:creator>
      <dc:date>2017-06-17T07:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Coding suggestion</title>
      <link>https://forums.ni.com/t5/LabVIEW/Coding-suggestion/m-p/3646646#M1024032</link>
      <description>&lt;P&gt;Can you perhaps describe what you want to happen, or what outcome you would like, and forum users could advise you on how to best accomplish it in LabVIEW?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There doesn't seem to be a limit, at least on my installation of LabVIEW, to 10 dialog boxes - I called 15 and they just popped up one after the other. However, I don't think this is a good style of coding.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Because there didn't seem to be a limit to number of boxes that LabVIEW allowed me to pop up, I guessed that you are using the "Prompt User" dialog box to get user input, and you were concerned because the dialog only allows a maximum of 10 inputs. Is this correct?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to create your own dialog, with more available inputs, especially if those inputs have a type that isn't string, number or boolean, then yes, you would want to create a new VI file that behaves as a dialog box. This isn't necessarily complicated - you can do it quite easily.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2017 07:57:27 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Coding-suggestion/m-p/3646646#M1024032</guid>
      <dc:creator>cbutcher</dc:creator>
      <dc:date>2017-06-17T07:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Coding suggestion</title>
      <link>https://forums.ni.com/t5/LabVIEW/Coding-suggestion/m-p/3646666#M1024044</link>
      <description>&lt;P&gt;You like suggested by cbutcher, you can use 'Prompt User' for up to ten controls of the types number, textbox or checkbox. If you need even more user inputs, you have to write an own VI. Place it in your code as SubVI and use an&amp;nbsp;invoke method&amp;nbsp;to open the front panel just like shown in the VI snipped inserted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.ni.com/t5/image/serverpage/image-id/205525i32F0D6D4210684B6/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="screenshot.png" title="screenshot.png" /&gt;&lt;IMG src="https://forums.ni.com/t5/image/serverpage/image-id/205526iA0F61700497765EC/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="vi snipped.png" title="vi snipped.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2017 09:46:05 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Coding-suggestion/m-p/3646666#M1024044</guid>
      <dc:creator>User002</dc:creator>
      <dc:date>2017-06-17T09:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Coding suggestion</title>
      <link>https://forums.ni.com/t5/LabVIEW/Coding-suggestion/m-p/3646667#M1024045</link>
      <description>&lt;P&gt;Oh and I think you need to close the FP of the SubVI manually before exiting it. Use the invoke method FP.Close for that. Then close the VI-Reference. To transfer the user inputs to your main VI, you should cluster&amp;nbsp;them. So your SubVI has only one output which contains all the data you got from the user.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2017 09:58:30 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Coding-suggestion/m-p/3646667#M1024045</guid>
      <dc:creator>User002</dc:creator>
      <dc:date>2017-06-17T09:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Coding suggestion</title>
      <link>https://forums.ni.com/t5/LabVIEW/Coding-suggestion/m-p/3646669#M1024047</link>
      <description>&lt;P&gt;It doesn't need to even be that complicated. Attached are two VIs, the first of which just calls the second, DialogVI.vi. In the dialog, I have a cluster of controls and two hidden indicators, and two buttons.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you press Ok, the first hidden indicator takes the values of the cluster, and the second a false constant for "Cancelled?". If you press Cancel, the first indicator takes default values and the second a true constant. The hidden indicators are wired to the connector pane.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you wanted to provide a set of initial controls, then you can wire the cluster control to the connector pane as an input. In that case, use a local variable in the OK: Value Changed case to use new values and move the control outside of the Event Structure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: I forgot to mention the key point here - in the VI Properties, under Window Appearance, you can set the VI to have "Dialog" properties. This sets the values to those appropriate for a modal dialog.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2017 10:08:20 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Coding-suggestion/m-p/3646669#M1024047</guid>
      <dc:creator>cbutcher</dc:creator>
      <dc:date>2017-06-17T10:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Coding suggestion</title>
      <link>https://forums.ni.com/t5/LabVIEW/Coding-suggestion/m-p/3646741#M1024073</link>
      <description>&lt;P&gt;I have my own template for making user input dialogs. &amp;nbsp;There is some special code in there for making the window modal or not and only close the VI window if it was called by another VI (does not close when I am debugging it by running it on it's own). &amp;nbsp;No loops required; just an event structure to handle the OK and Cancel buttons.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2017 22:06:48 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Coding-suggestion/m-p/3646741#M1024073</guid>
      <dc:creator>crossrulz</dc:creator>
      <dc:date>2017-06-17T22:06:48Z</dc:date>
    </item>
  </channel>
</rss>

