IRTRans RAW format

Software related support

Moderator: marcus

IRTRans RAW format

Postby azauhar » Wed 18. Jul 2012, 10:54

In IRTrans user manual the IRTrans RAW format is not completely explained, so I have some questions.

Example:

[1][RAW]87[FREQ]38[D]0 8 368 592 600 592 608 592 600 592 600 592
[2][RAW]87[FREQ]38[D]0 8 344 616 1176 616 584 616 576 616 576 616

In this code above I don't understand following parts:

- [RAW]87 I dont understand what does the number "87" means

- "[D]0" I don't understand what "D" stands for and why it is zero.

- number "8" before the pulse/pause pairs start

I would be very greatful If you could explain those thing to me. Thank you!
azauhar
 
Posts: 20
Joined: Wed 18. Jul 2012, 10:40

Re: IRTRans RAW format

Postby IRTrans » Wed 18. Jul 2012, 12:39

Hi,
regarding your questions:

- 87 is the number of values that follows
- [D] is the start of the pulse / pause pairs
- 0 means that the following value consists of 2 bytes (total = 3 incl. the 0). The first is multiplied by 256. That means 0 8 368 is a pulse of 2416 µs.

In general we do not recommend to use the RAW format for codes that can be learned normally, too. All the advanced features (repeat detection, toggle bits and many more) of the IRTrans codelearning system will not work when using RAW codes. The codes you have posted seem to be Sony IR Codes - they can easily be learned using the IRTrans code format.

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

Re: IRTRans RAW format

Postby azauhar » Wed 18. Jul 2012, 13:50

Thank you very much for the quick answer. I know that it is better to learn codes the normal way, but for this Motorola remote that I have it doesn't work. I am familiar with lirc-raw codes, so now I am trying to understand rem-raw codes so I could work with them more easily.

For that last topic about number "0": if I understand correctly all codes are in form pulse/pause (eg. 560 458 2000 1500) if they are shorter than 2040us. If they are longer than 2040 us they must start with zero and then the next number is multiplied by 256 and to that number you add the third number. After (or before) that segment normal pulse/pause codes carry on. I hope I got it right.

Is there any difference between those codes:

0 8 368 - which is 2416 us

0 9 112 - which is also 2416 us

0 5 1136 - which is also 2416 us.

Thank you very much for the answer!
azauhar
 
Posts: 20
Joined: Wed 18. Jul 2012, 10:40

Re: IRTRans RAW format

Postby IRTrans » Wed 18. Jul 2012, 14:23

As the resolution is 8µs only 0 8 368 is possible. Neither 0 9 112 nor 0 5 1136 would be a valid code because both numbers have to be multiples of 8.

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

Re: IRTRans RAW format

Postby azauhar » Fri 20. Jul 2012, 11:20

Thank you for the explanation.

I have the problem with reproducing my RAW codes with "Send IR Codes". When I send code this message pops out:

"Result: [55 - 2] IR Error: IR Code lenght not supported by this device"

This is begginig of that RAW code:

[power][RAW]203[FREQ]56[D]0 8 536 1896 648 320...

Is it the problem in "[RAW]203"? Is that number too big for reproducing?

Thank you for your help!
azauhar
 
Posts: 20
Joined: Wed 18. Jul 2012, 10:40

Re: IRTRans RAW format

Postby IRTrans » Fri 20. Jul 2012, 12:36

Is that a RAW code that you have learned?

When you are sending with the GUI Client please select the bus ID (e.g. 0) of your IRTrans device in the send dialog and do not use "All". There was an error in the GUI Client that caused such an error message when sending to all busses. You can also download the latest version of our SW - the error is fixed in this versions.

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

Re: IRTRans RAW format

Postby azauhar » Mon 23. Jul 2012, 07:28

I downloaded the latest version of IRTrans software and my RAW codes are reproducing now. Thank you!
azauhar
 
Posts: 20
Joined: Wed 18. Jul 2012, 10:40

Re: IRTRans RAW format

Postby azauhar » Mon 23. Jul 2012, 12:43

I downloaded RAW codes and when I reproduce them with IRTrans I don't get the same codes as those that I downloaded.

Here is the downloaded RAW code:

[power][RAW]203[FREQ]56[D]0 8 536 1896 648 320 328...

Here is the code that IRTrans is sending:

336 651 656 314 341 319 338 319...

You can clearly see that those two bigger numbers at the beginning are not reproduced by IRTrans. Why is that?

Thank you very much for the answer!
azauhar
 
Posts: 20
Joined: Wed 18. Jul 2012, 10:40

Re: IRTRans RAW format

Postby IRTrans » Mon 23. Jul 2012, 14:23

Very simple: You are sending a 56kHz IR Code and try to receive it with an 38kHz IR Receiver - that will not work.

The IRTrans will surely send the correct code but the receiving IRTrans cannot receive it correctly.

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

Re: IRTRans RAW format

Postby azauhar » Mon 23. Jul 2012, 22:03

But I am receiving codes with "Revox M208" which can process frequency up to 450kHz, so that's not the problem. That remote is very accurate and saved me a lot of times before.
azauhar
 
Posts: 20
Joined: Wed 18. Jul 2012, 10:40

Next

Return to Software

Who is online

Users browsing this forum: No registered users and 15 guests

cron