Skip to content

Commit 2e61031

Browse files
committed
Final fix of #72
1 parent 6765be9 commit 2e61031

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spectro.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,10 +318,10 @@ def prepareMeasure(self, device, intTime=10, triggerred=False,
318318
# hardware-triggered or not.
319319
# I actually don't know the reason of such an error, but it might
320320
# be that the dll version is not optimal.
321-
Meas.m_SaturationDetection = int(triggerred)
321+
Meas.m_SaturationDetection = 0
322322

323323
# Trigger configuration.
324-
Meas.m_Trigger_m_Mode = ctypes.c_ubyte(0)
324+
Meas.m_Trigger_m_Mode = int(triggered)
325325
Meas.m_Trigger_m_Source = ctypes.c_ubyte(0)
326326
Meas.m_Trigger_m_SourceType = ctypes.c_ubyte(0)
327327

0 commit comments

Comments
 (0)