Skip to content

Commit b995744

Browse files
committed
undo mfp shenanigans
1 parent b79a0ee commit b995744

File tree

1 file changed

+0
-29
lines changed
  • src/navigate/model/devices/daq

1 file changed

+0
-29
lines changed

src/navigate/model/devices/daq/base.py

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
# Third Party Imports
3838

3939
# Local Imports
40-
from navigate.model.devices.APIs.asi.asi_tiger_controller import TigerController
4140
from navigate.model.waveforms import camera_exposure
4241
from navigate.tools.decorators import log_initialization
4342

@@ -101,8 +100,6 @@ def __init__(self, configuration: Dict[str, Any]) -> None:
101100
#: int: Number of times to expand the waveform
102101
self.waveform_expand_num = 1
103102

104-
self.tiger_controller = TigerController("COM4", 115200)
105-
106103
def __str__(self) -> str:
107104
"""Returns the string representation of the DAQBase class"""
108105
return "DAQBase"
@@ -172,29 +169,3 @@ def enable_microscope(self, microscope_name: str) -> None:
172169
microscope_name
173170
]["daq"]["sample_rate"]
174171

175-
def prepare_acquisition(self, channel_key: str) -> None:
176-
"""Prepare the acquisition.
177-
178-
Creates and configures the DAQ tasks.
179-
Writes the waveforms to each task.
180-
181-
Parameters
182-
----------
183-
channel_key : str
184-
Channel key for current channel.
185-
"""
186-
self.tiger_controller.TTL_Trigger()
187-
188-
189-
190-
def stop_acquisition(self) -> None:
191-
"""Stop Acquisition.
192-
193-
Stop all tasks and close them.
194-
"""
195-
try:
196-
self.tiger_controller.SAM("Galvo axis",0)
197-
except:
198-
print("Oh shoot, something went wrong!")
199-
200-
self.analog_output_tasks = {}

0 commit comments

Comments
 (0)