pcdshub / engineering_tools

A repository of scripts, configuration useful for the PCDS team
Other
4 stars 26 forks source link

Fully test the event masks and fix temp file name #144

Closed mcb64 closed 1 year ago

mcb64 commented 1 year ago

Added the PID to the temporary file name to hopefully avoid collisions should two people be running the script at once.

The old version of the script only tested a few possible event mask values, the largest being 16, which didn't seem to be correct anyway. The detail part of the script has been rewritten to really test the values in the event mask, and also complain if the mask contains any values not supported by an event process.