run_iocsh.ioc¶
Class, exceptions, and utility functions for running an IOC and capturing output.
Attributes¶
Exceptions¶
Base class for exceptions in this module. |
|
Exception raised when the required module is not found. |
|
Exception raised when the iocsh script exits with a non null return code. |
|
Exception raised when a timeout occurred trying to send exit to the softIOC. |
|
Exception raised when IOC is started a second time. |
|
Exception raised when shared library is missing. |
Classes¶
Class to wrap IOC process. |
Functions¶
|
Run an IOC, exit, and parse the output. |
Module Contents¶
- exception run_iocsh.ioc.RunIocshError[source]¶
Bases:
ExceptionBase class for exceptions in this module.
- exception run_iocsh.ioc.IocshModuleNotFoundError[source]¶
Bases:
RunIocshErrorException raised when the required module is not found.
- exception run_iocsh.ioc.IocshProcessError[source]¶
Bases:
RunIocshErrorException raised when the iocsh script exits with a non null return code.
Only raised if no error was catched (and another exception raised).
- exception run_iocsh.ioc.IocshTimeoutExpiredError[source]¶
Bases:
RunIocshErrorException raised when a timeout occurred trying to send exit to the softIOC.
- exception run_iocsh.ioc.IocshAlreadyRunningError[source]¶
Bases:
RunIocshErrorException raised when IOC is started a second time.
Bases:
RunIocshErrorException raised when shared library is missing.