MWEL state graph

Hi Chris,

I wrote some code a while ago to parse the XML experiment files and produce a state machine graph (example attached). This helps me a lot during debugging, especially for more complicated expts.

Is there an easy way to convert the MWEL files to XML so I can use this?
Or alternatively, would you be interested in taking this code, bringing it up to date, and including it in MWorks?

Mark

Hi Mark,

Is there an easy way to convert the MWEL files to XML so I can use this?

Yes, like this:

/Library/Application\ Support/MWorks/MWEL/mwel2xml exp.mwel > exp.xml

If you want the output to be a bit more readable (by a human), use the option --omit-metadata:

/Library/Application\ Support/MWorks/MWEL/mwel2xml --omit-metadata exp.mwel > exp.xml

Cheers,
Chris