Developer resource: Widget for latest output data #1119
pyZerrenner
started this conversation in
Ideas
Replies: 1 comment
-
Nice tool, thanks for sharing your work!! Nice to see new tab widgets! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While writing a measurement program with PyMeasure, I developed a couple of features that I would like to share with the community. They are not very user friendly, so I provide the scripts "as-is" and you can use them at you own risk. I encourage you to first understand the code before implementing it in your program.
My first feature is a new tab in the managed window, that simply displays the latest value that has been recorded by the currently running measurement. I find it helpful to have a live overview of all relevant quantities at once. Especially data that is relevant for running my experiment and for safety considerations (in my case pressure, temperature and water flow rate). You can specify which outputs from the procedure's
DATA_COLUMNS
to display and how many decimal digits to use.The below zip-file consists of two scripts
LatestOutputWidget
that is added to thewidget_list
of aManagedWindow
.latest_output_widget.zip
Preview screenshot of the MWE:
Beta Was this translation helpful? Give feedback.
All reactions