I'm a newbie to "forae" (forums) so responses like "buzz off" etc. are OK! It looks like the person who started this has approximately the same problem I have.
Twelve years ago I designed and built a very useful measuring instrument. A "C" program running in DOS and communicating with the world through a parallel port via a 24-bit parallel port digital IO "appliance" (I call it) talks to an interface I made with motor control circuits and two counters giving the position of two incremental (not absolute) rotary encoders. A lot happens in a short time as the machine is running: one encoder gives the measurement position, the other (12-bit) is read repeatedly, at maximum achievable speed, to gather the data at each position.
Now my boss is all excited about the pieces that are obsolete and out of production: laptops with parallel ports and the I/O "appliance." He wants me to "update it."
The USB latency issue is key. It is the only remaining I/O window in a laptop (my instrument is portable) and must be accessed via the WinOS, which cares more about Bill Gates's housekeeping chores than about my requirements. My understanding is that one must allow for 20ms of latency when doing USB I/O.
Is there ANY way to achieve the immediacy of I/O response my machine now enjoys without off-loading "intelligence" to a peripheral? The human operator needs an interface (command line is just FiNE, out in the sunlight!) and the ability to intervene in the process.
A friend advises me to offload the "fast stuff" to an Arduino and write a program running under the Win OS to "guide" the Arduino and upload data. I've no idea what Win programming application that would be.
That's enough of that. A friendly push in the right direction is all I'm asking for...and I will be happy to get even a "Push off!"
Thanks