<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240004</link>
    <title>MATLAB Central Newsreader - Running two GUIs parallely</title>
    <description>Feed for thread: Running two GUIs parallely</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by 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>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Thu, 27 Nov 2008 05:12:01 -0500</pubDate>
      <title>Running two GUIs parallely</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240004#613523</link>
      <author>Ashwini Deshpande</author>
      <description>Hi,&lt;br&gt;
&lt;br&gt;
I need run 2 GUIs parallely. The following points give the basic idea of my requirement, &lt;br&gt;
&lt;br&gt;
1. I have 2 guis. one is input panel (which gets i/p from user)and other one is display panel (which displays warnings and some plots).&lt;br&gt;
2. Display panel gui should always keep on looking for data from input panel gui.&lt;br&gt;
3. At the same time status panel should also keep looking for the input from serial port.&lt;br&gt;
&lt;br&gt;
Can anybody tell me how do i achieve this???? It would be great help for me.&lt;br&gt;
&lt;br&gt;
Thanks in advance,&lt;br&gt;
Ashwini</description>
    </item>
    <item>
      <pubDate>Thu, 27 Nov 2008 09:12:01 -0500</pubDate>
      <title>Re: Running two GUIs parallely</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240004#613545</link>
      <author>Ryan Ollos</author>
      <description>&quot;Ashwini Deshpande&quot; &amp;lt;vd.ashwini@mathworks.com&amp;gt; wrote in message &amp;lt;ggla71$hgi$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I need run 2 GUIs parallely. The following points give the basic idea of my requirement, &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 1. I have 2 guis. one is input panel (which gets i/p from user)and other one is display panel (which displays warnings and some plots).&lt;br&gt;
&amp;gt; 2. Display panel gui should always keep on looking for data from input panel gui.&lt;br&gt;
&amp;gt; 3. At the same time status panel should also keep looking for the input from serial port.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Can anybody tell me how do i achieve this???? It would be great help for me.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks in advance,&lt;br&gt;
&amp;gt; Ashwini&lt;br&gt;
&lt;br&gt;
One way to accomplish the 'looking for data' is to run a timer object to get data from the Input GUI and put it in the Display GUI.  Another option would be to program callbacks in the Input GUI that cause the Display GUI to be updated when update events occur.&lt;br&gt;
&lt;br&gt;
If you need to share data among multiple figure, having global handles structures for each GUI is a straightforward way to accomplish this.  The only other way I can think of besides global structures is to store the data, or references to the data (handle objects), in appdata for root {i.e. getappdata(0), setappdata(0, Data)}.&lt;br&gt;
&lt;br&gt;
I haven't worked with acquiring data from a serial port, but I have seen some examples on the file exchange that implement this.  I think you would have to run a timer object, and if the data rates are fairly high, then you might need some of the analoginput functions of the data acquisition toolbox.</description>
    </item>
    <item>
      <pubDate>Mon, 01 Dec 2008 12:49:01 -0500</pubDate>
      <title>Re: Running two GUIs parallely</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240004#614137</link>
      <author>Sherryl Radbil</author>
      <description>Hi Ashwini,&lt;br&gt;
&lt;br&gt;
You can learn about MATLAB's serial support here&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/serial&quot;&gt;http://www.mathworks.com/serial&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Sherryl</description>
    </item>
  </channel>
</rss>

