Abstract:With the continuous advancement of electronic measurement and automation technology, PXI (PCI extensions for Instrumentation) bus technology occupies an important position in the field of measurement and control due to its high performance, modularity, and scalability. The current PXI instrument control software is mainly developed based on the Windows operating system, and instrument driver control is achieved by calling the standard VISA I/O library. These software and I/O libraries usually cannot run on domestic operating systems, which to some extent limits the development of PXI systems in the localization process. This article designs a PXI instrument control software that can run on the Kirin operating system, including interface programs, driver programs, and underlying I/O libraries. The interface program can be used to complete PXI instrument parameter settings, measurement control, and return test results. The core technology lies in sending and receiving data to PCI/PCIe bus devices through memory mapping, implementing instrument drivers, and solving the problem of existing VISA I/O libraries not supporting the domestic Kirin operating system, which leads to the inability to use PXI/PXIe instruments.