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.device_startup_functions.auto_redial
        • navigate.model.device_startup_functions.device_not_found
        • navigate.model.device_startup_functions.load_devices
        • navigate.model.device_startup_functions.start_daq
        • navigate.model.device_startup_functions.start_device
        • navigate.model.device_startup_functions.DummyDeviceConnection
        • navigate.model.device_startup_functions.IntegratedDeviceFactory
        • navigate.model.device_startup_functions.SequenceDeviceFactory
        • navigate.model.device_startup_functions.SerialConnectionFactory
      • navigate.model.devices
      • 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.device_startup_functions
  • navigate.model.device_startup_functions.SerialConnectionFactory
  • View page source

navigate.model.device_startup_functions.SerialConnectionFactory

class navigate.model.device_startup_functions.SerialConnectionFactory

Bases: object

Serial Connection Factory.

This class is used to build serial connections to devices.

__init__()

Methods

__init__()

build_connection(build_connection_function, args)

Builds a serial connection to a device.

classmethod build_connection(build_connection_function: ~typing.Callable[[...], ~typing.Any], args: ~typing.Tuple[~typing.Any, ...], exception: ~typing.Type[Exception] = <class 'Exception'>) → Any

Builds a serial connection to a device.

This method establishes a connection to a device using the provided connection-building function and arguments. If the connection does not exist, it will be created and stored.

Parameters:
  • build_connection_function (Callable) – Function that builds the connection to the device.

  • args (Tuple) – Arguments to the build_connection_function

  • exception (Type[Exception]) – Exception to catch when building the connection

Returns:

connection – Connection to the device

Return type:

Any

:raises exception : Exception: If the connection building process fails, the specified exception is raised.

Previous Next

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