Experimental Physics and
| |||||||||||||||
|
Through exec() calls a state machine can call any program or script Ahh... now I can see what you are trying to achieve. These are not the usual finite state machines, though, and the pluggable parts are not states (as the term is used in EPICS context). The sequencer is not the right tool to do this, neither probably are the FSM record or the Qt4 thing you were mentioning. You are looking for a generic script execution engine for an interpreted language, with (possibly) a graphical interface. The trickiest part of these things is getting the exception/error handling right, with the different options of ignoring vs. instant correcting vs. fallback vs. safe state transition. To sucessfully do that, state machine like behavior will be part of the solution, of course. The closest thing within the EPICS context (that I know of) is the PEM system you mentioned [1], used at the APS for their scripted operation procedures. It almost looks like what you described in your last mail - I don't know implementation details or recent developments, though. Other places to look would be the high level app frameworks: XAL and GDA might have interfaces that allow such kind of hierarchical script snippeting. Again: I would see the error handling always being the hard-to-get-right and crucial part of these engines. Good luck! Ralph [1] http://www.aps.anl.gov/Accelerator_Systems_Division/Operations_Analysis/manuals/APSPEM/APSPEM4.html
| ||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |