The application discloses a kind of unified automatic discovery and configuration-free one-key connection method of multi-interface test instrument based on Linux Qt and LXI
library, and it relates to test instrument communication and
virtual instrument technical field.The asynchronous double passage parallel scanning mechanism is passed through, LAN LXI network instrument and local USBTMC
USB instrument are discovered simultaneously;With equipment model + serial number + interface type, equipment deduplication integration is realized by generating unique
fingerprint;Sequence number-IP
dynamic mapping cache is established to adapt DHCP dynamic IP change;Configuration-free connection is realized by using default port priority + general port automatic detection strategy;Through multi-protocol unified communication abstract layer, LXI Socket, VXI-11, USBTMC protocol is compatible, and Linux platform USBTMC permission configuration and device node solidification are automatically completed.The application realizes unified discovery of multi-interface test instrument, dynamic IP self-adaption, zero-configuration one-key stable connection, solves interface fragmentation, configuration is complicated, Linux
adaptation is poor, scanning is lagging, etc.Problems, strong universality, high stability, applicable to various LXI
standard test instrument
automation measurement and control scene.