I've got a program I'm creating that polls industrial units through the serial port. These units must be polled continuously at the quickest rate possible, and must run endlessly. So I have two questions:
1. How can I create a really small, small delay (about 10 ms)? The VB timer only allows me to have delays accurate to approx 70 ms.
2. How can I have my program run continuously without running out of stack memory. The way it is now, once started, it calls a sub which calls another sub which calls the first sub again. I don't know how else to make it run endlessly, but the stack fills up so quickly!
Any ideas? Any help would be appreciated.
