psc_datalogger
Provide a GUI interface to allow logging measurements from one to three Multimeters. Supported multimeters are the Agilent 3458A and 34401A devices. Logging is done at a configurable interval. It can be also be configured to convert voltage readings into a temperature, if a Analog Devices AD8494 Thermocouple Amplifier is connected to the multimeter. The data is output in a CSV format.
Installation
The simplest way to install this program is to use pip to install it directly from this repository:
python -m venv venv
source venv/bin/activate
pip install git+https://github.com/DiamondLightSource/psc-datalogger.git
Then the application can be started:
psc-datalogger
Building Windows Executable
This project can be built and distriubted as a Windows .exe file. The tool used, pyinstaller, is included in the Dev dependencies.
To create the application follow these instructions:
git clone https://github.com/DiamondLightSource/psc-datalogger.git
cd psc-datalogger
python -m venv venv
venv\Scripts\activate
pip install .[dev]
pyinstaller --hidden-import pyvisa_py --noconfirm --log-level=WARN --onefile --name psc_datalogger src\psc_datalogger\__main__.py
The application will appear in the dist folder. Each parameter of the pyinstaller command line is:
--hidden-import pyvisa_py- ThePyVISA-pymodule is actually stored on disk aspyvisa_py, so tell the installer to include it explicitly--noconfirm- Don't warn when about to delete a previous build--log-level=WARN- Only print warning (or higher) log messages when building. Note a successful build does emit a warning about "sip" module not being found, and another saying "only basenames are supported with ctypes imports". These appear to be harmless.--onefile- Package the build into a single.exefile (as opposed to a single directory)--name psc_datalogger- Give a name to the build application (otherwise it copies the name of the start script)src\psc_datalogger\__main__.py- Specify the main entry point of the application
Lastly, move the built application to a known distribution location under "S:\Technical\Power_Supplies\Software\Python_datalogger"
Metadata
Release files for psc-datalogger 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| psc_datalogger-1.1.0.tar.gz | 78.6 kB | Without provenance | Details for psc_datalogger-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| psc_datalogger-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for psc_datalogger-1.1.0-py3-none-any.whl |
Total release size: 103.9 kB
Release files / psc_datalogger-1.1.0.tar.gz
| Download URL | psc_datalogger-1.1.0.tar.gz |
|---|---|
| Size | 78.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e73d6045243f1c96637162a5bd6602a8b786ca1c33985312c565088ad1817e2f
|
|
BLAKE2b-256 checksum How to use checksums |
d9b4eb51cd2322565b0a9f48628d5ea911161a2439350f6f5337f516ee079ede
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / psc_datalogger-1.1.0-py3-none-any.whl
| Download URL | psc_datalogger-1.1.0-py3-none-any.whl |
|---|---|
| Size | 25.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8577328314e22140c2bb54a14cccae1c413f2920a042d5c5eaa66080e23bfe5f
|
|
BLAKE2b-256 checksum How to use checksums |
9c10d0b785a5a471b71e6c93d2e14c08bbfb24d90939d3eff20201ca2224c429
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for psc-datalogger 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.