sanipy
sanipy is a command-line tool for epics connection testing.
It has two commands (check and compare) and a few option switches (described in sani.py -h
and sani.py COMMAND -h
).
The data
folder contains some channel lists and output files for testing.
check
./sani.py check data/test_chans_good.txt
./sani.py check data/test_chans_bad.txt
Successful connections will be marked in green, failed connection in red, and alarm states will be printed in yellow.
compare
./sani.py compare data/test1.csv data/test4 -v
./sani.py compare data/test1.csv data/test3
Entries that are identical in both files will not be shown. Differences will be printed as LEFT | RIGHT
.
(Note that .csv
is automatically appended to filenames if missing.)