Thermal Control of an External Heat Load with the Nicslab XDAC
A closed temperature loop built from one XDAC-8MUB-R4G8, a thermoelectric cooler, and an NTC thermistor, run from a Python script using SCPI.
Rev 1.0 · PDF, 10 pages · Free scripts and data

APPLICATION NOTE, AN-XDAC-001
Download the note and the free files
The note as a PDF (10 pages) and a ZIP with the scripts and recorded data (18 files).
The download opens on Nicslab File Share. Enter your email there, and we send you a code to start the download. XDACfunctions.py is part of the Nicslab Premium package and is not in the ZIP.
SUMMARY
What this note shows
Measurement
Closed-loop temperature control of a 1 W resistive heat load, using a thermoelectric cooler (TEC) and a negative temperature coefficient (NTC) thermistor.
Instrument
Nicslab XDAC-8MUB-R4G8 multichannel source measure unit (SMU), with four of its eight channels used.
Control
Python using SCPI (Standard Commands for Programmable Instruments) over an Ethernet connection, with a proportional-integral-derivative (PID) loop running on the workstation and updating every 0.5 s.
Result
Temperature stability between 25 °C and 37 °C, with a standard deviation of 0.005 °C to 0.011 °C, read from the thermistor inside the loop at about 29 °C ambient.
Prerequisites
The Nicslab Premium package (XDACfunctions.py) and Python 3.12 or later.
Files
Recorded data and Python scripts, listed below.
The values in this note were measured on one instrument under the conditions described. They are not specifications. See the datasheet for limits.
CONTENTS
Inside the note
-
Why use a multichannel SMU
-
The experiment: hold a 1 W heat load at a set temperature
-
Method: a PID loop in Python using SCPI
-
Results: the loop holds setpoints from 25 °C to 37 °C
-
What the results show
-
Experimental limits
-
Four XDAC channels run a stable temperature loop
-
Files and document control
DOWNLOADS
Files provided with this note
File
Contents
Access
XDAC-8MUB-R4G8-ContrT-Note.py
Control script: connection, setpoints, and control loop
Free download
read-output-ContrT-Note.py
Analysis script: plots and statistics
Free download
XDACfunctions.py
XDAC function library, including the PID routine
Premium package
Steps.csv
Recorded data, setpoint steps (Figure 6)
Free download
2Stable24.csv to 2Stable38.csv
Recorded data, constant setpoints (Figures 7 and 8)
Free download
The values in this note were measured on one instrument under the conditions described. They are not specifications. See the datasheet for limits.

