From 936cd591a294ab58a02a419674d39428f924ef09 Mon Sep 17 00:00:00 2001
From: Runner PC Cavity Lab <johannes.schabbauer@tuwien.ac.at>
Date: Fri, 28 Mar 2025 11:58:03 +0100
Subject: [PATCH] TimeTagger: Define Gate DO as inverted

---
 FastComtecMCS8A/labscript_devices.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/FastComtecMCS8A/labscript_devices.py b/FastComtecMCS8A/labscript_devices.py
index a435fb8..5156e06 100644
--- a/FastComtecMCS8A/labscript_devices.py
+++ b/FastComtecMCS8A/labscript_devices.py
@@ -22,7 +22,7 @@ class MCS8A(TriggerableDevice):
 
         if SPCM_gate_parent is not None:
             self.SPCM_gate = Trigger(
-                f"{name}_SPCM_gate", SPCM_gate_parent, SPCM_gate_connection, trigger_edge_type="falling"
+                f"{name}_SPCM_gate", SPCM_gate_parent, SPCM_gate_connection, trigger_edge_type="falling",inverted=True
             )
 
     def acquire(self, t, duration, trigger_duration=None, label=""):
-- 
GitLab