3

Data acquisition using C

There are many graphic standards which have existed and been used during the evolution of the personal computer. As has already been mentioned, a console or DOS (Disk Operating System) uses different graphical output techniques to that required under Windows. Even then, there is a difference between Win16 and Win32 applications. In this chapter, the older DOS-style output will be presented first, and then the updated version which is required for a modern Windows graphical output.

Data capture using CGA graphics

IBM compatible colour graphics adapters (CGA, VGA and EGA) are readily accessible using Microsoft C. Listing 3.1 shows how a real-time CGA line graph can be incorporated into the data logging example and prepares ...

Get Interfacing with C, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.