From: <jac...@us...> - 2013-04-02 16:01:05
|
Revision: 3134 http://sourceforge.net/p/openlcb/svn/3134 Author: jacobsen Date: 2013-04-02 16:01:03 +0000 (Tue, 02 Apr 2013) Log Message: ----------- add time protocol example diagrams Modified Paths: -------------- trunk/specs/drafts/mscgen/FindClockGetTime.msc trunk/specs/drafts/mscgen/FindClockGetTime.png Added Paths: ----------- trunk/specs/drafts/mscgen/FindClockWithNodeIdGetTime.msc trunk/specs/drafts/mscgen/FindClockWithNodeIdGetTime.png Modified: trunk/specs/drafts/mscgen/FindClockGetTime.msc =================================================================== --- trunk/specs/drafts/mscgen/FindClockGetTime.msc 2013-04-02 15:50:17 UTC (rev 3133) +++ trunk/specs/drafts/mscgen/FindClockGetTime.msc 2013-04-02 16:01:03 UTC (rev 3134) @@ -1,6 +1,6 @@ # MSC for a clock display starting up msc { - hscale = "1"; + wordwraparcs = "true"; o [label = "Other Nodes"], d [ label="Clock Display" ], g [ label="Clock Generator"] ; @@ -10,17 +10,8 @@ d->* [ label = "IdentifyProducers(global): Clock Event" ] ; g->* [ label = "ProducerIdentified(global): Clock Event" ] ; - --- [ label = "Display now has node ID for clock generator" ] ; + --- [ label = "Display now has node ID for clock generator, waits for time events with node ID in upper part " ] ; - d->g [ label = "IdentifyEvents" ] ; - g->* [ label = "ProducerRangeIdentified(global) : all produced events" ] ; - g->* [ label = "ProducerIdentifiedValid(global) : current time" ] ; - g->* [ label = "ProducerIdentifiedValid(global) : current date" ] ; - g->* [ label = "ProducerIdentifiedValid(global) : current year" ] ; - g->* [ label = "ProducerIdentifiedValid(global) : current rate" ] ; - - --- [ label = "Display now proper time, date and rate" ] ; - ... ; g->* [ label = "ProducerConsumerEventReport(global) : Time Event" ] ; ... ; Modified: trunk/specs/drafts/mscgen/FindClockGetTime.png =================================================================== (Binary files differ) Copied: trunk/specs/drafts/mscgen/FindClockWithNodeIdGetTime.msc (from rev 3133, trunk/specs/drafts/mscgen/FindClockGetTime.msc) =================================================================== --- trunk/specs/drafts/mscgen/FindClockWithNodeIdGetTime.msc (rev 0) +++ trunk/specs/drafts/mscgen/FindClockWithNodeIdGetTime.msc 2013-04-02 16:01:03 UTC (rev 3134) @@ -0,0 +1,31 @@ +# MSC for a clock display starting up +msc { + wordwraparcs = "true"; + + d [ label="Clock Display" ], g [ label="Clock Generator"] ; + + # Small gap + |||; + + d->g [ label = "IdentifyProducers(global): Clock Event" ] ; + d<-g [ label = "ProducerIdentified(global): Clock Event" ] ; + + --- [ label = "Display now has node ID for clock generator, request current status" ] ; + + d->g [ label = "IdentifyEvents" ] ; + d<-g [ label = "ProducerRangeIdentified(global) : all produced events" ] ; + d<-g [ label = "ProducerIdentifiedValid(global) : current time" ] ; + d<-g [ label = "ProducerIdentifiedValid(global) : current date" ] ; + d<-g [ label = "ProducerIdentifiedValid(global) : current year" ] ; + d<-g [ label = "ProducerIdentifiedValid(global) : current rate" ] ; + + d note g [ label = "Note that this assumes that no other events are produced from this node, which could be confused with time events", textbgcolour="#ff7f7f"]; + + --- [ label = "Display now proper time, date and rate event IDs with arbitrary upper part. Wait for time events." ] ; + + ... ; + g->* [ label = "ProducerConsumerEventReport(global) : Time Event" ] ; + ... ; + g->* [ label = "ProducerConsumerEventReport(global) : Time Event" ] ; + +} Added: trunk/specs/drafts/mscgen/FindClockWithNodeIdGetTime.png =================================================================== (Binary files differ) Index: trunk/specs/drafts/mscgen/FindClockWithNodeIdGetTime.png =================================================================== --- trunk/specs/drafts/mscgen/FindClockWithNodeIdGetTime.png 2013-04-02 15:50:17 UTC (rev 3133) +++ trunk/specs/drafts/mscgen/FindClockWithNodeIdGetTime.png 2013-04-02 16:01:03 UTC (rev 3134) Property changes on: trunk/specs/drafts/mscgen/FindClockWithNodeIdGetTime.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |