Martin Luther University Halle-Wittenberg

Further settings

Login for editors

Programmierung

Below, rudimentary program snippets in Python3 are given, which are used to control various measuring devices in the lab course. For the students of the course there is a detailed introduction to the control with Python & PyVisa. This replaces the previous control by LabView.

EWD100 serial control
EWD100_CRC16_conversion.py (internal only) (3.7 KB)  vom 07.10.2024

Readout of a NiCr-Ni thermoelement via a DMM (GPIB)
read_DMM_thermoelement.py (internal only) (2.1 KB)  vom 07.10.2024

Control of an AFG1022 by Tektronix (USB)
control_AFG1022.py (internal only) (2.4 KB)  vom 07.10.2024

Readout channel U(t) of a Tektronix oscilloscope type 1064
tektronix_1064_oscilloscope_read.py (internal only) (3.1 KB)  vom 10.10.2024

time-dependent loop with keyboard interruption - file name with time stamp
time_dependent_while_loop_datetime_file.py (internal only) (2 KB)  vom 19.10.2024

Polynomial fit of a dataset
fit_dataset_by_polynomial.py (internal only) (1.1 KB)  vom 21.10.2024

Fitting of an arbitrary function (lms algorithm)
least_square_model_fit.py (internal only) (2.7 KB)  vom 21.10.2024

Up