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.features
        • navigate.model.features.adaptive_optics
        • navigate.model.features.auto_tile_scan
        • navigate.model.features.autofocus
        • navigate.model.features.common_features
        • navigate.model.features.feature_container
        • navigate.model.features.feature_related_functions
        • navigate.model.features.image_writer
        • navigate.model.features.remove_empty_tiles
        • navigate.model.features.restful_features
        • navigate.model.features.update_setting
        • navigate.model.features.volume_search
      • navigate.model.metadata_sources
      • navigate.model.microscope
      • navigate.model.model
      • navigate.model.plugins_model
      • navigate.model.waveforms
    • navigate.tools
    • navigate.view
navigate
  • Acquiring Data
  • Currently Implemented Features
  • navigate.model.features.common_features
  • navigate.model.features.common_features.WaitForExternalTrigger
  • View page source

navigate.model.features.common_features.WaitForExternalTrigger

class navigate.model.features.common_features.WaitForExternalTrigger(model, trigger_channel='/PCIe-6738/PFI4', timeout=-1)

Bases: object

WaitForExternalTrigger class to time features using external input.

This class waits for either an external trigger (or the timeout) before continuing on to the next feature block in the list. Useful when combined with LoopByCount when each iteration may depend on some external event happening.

Notes:

  • This class pauses the data thread while waiting for the trigger to avoid camera timeout issues.

  • Only digital triggers are handeled at this time: use the PFI inputs on the DAQ.

__init__(model, trigger_channel='/PCIe-6738/PFI4', timeout=-1)

Initialize the WaitForExternalTrigger class.

Parameters:

modelMicroscopeModel

The microscope model object used for synchronization.

trigger_channelstr

The name of the DAQ PFI digital input.

timeoutfloat

Continue on anyway if timeout is reached. timeout < 0 will run forever.

Methods

__init__(model[, trigger_channel, timeout])

Initialize the WaitForExternalTrigger class.

signal_func()

Previous Next

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