I got it working, I think. I will not shout too loud until I am
certain that this works for really different I/O clocks, but it
seems to have been the concurrent calls to AIRaed/AOWrite after
all, despite the semaphores.
I believe what is happening is that the Read/Write functions return
too early, giving a waiting function the chance to poll the card
when the card is not ready. I have it set up now, so that I
just check the semaphore and if its busy, instead of waiting for
it to be freed I just wait for the next data occurrence (in
effect a collision checking algo) so far has been running stable
for more than an hour at 1kS out/2kS in on a P133 with an E6035 ...
Thanks for the support everyone!
Rudolf
Labviewguru
wrote:
: Rudolf,
: I'm not exactly sure what you are trying to do here, but I have a
: theory, and one that I think should be verified by National
: Instruments:
: I believe you want to do asynchronous AI and AO. I don't believe this
: is truly possible with a single DAQ device. DAQ Devices use a single
: internal clock, as far as I know (I don't know all models.)
: Therefore, true asynchronous behavior is not possible. I believe that
: the way to accomplish what you are trying to do is to use two
: different boards.
: I could very well be wrong on this, but I believe you should have NI
: verify whether or not this can be done. If you go to
: http://ni.com/ask and select email or call NI engineers, they will
: help you out. It doesn't look like this is a common issue, and should
: probably be handled by NI. They have been extremely helpful in
: solving a few issues I have had recently.
: I would transfer the matter to the capable hands of the NI engineers
: before you go out and buy a second board. They may be able to help
: you.
: I have in the past done simultaneous IO, but it was all synchronous,
: or pseudo-asynchronous at best.
: I know its not much, but I hope it helps.
: Good luck
: Michael Du'Lyea
: Advanced Test Engineering