navigate Logo

Getting Started

  • Quick Start Guide
  • Software Installation
  • I Want To…

User Guide

  • Supported Hardware
  • Supported File Formats
  • User Interface Walkthrough
  • Setting Up A Microscope
  • Acquiring Data
  • Case Studies

Development

  • Contributing Guidelines
  • Developer Install
  • Software Architecture
  • Feature Container
  • REST-API
  • Plugin Architecture

Troubleshooting & Known Issues

  • Troubleshooting
  • Known Issues

Plugins

  • navigate Plugin Template
  • navigate Confocal Projection
  • navigate at Scale
  • navigate Constant Velocity Acquisition
  • navigate MMCore
  • navigate ilastik Server
  • navigate Photoactivation

Reference

  • Implemented Microscopes
  • Software API
    • navigate.config
    • navigate.controller
    • navigate.log_files
    • navigate.model
      • navigate.model.analysis
      • navigate.model.concurrency
      • navigate.model.data_sources
      • navigate.model.device_startup_functions
      • navigate.model.devices
        • navigate.model.devices.camera
        • navigate.model.devices.daq
        • navigate.model.devices.device_types
        • navigate.model.devices.filter_wheel
        • navigate.model.devices.galvo
        • navigate.model.devices.laser
        • navigate.model.devices.mirror
        • navigate.model.devices.objectives
        • navigate.model.devices.remote_focus
        • navigate.model.devices.shutter
        • navigate.model.devices.stage
        • navigate.model.devices.zoom
      • navigate.model.features
      • navigate.model.metadata_sources
      • navigate.model.microscope
      • navigate.model.model
      • navigate.model.plugins_model
      • navigate.model.waveforms
    • navigate.tools
    • navigate.view
navigate
  • Software API
  • navigate.model
  • navigate.model.devices
  • navigate.model.devices.galvo
  • navigate.model.devices.galvo.ni
  • navigate.model.devices.galvo.ni.NIGalvo
  • View page source

navigate.model.devices.galvo.ni.NIGalvo

class navigate.model.devices.galvo.ni.NIGalvo(microscope_name: str, device_connection: Any, configuration: Dict[str, Any], device_id: int = 0)

Bases: GalvoBase, NIDevice

GalvoNI Class - NI DAQ Control of Galvanometers

__init__(microscope_name: str, device_connection: Any, configuration: Dict[str, Any], device_id: int = 0) → None

Initialize the GalvoNI class.

Parameters:
  • microscope_name (str) – Name of the microscope.

  • device_connection (Any) – Connection to the NI DAQ device.

  • configuration (Dict[str, Any]) – Dictionary of configuration parameters.

  • device_id (int) – Galvo ID. Default is 0.

Methods

__init__(microscope_name, device_connection, ...)

Initialize the GalvoNI class.

adjust(exposure_times, sweep_times)

Adjust the galvo to the readout time

turn_off()

Turn off the galvo.

Attributes

microscope_name

Name of the microscope.

configuration

Configuration parameters.

galvo_id

Galvo ID.

trigger_source

Name of the NI port for galvo control.

daq

NI DAQ device connection.

adjust(exposure_times, sweep_times) → Dict[str, Any]

Adjust the galvo to the readout time

Parameters:
  • exposure_times (dict) – Dictionary of exposure times for each selected channel

  • sweep_times (dict) – Dictionary of sweep times for each selected channel

Returns:

Dictionary with the adjusted waveforms.

Return type:

waveform_dict

turn_off() → None

Turn off the galvo. Turns off the galvo. NOTE: This will only work if there isn’t another task bound to this channel. This should only be called in microscope.terminate().

camera_delay

Camera delay

Type:

float

configuration

Configuration parameters.

Type:

dict

daq

NI DAQ device connection.

Type:

obj

device_config

Dictionary of device connections.

Type:

dict

device_connection

Device connection.

Type:

Any

galvo_id

Galvo ID.

Type:

int

galvo_max_voltage

Galvo max voltage.

Type:

float

galvo_min_voltage

Galvo min voltage.

Type:

float

galvo_name

Name of the galvo.

Type:

str

galvo_waveform

Galvo waveform. Waveform or Sawtooth.

Type:

str

microscope_name

Name of the microscope.

Type:

str

sample_rate

Sample rate.

Type:

int

sweep_time

Sweep time.

Type:

float

trigger_source

Name of the NI port for galvo control.

Type:

str

waveform_dict

Dictionary of galvo waveforms.

Type:

dict

Previous Next

© Copyright 2025, Dean Lab, UT Southwestern Medical Center.