2. the impulse is for my multi I/O card. this impulse is the sample rate.
i
wish a sample rate from 50KHz,
that is the reason for the small ticksize.
the other reason is, the timer must be give a realtime impulse.
Are you reading at 50KHz, or are you sending output at that rate
as well? Does your card have an on-board buffer? In my (limited)
experience, cards that sample at that rate also provide a way to
buffer multiple samples on-board so that the computer can read at
more realistic rates. Also, a board with that sample freqeuency is
likely to be able to generate an interrupt. If it does, consider using the
interrupt instead of a timer to collect your data.
I have no doubt that you will never get a reliable 10us timer running
without using a hardware interrupt. I suspect that if you are only
reading from the I/O card that there is a way to slow down your
program's read rate while maintaining the card's sample rate.
Cheers,
Andrew
"stefan" <
stefankehrein@lycos.de> wrote in message
news:aq9aim$3re$
1@inn.qnx.com...
Hi....
i have the follow problem:
my requirements:
- x86 computer 400 MHz
- QNX 6.2 (momentics)
now, i change the ticksize from 1 milli to 0.01 milli., the smallest
ticksize, and i
have create a timer for impulse. so the timer should be give one impulse
per
0,01 milli seconds.
my problem is, when i use this timer my computer crashed very often!!!
is reason for this problem that the ticksize is to small or the
timerimpulse
is to small??
when i change the timer interval to 20 micro or 30 micro the computer
crashed!
my target is, to trigger a muliti I/O-card in realtime with the impulse
from the timer!!
where is the problem?
can someone help me???
thanks
S. Kehrein