https://github.com/Niravk1997/HP-Agilent-Keysight-34401A-Control-and-Data-Logging-Software
There is a software to control multimeter remotely.
I knew about this program but was unable to get it working under windows 11. It was because you need to upgrade ch340 (if you using it — it’s very popular) driver before running this program.