CPCI (Compact Peripheral Component Interconnect) bus scanning ADC (Analog-to-Digital Converter) function module driver under VxWorks operating system and control method thereof

A CPCI (Compact Peripheral Component Interconnect) bus scanning ADC function module driver under a VxWorks operating system and a control method thereof relate to a driver for CPCI bus scanning ADC function modules and a control method, and aim to solve the problem that the conventional process of developing a CPCI bus scanning ADC function module driver is complex and highly difficult. The CPCI bus scanning ADC function module driver under the VxWorks operating system, which is disclosed by the invention, comprises an FPGA (field programmable gate array), an acquisition circuit, eight-channel analog switches, an isolating and conditioning circuit, a CPCI bus interface controller, a configuration circuit, a configuration power supply circuit and a CPCI bus. The control method based on the driver includes: opening a data port and loading a driver; setting channel numbers and starting acquisition channels; acquiring signals; reading the acquired signals; and closing the data port and unloading the driver. The driver and the control method are applicable to CPCI bus scanning ADC function modules under the VxWorks operating system.