|
I needed to look at the voltage input to a DC motor speed controller recently, so I hooked up an opto-isolated A-to-D converter and drove it from the printer port of a 1985 (10Mhz, 80C88, 640 k) Zenith laptop I have for the purposes. I programmed in Turbo Pascal 4.0, over DOS 3.3.
To get data in, Windows needs a .dll to allow your program exclusive access to inputs (and/or outputs), which you can then retreive in your program. Someday, I'm gotta learn to write some of those. Another way is to use an embedded computer to write data to compatible disks which C/C++ can suck in.
You could also convert your number data to numberpad keystrokes (and carriage return / linefeeds) and feed them directly into a commercial program on whatever machine you have.
|