Skip to content
Integrations

Can instrument connections stay open across an entire unit or station session?

Updated August 6, 2026

Yes. Plugs have a lifecycle scope: phase, slot, run, or station. With scope: station, the plug class is constructed once in a long-lived Python process, its connections stay open across units until the station stops, and only the first unit after startup pays the connection cost. Every test method reuses the same live object, so instrument sessions are never reopened between phases or between units.

Related questions

Still have a question?