Automated Instrument Control for Low-Pass Filter PCB Testing Using SCPI Commands and Python
DOI:
https://doi.org/10.55003/ETH.430205Keywords:
GUI Python, Automation Control, Instrument Control, Laboratory Automation, SCPI, Data Acquisition, real time control, graphic user interfaceAbstract
In laboratory classes and research settings, instruments are typically controlled manually, and data is often saved to a flash drive for later analysis. However, this method does not support real-time monitoring and lacks continuity. Some approaches involve using LabVIEW or MATLAB for instrument control and interfacing. However, these tools are typically not freely available and may require a paid license. This paper presents the use of instrument programming for automated testing of PCBs to determine whether they pass or fail, supporting the industry 4.0 initiative in Thailand, where the electronics market has been rapidly growing. In this experiment, a 4th-order low-pass filter PCB is investigated using a DC power supply, an oscilloscope, a function generator, and a digital multimeter. Although this approach is not new, it provides a good foundation and enhances flexibility for education, research, instrument control, and laboratory automation. Furthermore, it can significantly reduce costs associated with commercial software packages such as MATLAB and LabVIEW.
References
H. C. Georgiana, B. Ana-Maria and L. Ioan, “Automatic testing of automotive electronic modules for cranking conditions,” in 2018 International Symposium on Electronics and Telecommunications (ISETC), Timisoara, Romania, Nov. 8–9 2018, pp. 1–4, doi: 10.1109/ISETC.2018.8583856.
C. -C. Chang, Y.-T. Chiu and C.-C. Wei, “Design instrument control software interface based on SCPI commands to reduce development time,” in 2021 7th International Conference on Applied System Innovation (ICASI), Chiayi, Taiwan, Sep. 24–25 2021, pp. 97–100, doi: 10.1109/ICASI52993.2021.9568467.
A. S. Rao, A. Venkatesan, K. P. Arun, S. Chandrasekaran, R. Somasundaram, and K. Vijayalakshmi, “Development of Python-Based Applications for Virtual Instrument Control Using PyQt5, PyVISA, and SCPI Protocol,” in 2024 Second International Conference on Emerging Trends in Information Technology and Engineering (ICETITE), Vellore, India, Feb. 22–23 2024, pp. 1–7, doi: 10.1109/ic-ETITE58242.2024.10493634.
J. L. Schmalzel and R. Trafford, “SCPI: IoT and the Déjà Vu of Instrument Control,” in 2021 IEEE Sensors Applications Symposium (SAS), Sundsvall, Sweden, Aug. 23–25 2021, pp. 1–6, doi: 10.1109/SAS51076.2021.9530061.
F. Zaiming, Z. Zhixiang, Z. Yijiu and M. Min, “The merging design method of instrument software based on the SCPI command set,” in 2017 13th IEEE International Conference on Electronic Measurement & Instruments (ICEMI), Yangzhou, China, Oct. 20–22 2017, pp. 44–48, doi: 10.1109/ICEMI.2017.8265709.
B. A. Balaji, S. Sasikumar and K. Ramesh, “SCPI based integrated test and measurement environment using LabVIEW,” IOP Conference Series: Materials Science and Engineering, vol. 1045, no. 1, 2021, Art. no. 012036, doi: 10.1088/1757-899x/1045/1/012036.
W. Cai, B. Wang and S. Zhang, “Remote Control and Data Acquisition of Multiple Oscilloscopes Using LabVIEW,” in 2019 International Conference on Smart Grid and Electrical Automation (ICSGEA), Xiangtan, China, Aug. 10–11 2019, pp. 136–140, doi: 10.1109/ICSGEA.2019.00039.
L. Guili and K. Quancun, “Design of virtual oscilloscope based on GPIB interface and SCPI,” in 2013 IEEE 11th International Conference on Electronic Measurement & Instruments, Harbin, China, Aug. 16–19 2013, pp. 294–298, doi: 10.1109/ICEMI.2013.6743026.
P. Sumathi and D. Peter, “Instrument Control through GPIB-USB Communication with LabVIEW,” in 2019 IEEE 28th International Symposium on Industrial Electronics (ISIE), Vancouver, BC, Canada, Jun. 12–14, 2019, pp. 1583–1588, doi: 10.1109/ISIE.2019.8781435.
A. Rittiplang, N. Jinaporn and A. Suriya, “Real-Time Analysis S-Parameters via Remote Control of a Vector Network Analyzer Using API Integration,” in The 48th Electrical Engineering Conference (EECON-48), Chiang Mai, Thailand, Nov. 19–20 2025, pp. 1–4.
Keysight Technologies. Keysight InfiniiVision 1200 X-Series and EDUX1052A/G Oscilloscopes. (2020). Accessed: May 21, 2026. [Online]. Available: https://www.keysight.com/us/en/assets/9018-07747/programming-guides/9018-07747.pdf
Keysight Technologies. EDU36311A Triple Output Programmable DC Power Supply Programming Guide. (2021). Accessed: May 21, 2026. [Online]. Available: https://www.keysight.com/us/en/assets/9921-01393/programming-guides/EDU36311A-DC-Power-Supply-Programming-Guide.pdf
EDU34450A 5½ Digit Digital Multimeter User’s Guide, 1st ed., Keysight Technologies, Bayan Lepas, Malaysia, 2021, p. 96.
EDU33210 Series Trueform Arbitrary Waveform Generator Programming Guide, 1st ed., Keysight Technologies, Bayan Lepas, Malaysia 2021, pp. 92–146.
National Instruments. NI-VISA. (2026). Accessed: Jul. 25, 2025 [Online]. Available: https://www.ni.com/en/support/downloads/drivers/download.ni-visa.html.
A. Rittiplang. Python-control-Instruments-by-pyvisa. (2026). Accessed: Mar. 11, 2026. [Online]. Available: https://github.com/Artit-Rittiplang/Python-control-Instruments-by-pyvisa.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 School of Engineering, King Mongkut’s Institute of Technology Ladkrabang

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
The published articles are copyrighted by the School of Engineering, King Mongkut's Institute of Technology Ladkrabang.
The statements contained in each article in this academic journal are the personal opinions of each author and are not related to King Mongkut's Institute of Technology Ladkrabang and other faculty members in the institute.
Responsibility for all elements of each article belongs to each author; If there are any mistakes, each author is solely responsible for his own articles.



