?? embedded_com - introduction to uml statecharts.htm
字號:
src="Embedded_com - Introduction to UML statecharts.files/pixel.gif"
width=5>
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR><!-- top left tile ad -->
<CENTER><!-- http://as.cmpnet.com/html.ng/affiliate=embedded&pagepos=tilelefttop&site=electronics&server=atg&target=/showArticle.jhtml --><A
href="http://as.cmpnet.com/event.ng/Type=click&FlightID=10187&AdID=14610&TargetID=894&Segments=863,887,1411,3108,3448&Targets=680,894,2625,2878&Values=34,46,51,63,77,82,92,100,140,297,304,309,442,451,1184,1311,1388,1716,1785,1901,1925,1970,2299,2310&RawValues=IP,66.77.24.68,&Redirect=http://www.eet.com/newproductinfo"
target=_top><IMG height=125 alt=""
src="Embedded_com - Introduction to UML statecharts.files/newprod_tile.gif"
width=125 border=0></A><IMG height=1
src="F:\20031216\Embedded_com - Introduction to UML statecharts.files\dcfc(1).gif"
width=1 border=0> </CENTER><BR><!-- Network Navigation -->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=tdHeader>EE TIMES NETWORK</TD></TR>
<TR>
<TD vAlign=top align=left> <SPAN
class=nnType>Online Editions</SPAN><BR> <A
class=nnLink href="http://www.eet.com/">EE
TIMES</A><BR> <A class=nnLink
href="http://www.eetasia.com/">EE TIMES
ASIA</A><BR> <A class=nnLink
href="http://www.eetchina.com/">EE TIMES
CHINA</A><BR> <A class=nnLink
href="http://www.eetimes.fr/">EE TIMES
FRANCE</A><BR> <A class=nnLink
href="http://www.eetimes.de/">EE TIMES
GERMANY</A><BR> <A class=nnLink
href="http://www.eetkorea.com/">EE TIMES
KOREA</A><BR> <A class=nnLink
href="http://www.eettaiwan.com/">EE TIMES
TAIWAN</A><BR> <A class=nnLink
href="http://www.eetuk.com/">EE TIMES
UK</A><BR><BR> <SPAN class=nnType>Web
Sites</SPAN><BR> • <A class=nnLink
href="http://www.commsdesign.com/">CommsDesign</A><BR> •
<A class=nnLink
href="http://www.iapplianceweb.com/">iApplianceWeb.com</A><BR> •
<A class=nnLink href="http://www.mwee.com/">Microwave
Engineering</A><BR> • <A class=nnLink
href="http://www.eedesign.com/">EEdesign</A><BR> •
<A class=nnLink
href="http://www.deepchip.com/">Deepchip.com</A><BR> •
<A class=nnLink
href="http://www.us.design-reuse.com/">Design &
Reuse</A><BR> • <A class=nnLink
href="http://www.embedded.com/">Embedded.com</A><BR> •
<A class=nnLink
href="http://www.embedded.com/cs/ee">Embedded
Edge</A><BR> <A class=nnLink
href="http://www.embedded.com/cs/ee">Magazine</A><BR> •
<A class=nnLink
href="http://www.edtnscandinavia.com/">Elektronik i
Norden</A><BR> • <A class=nnLink
href="http://www.planetanalog.com/">Planet
Analog</A><BR> • <A class=nnLink
href="http://www.semibiznews.com/">Silicon
Strategies</A><BR> • <A class=nnLink
href="http://www.theworkcircuit.com/">The Work
Circuit</A><BR> • <A class=nnLink
href="http://www.embedded.com/cs/intel/current.html">Wireless
Solutions</A><BR> <A class=nnLink
href="http://www.embedded.com/cs/intel/current.html">Magazine</A><BR></TD></TR><!-- ELECTRONICS GROUP SITES -->
<TR>
<TD class=tdHeader>ELECTRONICS GROUP SITES</TD></TR>
<TR>
<TD vAlign=top align=left><!-- ELECTRONICS GROUP SITES --> • <A
class=nnLink
href="http://www.eeproductcenter.com/">eeProductCenter</A><BR> •
<A class=nnLink
href="http://www.esconline.com/">Conferences and
Events</A><BR> • <A class=nnLink
href="http://www.embedded.com/GLOBAL/electronics/customsolutions/custmag1.fhtml">Custom
Magazines</A><BR> • <A class=nnLink
href="http://www.ebnews.com/">EBN</A><BR> • <A
class=nnLink href="http://www.ebnchina.com/">EBN
China</A><BR> • <A class=nnLink
href="http://www.electronics-express.com/">Electronics
Express</A><BR> • <A class=nnLink
href="http://www.netseminar.com/">NetSeminar
Services</A><BR> • <A class=nnLink
href="http://www.questlink.com/">QuestLink</A><BR></TD></TR></TBODY></TABLE><BR><!-- leftToc3.html -->
<TABLE cellSpacing=0 cellPadding=0 width=184 border=0>
<TBODY>
<TR>
<TD vAlign=top align=left bgColor=#ffffcc><!-- DESIGN LIBRARY BUTTON -->
<CENTER><A href="http://www.eet.com/designlibrary"><IMG
height=101
src="Embedded_com - Introduction to UML statecharts.files/deslib_button.gif"
width=134 border=0></CENTER><BR><BR><!--This has been discontinuedCMP PRODUCT CATALOGS <table border="0" cellpadding="0" cellspacing="0" width="184"> <TR> <TD><a href="/directories"><IMG SRC="http://i.cmpnet.com/embedded/redesign/prod_cat.gif" ALT="Product Catalogs" WIDTH="184" HEIGHT="19" BORDER="0" VSPACE="1"></a></TD> </TR> <TR> <TD BGCOLOR="#FFFFCC"><CENTER><FONT FACE="verdana, arial, sans-serif" SIZE="1"><BR> <CENTER> <A HREF="/directories/embedded/motorola2003/index.html"><IMG SRC="http://i.cmpnet.com/embedded/db_area/motorola2003/gifs/mot_home.gif" ALT="Motorola Smart Networks Resource Guide 2003" BORDER="0"> <br clear="all">Motorola Smart Networks Resource Guide 2003</A></CENTER><BR></FONT> </TD> </TR> </table>End CMP PRODUCT CATALOGS--><!-- Network Resources -->
<TABLE cellSpacing=0 cellPadding=0 width=184 border=0>
<TBODY>
<TR>
<TD vAlign=top align=middle bgColor=#ffffcc><IMG
height=19
src="Embedded_com - Introduction to UML statecharts.files/nr_header.gif"
border=0 wdth="184"> </TD></TR>
<TR>
<TD vAlign=top align=middle bgColor=#ffffcc><!-- Job Search -->
<FORM name=search
action=http://jobs.theworkcircuit.com/wc/ors_jsearch.p_adv_search
method=post><A
href="http://jobs.theworkcircuit.com/"><IMG
height=13 alt="International Job Search"
src="Embedded_com - Introduction to UML statecharts.files/nr_jobs.gif"
width=184 border=0></A> <INPUT
maxLength=50 size=15 name=p_keyword> <INPUT
type=image height=17 width=17
src="F:\20031216\Embedded_com - Introduction to UML statecharts.files\go(1).gif"
border=0 name=button></FORM><!-- e-cyclopedia Search --><!-- removed 7/7/2003 --><!-- <form method="GET" action="/leftResources/encycSearch.jhtml"><a href="http://www.eetnetwork.com/encyclopedia"><img src="http://i.cmpnet.com/embedded/redesign/nr_ecyclo.gif" width="184" height="13" border="0" alt="eCyclopedia"></a> <input name="term" size="15" type="text"><input type="image" src="http://i.cmpnet.com/embedded/redesign/go.gif" width="17" height="17" border="0" ALT="Search"></form> --><!-- eLibrary Search -->
<FORM action=/leftResources/eLibrarySearch.jhtml
method=get><A href="http://edtn.bitpipe.com/"><IMG
height=13 alt=eLibrary
src="Embedded_com - Introduction to UML statecharts.files/nr_library.gif"
width=184 border=0></A><BR><INPUT type=hidden
value=eet name=site> <INPUT type=hidden
value=bpres name=cp> <INPUT type=hidden
value=site_abbrev:edtn name=qp> <INPUT type=hidden
value=1 name=st> <INPUT type=hidden value=bpres
name=cr> <INPUT type=hidden value=trm name=ct>
<INPUT type=hidden value=bporg name=co>
<INPUT size=15 name=qt> <INPUT
id=elibrGoButton type=image height=17 alt=Search
width=17
src="F:\20031216\Embedded_com - Introduction to UML statecharts.files\go(1).gif"
border=0> </FORM><!-- NetSeminar Search --><!-- removed 7/7/2003 --><!-- <form action="/leftResources/seminarSearch.jhtml" METHOD=POST><a href="http://www.eet.com/netseminar.html"><img src="http://i.cmpnet.com/embedded/redesign/nr_netsem.gif" width="184" height="19" border="0" alt="Online Seminars"></a> <input type=text size=15 name=generalKeyword maxlength="35" value=""><input type="image" name="SEARCH" ALT="Search" src="http://i.cmpnet.com/embedded/redesign/go.gif" width="17" height="17" border="0"><p></form> --></TD></TR></TBODY></TABLE><IMG
height=10
src="Embedded_com - Introduction to UML statecharts.files/spacer.gif"
width=184 border=0> <!-- NEWSLETTER BUTTON -->
<CENTER><A
href="http://www.eetimesnetwork.com/register/newsletters"><IMG
height=99
src="Embedded_com - Introduction to UML statecharts.files/newsletter_left.gif"
border=0
wdth="134"></A></CENTER><BR><BR></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD bgColor=#666699> </TD>
<TD colSpan=2> </TD></TR>
<TR>
<TD vAlign=top align=middle colSpan=3><FONT face=verdana,arial
size=1><A
href="http://www.cmpnet.com/delivery/copyright.html">Copyright
© 2003 CMP Media LLC</A><BR><A
href="http://www.cmpnet.com/delivery/privacy.html">Privacy
Statement</A></FONT>
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
<TD vAlign=top>
<TABLE cellSpacing=0 cellPadding=0 width=575>
<TBODY>
<TR><!-- BODY -->
<TD vAlign=top align=left width=433 bgColor=#ffffff>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD colSpan=2> </TD></TR>
<TR>
<TD vAlign=top align=left width=18 bgColor=#ffffff><IMG
height=1
src="Embedded_com - Introduction to UML statecharts.files/spacer.gif"
width=18> </TD>
<TD vAlign=top align=left width=415 bgColor=#ffffff><!-- headline -->
<H2><FONT face=verdana,arial>Introduction to UML
statecharts</FONT></H2><!-- /headline --><!-- sub head --><!-- /sub head -->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top align=left
colSpan=2><!-- author(s) --><FONT face=verdana,arial
size=2>By Bruce Powel Douglass</FONT> <!-- /author(s) --></TD></TR>
<TR>
<TD vAlign=top align=left><!-- site --><FONT
face=verdana,arial size=2><B><A
href="http://www.embedded.com/">Embedded Systems
Programming</A> </B></FONT><!-- /site --><BR><!-- date --><FONT
face=verdana,arial size=2>(08/26/03, 15:00:00 PM
EDT)</FONT><BR><!-- /date --></TD>
<TD vAlign=bottom align=right><NOBR><!-- print this article --><A
title="Print This Story"
href="http://www.embedded.com/shared/printableArticle.jhtml?articleID=13900141"><IMG
height=21
src="Embedded_com - Introduction to UML statecharts.files/print_button.gif"
width=79 border=0></A> <!-- /print this article --><!-- email this article -->
<SCRIPT language=javascript> <!-- function launcher(art_id) { uri ="/shared/emailArticle.jhtml?articleID=" + art_id; window.open(uri,"","toolbar=no,scrollbars=auto,location=no,status=no,width=500,height=500,resizable=1") } //--> </SCRIPT>
<A href="javascript:launcher(13900141)"><IMG height=21
src="Embedded_com - Introduction to UML statecharts.files/send_button.gif"
width=71
border=0></A><BR><!-- /email this article --></NOBR></TD></TR>
<TR>
<TD vAlign=top align=left
colSpan=2> </TD></TR></TBODY></TABLE><FONT
face=verdana,arial size=2><STORY><!-- article body --><!-- BODY --><FONT
face=Verdana size=2>
<P><FONT face=Verdana color=#003366 size=2><B>The Unified
Modeling Language (UML) uses a variety of diagrams to model
systems. In this third and final installment, statecharts are
explained.</B></FONT>
<P>The term <I>reactive</I> is applied to objects that respond
dynamically to incoming events of interest and whose behavior
is driven by the order of arrival of those events. Such
objects are usually modeled and often implemented as finite
state machines. A feature of the graphical Unified Modeling
Language (UML), called statecharts, makes modeling reactive
objects a breeze.
<P>A finite state machine (FSM) specifies the events of
interest to a reactive object, the set of states that object
may assume, and the actions (and their order of execution) in
response to incoming events in any given state. This is
crucial in many systems because the allowable sequences of
primitive behaviors may be restricted.
<P><IMG
src="Embedded_com - Introduction to UML statecharts.files/0309bcfig1.gif"
border=0><BR clear=all><B>Figure 1: Statechart example</B>
<P><FONT face=Verdana color=#003366 size=3><B>State
awareness</B></FONT><BR>Consider Figure 1, which shows a
statechart of a non-invasive blood pressure (NIBP) monitor.
This statechart specifies the various states (shown as rounded
rectangles) and the transi
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -