Figure 4—I modified the demo program for my application. I was able to make use of many of the prewritten routines, which really sped up the development process.