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: Ed Janke via Tech-talk <tech-talk at aps.anl.gov>
To: Rees Simon <simon.rees at psi.ch>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 1 Jul 2025 19:03:03 +0000

Hi Rees,

 

Thanks for reaching out and the suggestion – I gave both ChatGPT and CoPilot a try, but it looks like many of the sequence files I tried breached the character limits of the tool (sequence contains (48k characters)!  Clearly I need to be making smaller sequences, haha. 

 

But still an interesting idea – I’ll keep hunting around for other LLM/systems that might have larger character limits as this could still prove interesting.

 

 

Cheers,

Ed Janke

 

From: Rees Simon <simon.rees at psi.ch>
Date: Friday, June 27, 2025 at 12:05
AM
To: Ed Janke <ejanke at keck.hawaii.edu>, tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: Generation of state diagram documentation from SNL

[You don't often get email from simon.rees at psi.ch. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

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
>


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
Re: Generation of state diagram documentation from SNL Rees Simon via Tech-talk

Navigate by Date:
Prev: Re: [EXTERNAL] Re: using PI C-863 Mercury motor controller with linux Dariush Hampai via Tech-talk
Next: Recall: 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
Navigate by Thread:
Prev: Re: Generation of state diagram documentation from SNL Rees Simon 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 ·