Dangerous Prototypes

Dangerous Prototypes => USB Infrared Toy => Topic started by: anton.todorov on November 19, 2010, 04:50:10 pm

Title: ir2PNG Perl script
Post by: anton.todorov on November 19, 2010, 04:50:10 pm
Hi,
Because I am not familiar how to create .ols files and my IRToy cant talk to jawi's OLS client(do not know why) I needed a tool to visualize the data received from the IRToy.
So I wrote an script for reading from irtoy  (the code is ugly) that works almost like the IRToyRedWrite util. Then the dumped bin was passed to this script. The script helped me to have visual impression of the data.

The script require GD::Image perl module!

BR,
Anton
Title: Re: ir2PNG Perl script
Post by: ian on November 20, 2010, 10:36:31 am
Hi Anton,

These scripts are fantastic, thank you. I added them all to SVN (with the CC-BY license), and started a wiki page for documentation:
http://dangerousprototypes.com/docs/USB ... l_analysis (http://dangerousprototypes.com/docs/USB_IR_Toy:_Perl_scripts_for_signal_analysis)

Thanks so much for sharing!


I'd like to start a wiki page too with some examples.
Title: Re: ir2PNG Perl script
Post by: anton.todorov on November 20, 2010, 03:24:08 pm
Hi Ian,
I am glad that the scripts are useful. There are a lot of hard coded fine tuning parameters but they are working fine with the remotes I have. Currently working on another remote, yet it seems to me like a supplemented NEC protocol. It is for this (http://http://www.dvdremotecontrols.com/Mfrs/Panasonic/PanasonicAudio/EUR648251.htm) remote. Details will bi posted on separate topic.

BR,
Anton

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00992061600session_write_close ( )...(null):0
20.01022193192ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01022193968Database_MySQL->query( ).../DatabaseHandler.php:119
40.05582332696Database_MySQL->error( ).../Db-mysql.class.php:273