Wayne Erchak (wayne++at++setd-ctl.nawcad.navy.mil)
Sat, 7 Nov 1998 12:50:13 -0500
The reason for this is because the OS buffers incoming data to save CPU time.
Include the following in your program to get very high sampling rates at the
expense of the CPU (fd is the file descriptor for whatever serial device you
are using):
#include <sys/z8530.h>
//don't chunkifiy upstream data to save CPU time
if(ioctl(fd, SIOC_ITIMER, 0) == -1) {
perror("ioctl");
exit(1);
}
-- Wayne Erchak Naval Air Warfare Center wayne++at++setd-ctl.nawcad.navy.mil
This archive was generated by hypermail 2.0b2 on Sat Nov 07 1998 - 09:51:15 PST