EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Document, visualize SNL code?
From: "Al Honey" <[email protected]>
To: "Kay-Uwe Kasemir" <[email protected]>, "tech talk" <[email protected]>
Date: Wed, 17 May 2006 08:04:00 -1000
Aloha

There is a state machine compiler (SMC at sourceforge I think) that is
written in Java and generates code for various different languages. It
might be more expedient to modify that to generate SNL than to start
from scratch.

I have not used SMC for any serious project but I have used it as a
teaching aid with middle school kids, whilst teaching robotics.

AH

-----Original Message-----
From: Kay-Uwe Kasemir [mailto:[email protected]] 
Sent: Wednesday, May 17, 2006 7:05 AM
To: tech talk
Subject: Document, visualize SNL code?

Hello:

Has anybody out there come up with a good way to document
sequencer (SNL) - based code?
Do you use ordinary C comments in the code?
A drawing program to generate a state diagram,
manually keeping that in sync with the SNL code?

A while ago, Steve Hunt presented initial work on a Java tool
for drawing state diagrams and generating skeleton SNL.
Is anybody using that or something similar to create SNL?

Primarily, I'd be interested in going the other way around.
I have SNL code, and would like to visualize it for several
reasons as a state diagram.
Does somebody have e.g. a perl script that generates graphviz 'dot'
files from the SNL?
Maybe not the full SNL, only selected states and transitions
marked by special comments?

Or have most of you come to the conclusion that state diagrams
are great for advertising state machines, but any real state
machine is far to complex to be drawn as a diagram?

Thanks,
-Kay



Navigate by Date:
Prev: RE: Document, visualize SNL code? Chestnut, Ronald P.
Next: Re: bug in break-point table conversion Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Document, visualize SNL code? Chestnut, Ronald P.
Next: EPICS Training Course: date change to Sept 11-15th 2006 Philip Taylor
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024