Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
other
informationbridge
office.intranets
office.misc
office.setup
office.xml
officeupdate
onenote
photodraw.discussion
powerpoint
producer
proj.standard&server
project
project.developer
project.pro_and_serve
project.server
project.vba
project2000
publisher
publisher.prepress
publisher.programming
publisher.webdesign
visio
visio.createshapes
visio.database.modeling
visio.dev.diagrams
visio.dev.shapesheet
visio.dev.vba
visio.dev.vc
visio.developer
visio.general
visio.installation
visio.printing
visio.software.modeling
visio.troubleshoot
  
 
date: Mon, 7 Jul 2008 07:48:03 -0700,    group: microsoft.public.visio        back       


Need help with simple statechart   
I am new user of Visio and have some troubles to describe State Machine 
States in Visio Statecharts. Can anyone give me hand to describe the 
following below state and send me resulting vsd file to wmk587 AT yahoo DOT 
com

Thanks in advance.
***************************************************

State A:
{
   if(condition1 )
   {
      Go To State B
   }

   if(condition2 )
   {
      Send Message1 to external device and remain in state A
      until external device responded.

      When responce to Message1 from external device received go to State C.

      If device failed to respond within X seconds go to State E.
   }

   Perform Action1

   Send Message2 to external device and remain in state A
   until external device responded.

   When responce to Message2 from external device received go to State D.

   If device failed to respond within X seconds go to State E.
}
date: Mon, 7 Jul 2008 07:48:03 -0700   author:   Steve

RE: Need help with simple statechart   
Would that not be something for Microsoft Robotics Studio ?
For the Visual programming.  It is free.

"Steve" wrote:

> I am new user of Visio and have some troubles to describe State Machine 
> States in Visio Statecharts. Can anyone give me hand to describe the 
> following below state and send me resulting vsd file to wmk587 AT yahoo DOT 
> com
> 
> Thanks in advance.
> ***************************************************
> 
> State A:
> {
>    if(condition1 )
>    {
>       Go To State B
>    }
> 
>    if(condition2 )
>    {
>       Send Message1 to external device and remain in state A
>       until external device responded.
> 
>       When responce to Message1 from external device received go to State C.
> 
>       If device failed to respond within X seconds go to State E.
>    }
> 
>    Perform Action1
> 
>    Send Message2 to external device and remain in state A
>    until external device responded.
> 
>    When responce to Message2 from external device received go to State D.
> 
>    If device failed to respond within X seconds go to State E.
> }
>
date: Mon, 7 Jul 2008 07:57:00 -0700   author:   Philippe C.

Re: Need help with simple statechart   
On Mon, 7 Jul 2008 07:48:03 -0700, Steve
 wrote:

>I am new user of Visio and have some troubles to describe State Machine 
>States in Visio Statecharts. Can anyone give me hand to describe the 
>following below state and send me resulting vsd file to wmk587 AT yahoo DOT 
>com
>
>Thanks in advance.
>***************************************************
>
>State A:
>{
>   if(condition1 )
>   {
>      Go To State B
>   }
>
>   if(condition2 )
>   {
>      Send Message1 to external device and remain in state A
>      until external device responded.
>
>      When responce to Message1 from external device received go to State C.
>
>      If device failed to respond within X seconds go to State E.
>   }
>
>   Perform Action1
>
>   Send Message2 to external device and remain in state A
>   until external device responded.
>
>   When responce to Message2 from external device received go to State D.
>
>   If device failed to respond within X seconds go to State E.
>}

This looks like a homework question.
However, don't start with a state diagram, you need to determine your
event sources and messages flow. Start with a Sequence diagram. That
will allow you to work out how to handle the "until" and the "failed
to respond" bits.




-- 
Regards, Paul Herber, Sandrila Ltd.
http://www.sdl.sandrila.co.uk/       SDL/MSC//URN/UML2 for Visio
date: Mon, 07 Jul 2008 23:00:20 +0100   author:   Paul Herber

Re: Need help with simple statechart   
This is not homework:) The thing is that I have to describe pretty big 
existing system with statecharts. The example I presented is very simplified 
version of one state.

Could you provide at least simple example of sequence diagram with event 
sources and messages flow ("until", "failed, etc) as well as transition from 
sequence diagram to statechart.  

Thanks

"Paul Herber" wrote:

> On Mon, 7 Jul 2008 07:48:03 -0700, Steve
>  wrote:
> 
> >I am new user of Visio and have some troubles to describe State Machine 
> >States in Visio Statecharts. Can anyone give me hand to describe the 
> >following below state and send me resulting vsd file to wmk587 AT yahoo DOT 
> >com
> >
> >Thanks in advance.
> >***************************************************
> >
> >State A:
> >{
> >   if(condition1 )
> >   {
> >      Go To State B
> >   }
> >
> >   if(condition2 )
> >   {
> >      Send Message1 to external device and remain in state A
> >      until external device responded.
> >
> >      When responce to Message1 from external device received go to State C.
> >
> >      If device failed to respond within X seconds go to State E.
> >   }
> >
> >   Perform Action1
> >
> >   Send Message2 to external device and remain in state A
> >   until external device responded.
> >
> >   When responce to Message2 from external device received go to State D.
> >
> >   If device failed to respond within X seconds go to State E.
> >}
> 
> This looks like a homework question.
> However, don't start with a state diagram, you need to determine your
> event sources and messages flow. Start with a Sequence diagram. That
> will allow you to work out how to handle the "until" and the "failed
> to respond" bits.
> 
> 
> 
> 
> -- 
> Regards, Paul Herber, Sandrila Ltd.
> http://www.sdl.sandrila.co.uk/       SDL/MSC//URN/UML2 for Visio
>
date: Tue, 8 Jul 2008 01:19:01 -0700   author:   Steve

Re: Need help with simple statechart   
On Tue, 8 Jul 2008 01:19:01 -0700, Steve
 wrote:

>This is not homework:) The thing is that I have to describe pretty big 
>existing system with statecharts. The example I presented is very simplified 
>version of one state.
>
>Could you provide at least simple example of sequence diagram with event 
>sources and messages flow ("until", "failed, etc) as well as transition from 
>sequence diagram to statechart.  

here's an example, it's an SDL Message Sequence Chart but close enough
for rock and roll:
http://www.sdl.sandrila.co.uk/examples.php?e=msc

It's a simplified telephone answering machine message record task. You
could write this as

do
 record message
until (stop button pressed) (silence detected)

and here is a sample UML sequence diagram.
http://www.sdl.sandrila.co.uk/examples.php?e=umlsd


-- 
Regards, Paul Herber, Sandrila Ltd.
http://www.sdl.sandrila.co.uk/       SDL/MSC//URN/UML2 for Visio
date: Tue, 08 Jul 2008 13:17:38 +0100   author:   Paul Herber

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us