The development of electronic devices includes a large number of measurements, which help confirm whether a device meets design expectations. With the goal of increased productivity, more measurements are being automated. Reliability and repeatability are key requirements of these automated measurements, which should have a short development cycle, and enable simple replacement of laboratory instruments.
Automated measurements can be developed quickly without knowledge of the instrument commands and communication protocol with the use of device drivers that follow the IVI specification. Many instruments have device drivers that only support the Windows operating system, and not all device drivers are written in the same programming language.
This thesis explains the basics of communication with laboratory instruments, and presents the development of our software module that, similar to the above-mentioned solution, enables instrument control without the knowledge of the instrument commands and communication protocol.
Next is a description of the module, which is divided into two layers, where we achieved control of various instruments through the same application programming interface with the dependency injection.
The code was written using test driven development and by following MISRA C guidelines. We also developed system integration tests, which confirm the operation of the entire module on the Windows, Ubuntu and Raspberri Pi OS.
|