Interface AcquisitionSettingsChangedEvent

All Superinterfaces:
MMEvent

public interface AcquisitionSettingsChangedEvent extends MMEvent
The default implementation of this event posts on the Studio event bus, so subscribe to this event using EventManager.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the freshly changed SequenceSettings.
    default boolean
    Indicates whether these settings belong to the application's primary acquisition engine, i.e.
  • Method Details

    • getNewSettings

      SequenceSettings getNewSettings()
      Return the freshly changed SequenceSettings. This event should occur very soon after new SequenceSettings were sent to the AcquisitionEngine.
      Returns:
      Newly changed SequenceSettings
    • isPrimaryEngine

      default boolean isPrimaryEngine()
      Indicates whether these settings belong to the application's primary acquisition engine, i.e. the one driving the MDA window, as opposed to a secondary engine such as a Test Acquisition.

      Secondary engines derive their settings from the MDA window and then modify them for their own purposes (a Test Acquisition, for instance, switches off saving, time-lapse, and the position list). Those modified settings are not the user's MDA settings, so subscribers that mirror the state of the MDA window should ignore events for which this returns false. Subscribers that simply want to observe whatever acquisition is being set up can ignore this method.

      Defaults to true, which is the behavior of this event before this method was introduced.

      Returns:
      true if these settings came from the primary acquisition engine.