Commit 5e4bbf4e authored by Emmanuel Papillon's avatar Emmanuel Papillon
Browse files

move marana multiplexer to CAM4

be sure lima mode is SINGLE on default chain
parent 171c8479
......@@ -23,6 +23,11 @@ def _get_chain_device_config(name, dev):
def set_default_chain():
DEFAULT_CHAIN.set_settings(_get_chain_config("chain_tdxrd_gate"))
for dev in DEFAULT_CHAIN._settings:
try:
dev.acquisition.mode = "SINGLE"
except:
pass
def set_accumulation(limadev, acc_max_expo_time=None):
dev_config = _get_chain_device_config("chain_tdxrd_acc", limadev)
......@@ -89,7 +94,7 @@ class CountMuxPreset(ChainPreset):
self.opmux.switch("CAM1", "ON")
self.opmux.switch("CAM2", "ON")
self.opmux.switch("CAM3", "ON")
self.opmux.switch("MARANA", "ON")
self.opmux.switch("CAM4", "ON")
def start(self, chain):
if self.soft_fsh:
......@@ -103,7 +108,7 @@ CAM2MUX = {
"frelon1": "CAM1",
"frelon2": "CAM2",
"frelon3": "CAM3",
"marana": "MARANA",
"marana": "CAM4",
"frelon16": "CAM1",
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment