--- In [email protected], "Amin" <[EMAIL PROTECTED]> wrote: > > hi > i am amin. i am working as data acquisition engineer. I am given a DOS > based system to operate that uses single board computer(PC104)and > custom made i/o cards.its good for serial testing but now i need to > observe three lines simultaneously.... > i ll b thankful if i can get some help. > Thanks.
If I understand you correctly you have to work under a variant of MS-DOS for your application system. If so, the only way to observe three lines simultaneously is to constantly poll all three lines (resp. the respective shift registers on the I/O board). Multithreaded programming under MS-DOS is so complicated because you have to implement that support yourself that it's probably not worth the effort. That means: loop over all three lines when looking for some input over a wire instead of looking at only one line all the time. Regards, Nico
