> I need write some PC software that measures the time between pulses. The > pulses are being generated by a PIC. I know I can use a logic analyzer but > would like the PC to do some processing on the data. How can I get the PC > to measure the time down to the usec level. I found C routines that > measure down to the msec level but no further. Does the PC have a timer > that can be used? Yes, it is an Intel 8254 (or compatible). Go to www.intel.com for the data sheets. If you are using Win32 (Win95 or WinNT) then the system already gets a timer for you. (They program one of the channels of the Intel 8254.) You can get to it at the user level (through the Multimedia API functions) or at the Kernel level. (If you are a device driver.) Hope this helps, Alan G. Smith +--------------------------------------------------------- | Alan G. Smith | ags@poboxes.com | http://www.innovatus.com/ags