<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163064</link>
    <title>MATLAB Central Newsreader - 'Loading...' GUI while serial port is opening</title>
    <description>Feed for thread: 'Loading...' GUI while serial port is opening</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2008 by The MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>The MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sun, 03 Feb 2008 08:31:01 -0500</pubDate>
      <title>Re: 'Loading...' GUI while serial port is opening</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163064#412659</link>
      <author>Vihang Patil</author>
      <description>"Grace " &amp;lt;gracee@mathworks.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;fo3qt3$fa4$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hello everybody,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; My program opens a serial port, which takes around 20-30&lt;br&gt;
&amp;gt; seconds. I would like to have a GUI saying 'Loading...'&lt;br&gt;
&amp;gt; while it is opening the port. Can anybody help me in that?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks.&lt;br&gt;
&amp;gt; Gracee&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
Well you can put a static text box with string name&lt;br&gt;
"Loading" and place somewhere on your gui. Set its visible&lt;br&gt;
property to "off".&lt;br&gt;
Now before you open your serial port, make this property&lt;br&gt;
visible "on" and after your serial port has done its work,&lt;br&gt;
you can again turn back its property to visible "off"&lt;br&gt;
&lt;br&gt;
ex:&lt;br&gt;
&lt;br&gt;
set(handles.text1,'Visible','on');%loading message on&lt;br&gt;
s1 = serial('COM1');&lt;br&gt;
&lt;br&gt;
% do your stuff here&lt;br&gt;
&lt;br&gt;
set(handles.text1,'Visible','off');%loading message off&lt;br&gt;
&lt;br&gt;
HTH&lt;br&gt;
Vihang&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Sun, 03 Feb 2008 07:36:03 -0500</pubDate>
      <title>'Loading...' GUI while serial port is opening</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163064#412655</link>
      <author>Grace </author>
      <description>Hello everybody,&lt;br&gt;
&lt;br&gt;
My program opens a serial port, which takes around 20-30&lt;br&gt;
seconds. I would like to have a GUI saying 'Loading...'&lt;br&gt;
while it is opening the port. Can anybody help me in that?&lt;br&gt;
&lt;br&gt;
Thanks.&lt;br&gt;
Gracee&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
</description>
    </item>
  </channel>
</rss>
