Skip to content
RBSystems edited this page May 14, 2016 · 1 revision

smw2dot

Description

Very simple converter that can create a map of signals used in smw/umc/cmc configurational files of http://www.crestron.com equipment in a form of graph (http://en.wikipedia.org/wiki/DOT_language file format). It requires software pack from http://www.graphviz.org to create a pictures from dot-files.

Usage

If you get SMW file from SIMPL Windows or UMC/CMC module. (i.e. looking like )

Than basic usage with result looking like will be:

$ python smw2dot analog_bool.umc > analog_bool.dot
$ dot -Tpng -o analog_bool.png analog_bool.dot

Different way with result is:

$ python smw2dot.py -m -o analog_bool.dot analog_bool.umc
$ dot -Tpng -o analog_bool.png analog_bool.dot

There is some primitive help function =)

$ python smw2dot.py -h
Usage: smw2dot.py [options] inputfile
inputfile of smw/umc/cmc Crestron's filetypes

Options:
  -h, --help            show this help message and exit
  -o FILE, --output=FILE
                        write result to FILE
  -m, --merged          make "merged signals" version

Internals

Pictures =)

module in SIMPL Windows environment module after conversion to png

Have !

Clone this wiki locally