Page 1 of 1

Callback handler woes

PostPosted: Thu Feb 16, 2006 3:41 am
by Guest
Hi,

I am using the C# wrapper for my usbuirt and have found an odd behavior, I am curious if this is a "undocumented feature." What I have found is that while the registered callback method is executing, no ir codes can be transmitted. If I wait and transmit the same code AFTER the receive callback has finished, the code is transmitted fine. I have tested with the blocking and non-blocking methods, same result.

Is the hardware device driver capable of sending while a receive event is executing? Has anyone else encountered this with the C# wrapper?

PostPosted: Mon Feb 20, 2006 12:02 am
by jrhees
The hardware/firmware does not typically support simultaneous transmit and receive (because it would cause IR 'feedback' issues). However, a Transmit() call should work but simply wait until the receive IR has stopped. HOWEVER, I don't know if I've ever tried calling Transmit from *within* the receive handler.

-Jon