Hi,
Is it possible to retrieve the Operator Name and Station settings from within a Python plugin?
King regards,
Bram
Hi,
Is it possible to retrieve the Operator Name and Station settings from within a Python plugin?
King regards,
Bram
Operator Name is stored in EngineSettings. You should be able to get that from:
EngineSettings.Current().OperatorName
What do you mean by Station Settings? If you are just looking for the Station name, you can get that using:
EngineSettings.Current().StationName
If you are looking for Bench Profile information, you can use the InstrumentSettings
or DutSettings
objects.
Hi Brennen,
Sorry it took me a while to respond.
That’s exactly what I needed, but it’s Current without ()
I used:
OpenTap.EngineSettings.Current.OperatorName
OpenTap.EngineSettings.Current.StationName
Bram
Sorry, poor conversation from C# to Python on my side. Glad it is what you needed though.