forked from M-Labs/artiq
coredevice: only import common RTIO exceptions
This commit is contained in:
parent
8f67062543
commit
d0af58d122
|
@ -1,12 +1,11 @@
|
||||||
from artiq.coredevice import exceptions, dds, spi
|
from artiq.coredevice import exceptions, dds, spi
|
||||||
from artiq.coredevice.exceptions import (RTIOUnderflow, RTIOSequenceError,
|
from artiq.coredevice.exceptions import (RTIOUnderflow, RTIOSequenceError,
|
||||||
RTIOCollision, RTIOOverflow, RTIOBusy,
|
RTIOCollision, RTIOOverflow, RTIOBusy)
|
||||||
DDSBatchError, CacheError)
|
|
||||||
from artiq.coredevice.dds import (PHASE_MODE_CONTINUOUS, PHASE_MODE_ABSOLUTE,
|
from artiq.coredevice.dds import (PHASE_MODE_CONTINUOUS, PHASE_MODE_ABSOLUTE,
|
||||||
PHASE_MODE_TRACKING)
|
PHASE_MODE_TRACKING)
|
||||||
|
|
||||||
__all__ = []
|
__all__ = []
|
||||||
__all__ += ["RTIOUnderflow", "RTIOSequenceError", "RTIOCollision",
|
__all__ += ["RTIOUnderflow", "RTIOSequenceError", "RTIOCollision",
|
||||||
"RTIOOverflow", "RTIOBusy", "DDSBatchError", "CacheError"]
|
"RTIOOverflow", "RTIOBusy"]
|
||||||
__all__ += ["PHASE_MODE_CONTINUOUS", "PHASE_MODE_ABSOLUTE",
|
__all__ += ["PHASE_MODE_CONTINUOUS", "PHASE_MODE_ABSOLUTE",
|
||||||
"PHASE_MODE_TRACKING"]
|
"PHASE_MODE_TRACKING"]
|
||||||
|
|
Loading…
Reference in New Issue