snu-quiqcl / wlm-server

Server for controlling and monitoring High Finesse wavelength meter
0 stars 0 forks source link

Initialize wlm communication #3

Closed BECATRUE closed 4 months ago

BECATRUE commented 4 months ago

Feature you want to implement

As the first step, I will initialize the wlm communication. In addition, I will add a template config file for FastAPI server and a corresponding shell script file.

How the feature is implemented

Using Lifespan events in FastAPI, I will start (stop) the communication before (after) the main server operation.

Additional context

See also: PyLabLib wlm docs