Repitition problem

Software related support

Moderator: marcus

Repitition problem

Postby tomerg » Fri 5. Nov 2010, 17:30

Hi,
I have a requitrement to transmit repeatedly a normal learned IR code.
I trie to use the SEND_START command which I understand was made for this purpose
but irserver doesnt support it.
calling irclient in a loop takes too long between transmits and it doesnt work.
repeating the SEND_ONCE command also didnt work and sometimes crashed the irserver.

can I solve this issue?
thanks
Tom
tomerg
 
Posts: 4
Joined: Fri 5. Nov 2010, 13:20

Re: Repitition problem

Postby IRTrans » Fri 5. Nov 2010, 17:40

You should use the IRTrans API and not the LIRC API.

How long do you need to send the IR code ?

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

Re: Repitition problem

Postby tomerg » Fri 5. Nov 2010, 22:57

I tried calling SendRemoteCommand in a loop
but the time between transmissions is too long and the device doesnt accept it.
the duration is a few seconds.
tomerg
 
Posts: 4
Joined: Fri 5. Nov 2010, 13:20

Re: Repitition problem

Postby IRTrans » Sat 6. Nov 2010, 10:53

You can learn IR Codes with duration of up to 4-5s using the option "Learn long IR Code" when learning the IR code.

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

Re: Repitition problem

Postby tomerg » Sat 6. Nov 2010, 20:56

I enabled the "learn long codes" but when I learn the remote
as I start holding the button, immidietly an error dialog appears saying
"...code > max.length ... code may not work"
then, it just works like a single command being learned.

I noticed there are checkboxes in general section called "self repeat" are they relevant to this issue?
tomerg
 
Posts: 4
Joined: Fri 5. Nov 2010, 13:20

Re: Repitition problem

Postby IRTrans » Sat 6. Nov 2010, 21:50

Hi,
the self repeat option does have nothing to do with this.

If "Learn long" does not work it will be difficult.

You can send us the .rem file via Email, perhaps we can manually modify the IR code.

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


Return to Software

Who is online

Users browsing this forum: Majestic-12 [Bot] and 6 guests