Delay between sending codes

Software related support

Moderator: marcus

Delay between sending codes

Postby mhogan » Fri 2. May 2008, 17:20

I an using the POE IRtrans devices with a .net app using the .net irtrans dll.

What is the acceptable dealy(if any) that I should place in between sending commands to the IRTrans device.
mhogan
 
Posts: 14
Joined: Fri 2. May 2008, 15:14

Re: Delay between sending codes

Postby IRTrans » Fri 2. May 2008, 21:49

Hi,
as the IR Codes can have very different lenghts (between 50ms and more than 1s) a fixed delay will not help.

However, using the .NET DLL normally no waiting should be needed: You will not get the return value from
the IRSend until you can send the next code.

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: Delay between sending codes

Postby mhogan » Wed 21. May 2008, 00:28

I see... so does this means that my program will stop exexution until IRSEND is complete

as in

NETWORKSTATUS stat = irt[itnum].IRSend(irBufCol[ir].Remote, irBufCol[ir].Command);

... wont do next stuff until previous command is done
mhogan
 
Posts: 14
Joined: Fri 2. May 2008, 15:14

Re: Delay between sending codes

Postby IRTrans » Wed 21. May 2008, 20:44

Hi,
yes that is correct. The send call will block until the Code is sent.

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32


Return to Software

Who is online

Users browsing this forum: No registered users and 48 guests