EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Generation of state diagram documentation from SNL
From: Rees Simon via Tech-talk <tech-talk at aps.anl.gov>
To: Ed Janke <ejanke at keck.hawaii.edu>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 27 Jun 2025 10:04:37 +0000
Dear Ed

An alternative, low-effort, approach that might work as a “quick
look” at the states in your SNL file, is to ask ChatGPT to
generate a PlantUML (or perhaps Mermaid) diagram for you.

Just for fun I asked the GPT-4o model to visualize the states
in the homing procedure that initializes one of our
stepper-motor controlled range-shifter devices.

It seems to have made a reasonable job of it (see attached
screenshot), though not as detailed as the diagram I made
years ago, laboriously, using a UML modelling tool.

Just throwing the idea out there, although most of you are
probably already aware of it…

Best regards

Simon Rees


On 27.06.2025 02:55, Ed Janke via Tech-talk wrote:
> Hello!
> 
> Does anyone know if there is software out there that can parse the SNL 
> in an EPICS Sequence file to generate a state diagram for every state set?
> 
> I was considering doing this by hand but figured I would ask the greater 
> community in case this already exists.
> 
> Thanks,
> 
> Ed Janke
> 

Attachment: Screenshot 2025-06-27 at 12.02.20.png
Description: Screenshot 2025-06-27 at 12.02.20.png


Replies:
Re: Generation of state diagram documentation from SNL Ed Janke via Tech-talk
References:
Generation of state diagram documentation from SNL Ed Janke via Tech-talk

Navigate by Date:
Prev: Re: Generation of state diagram documentation from SNL Jure Varlec via Tech-talk
Next: Re: Generation of state diagram documentation from SNL DESMARCHELIER Gabriel via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025
Navigate by Thread:
Prev: Re: Generation of state diagram documentation from SNL Jure Varlec via Tech-talk
Next: Re: Generation of state diagram documentation from SNL Ed Janke via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025
ANJ, 01 Jul 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·