Page 1 of 1

Repitition problem

PostPosted: Fri 5. Nov 2010, 17:30
by tomerg
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

Re: Repitition problem

PostPosted: Fri 5. Nov 2010, 17:40
by IRTrans
You should use the IRTrans API and not the LIRC API.

How long do you need to send the IR code ?

IRTrans

Re: Repitition problem

PostPosted: Fri 5. Nov 2010, 22:57
by tomerg
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.

Re: Repitition problem

PostPosted: Sat 6. Nov 2010, 10:53
by IRTrans
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

Re: Repitition problem

PostPosted: Sat 6. Nov 2010, 20:56
by tomerg
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?

Re: Repitition problem

PostPosted: Sat 6. Nov 2010, 21:50
by IRTrans
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