JHauser:
Thanks for the input but I'm completely clueless on how to do that.
I had assumed you had written the program in your Original Post, or at least understand how it works.
I am not sufficiently familiar with your hardware to propose a program without having the hardware for testing.
...R