Page 2 of 2

Re: high latency sending signals with usb device

PostPosted: Sat 22. Aug 2009, 09:22
by tony
Hi,

I've installed the firmware update and for the last two days I've detected no delays. I will tell you later my further experiences.

Tony

Re: high latency sending signals with usb device

PostPosted: Sat 22. Aug 2009, 09:55
by tony
Hi,

I've installed the firmware update and for the last two days I've detected no delays. I will tell you later my further experiences.

Tony

Re: high latency sending signals with usb device

PostPosted: Mon 14. Mar 2011, 07:18
by igor
Hi, I write app using c# and IRTrans.NET dll (4.0.18.26026)

There is button In my application. When button is pressed app sends commands (using the method IRTransServer.IRSend) with some delay. When button is released, app stop sending commands.

sample

irtServer = new IRTransServer(host);
...
result = irtServer.IRSend(remote, command);

But after the button is released, the device still gets a commands.
As I understand the problem is that there is a buffer in which the accumulated command (or the device or IRTrans server), because the execution time longer than the time between sending commands.
Can I use the API to reset the buffer to stop sending commands?

Re: high latency sending signals with usb device

PostPosted: Mon 14. Mar 2011, 10:45
by IRTrans
Hi,
you are using the wrong approach here.

By sending commands at a very high rate through the repeat you are flooding the irserver with IR Commands. The reason is, that your IR commands are simply longer than your repeat rate.

As these codes are stored a various stages of the command pipeline that cannot be avoided.

To avoid that you need to check the ACK sent by the irserver. You should wait for the ACK until you send a new command. That way it will work correctly.

IRTrans