Skip to content

Lantz server : centralize instrument control for seamless multiprocess integration #15

Description

@MatthieuDartiailh

The idea was first mentioned in LabPy/lantz_drivers#5 by @alexforencich and find a resonance with private discussions between @hgrecco and myself.
The idea is that it may be desirable to centralize all communication with the instrument using a kind of server which would allow to have multiple-processes use seamlessly the same instrument without possible conflicts or cache corruption.

Some roughs ideas about such a design :

  • when a connection to an instrument is required a keyword could allow to ask to attempt to connect to the central server if it is running. If it is, a Proxy to the instrument is returned.
  • the proxy should be as smart as possible to limit the number of communications with the server. Synchronizing the cache would be best and copying the driver features would work best in that case.
  • whatever we end up with to plug the GUI onto the instrument we should be able to do the same on the proxy.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions