Using C++ to Write Automation Controller Software
Russell T. Berman · JALA Journal of the Association for Laboratory Automation · 2007
The object-oriented programming language C++ is extremely well suited for writing automation control software. Because it is object-oriented, C++ provides elegant mechanisms for developing reusable interfaces. For example, programmers can leverage off-the-shelf graphics or communication packages, or they can instead develop their own libraries. Additionally, end users have the possibility of extending the functionality of their control software by developing their own device drivers or Laboratory Information Management System (LIMS) interfaces. Because C++ provides mechanisms for multithreading, programmers can use it to implement dynamic scheduling algorithms. Event-driven scheduling is often favored above static scheduling because it results in higher instrument utilization and provides better error-handling facilities.