JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

IrScrutinizer: capturing, generating, analyzing, import, exp
Goto page Previous  1, 2, 3 ... 7, 8, 9 ... 25, 26, 27  Next
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Software
View previous topic :: View next topic  
Author Message
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Sun Feb 21, 2016 2:10 pm    Post subject: Reply with quote

I have started work on importing IrScutinizer's files (*.girr) into RemoteMaster Try that.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Carl



Joined: 15 Jan 2009
Posts: 159
Location: Quebec city, Canada

                    
PostPosted: Sun Feb 21, 2016 2:44 pm    Post subject: Reply with quote

Nice, I did a test and it seems to be working. Is there any way to make it work with future remote master release?
Back to top
View user's profile Send private message Visit poster's website
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Sun Feb 21, 2016 3:13 pm    Post subject: Reply with quote

Actually, I have beem working on that issue just today, as well as the other direction, export. So someting may happen soon... Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Sun May 01, 2016 10:10 am    Post subject: Reply with quote

I just put together the new version 1.2. It contains a lot of minor improvements and bug fixes.

Release notes:
Quote:

The notation #n refers to issues number n at
https://github.com/bengtmartensson/harctoolboxbundle/issues

Version 1.2
Open Issues:
* MacOS 10.11.4: Crash in RXTX when closing serial USB device, #64.
* MacOS 10.11.4: LAF Metal on Mac OSX El Capitan broken, #119.

User visible changes:
General:
- AppImage (see http://appimage.org/) format available for 64-bit
Linux, #65.
- Misc. minor tweaks in the installation.
- The installation is now completely relocatable (#100). For this, filenames
must not be stored with absolut filenames if they are children of apphome.
- Does not assume that CWD = applicationHome any more.
- IrpMaster, as executable, noninteractive program, can now be invoked by
giving --irpmaster as the first argument on the command line to IrScrutinizer.
- Added directory contributed. This should contain "contributed" protocols etc.
- Wrong parameter spec in RECS80 fixed (#114).
- Remove unused DTD support (#94).
- irscrutinizer.sh: (wrapper) improved location of apphome.
- Added some XML files from W3C and Apache, adapted the XML catalog
in order to make the project more self contained, and to allow
validation without network access.

GUI:
- Remove text "Analyzer result unavailable" (it looks like an error),
Ditto for DecodeIR. If analyzer not enabled, clean the field "AnalyzeIR"
when scrutinizing.
- Sort export formats in the GUI alpabetically (case insensitively).
- Load Tonto early, to dispose scary looking (but irrelevant) loading errors.
- New entries in the Help menu: issues, Feedback, Git repository #115.
- An active capture on "Scrutinize remote" now disallows capture
on "Scrutinize signal" and "Capturing hw"/Test (#109).
- Store last used import format persistently in properties. #108
- Handle attempts to hide non-existing columns more gracefully.
- Middle mouse in the scrutinze-remote tables now transmits the signal
under the mouse.
- Barf on no and multiple selections in some table functions.
- Update the GUI menus after reloading export format data base (#83).
- Issue confirmation if Girr-exporting with "everything" deselected.
- Paste in the data window of "Scrutinize signal" now replaces newlines
by spaces, #75.

Girr:
- Namespaces are used consequenctly in girr files, schema file now
girr_ns.xsd. (#84). New documentation files.
- xinclude now supported in Girr files. #107.
- CommandsSet import: Fixed nasty bug in getting the protocol of children, #118.
- girr[_ns].xsd: change definition of appParameter (allow string as value).
- Girr instances now accept hexadecimal number prepended by 0x
for parameter values. Removed attribute display-name, there is already
a displayName. General cleanup in girr.xsd.
- (Girr) change name uniqueness for command names #85
Now the command names are required to be unique within the CommandSets,
not in the remote.
- Implemented multi-toggles for Girr.Command. (#104)
- Parse hexadecimal numbers (etc) as parameters in Girs import (#70).
- Girr: cleanup of command API #105.

Export:
- There is now a schema file for exportformats.xml, exportformats.xsd. (#116).
- Support xinclude in exportformats.xml #106
- New export format: Arduino Raw (#17), supports IRremote, IRLib,
Infrared4Arduino.
- New export formats Arduino/Infrared4Arduino & Arduino/IRremote, #17, #116.
- New export format RemoteMaster (#113)
- New export format IrPlus https://irplus-remote.github.io. #103
- DynamicRemoteSetExportFormat now contains main routine for command
line processing of exportformats in XSLT.
- User selectable character set for export #93 (Options -> Export
options -> Character set...)
- IctExporter is now an xslt-export.
- Fixed two bugs with Lirc export: Names with spaces were
generated; RC5: misbehavior on F > 63, #90.
- fixed bugs in ict export, erroneous line endings on Windows.
See http://www.hifi-remote.com/forums/viewtopic.php?t=16645&postdays=0&postorder=asc&&start=21
- LircExport: do not bail out for single silly signals; set explicitly
frequency for NEC1 and RC5 Lirc export.
- NPE in IrScrutinizer when exporting an exotic Pronto code #77.
- Girr: do not give up completely on non-renderable signals #69

Import:
- Improved error message for parse errors.
- Minor parse robustness improvements for raw signals.
- Import signals: if a particular command is erroneous, just ignore
*that command* instead of aborting the entrie import.
- Parser for Lirc files rewritten from scratch (#101).
- Some cleanup of Jirc API, doc fixes.
- Mode2Importer: Do not require pulses and spaces to be interleaving.
- User selectable character set for import #93 (Options -> Import
options -> Character set...)
- IrTransImport: fixed bug in raw import #95.
- IrTransImporter: Ignore keyword "RO" as junk. Cf. http://www.irtrans.de/forum/viewtopic.php?f=24&t=3970
- Now handles IRDB entries with null protocol gracefully, ignoring them.
- Improved parsing of text files with multi column names #78.
Multicolumn names may now contain small numbers (at most 2 digits),
if the names come after the parameters.

Hardware support:
- CommandFusion: Detect EOFs from device to prevent endless loop.
- Fixes for changed syntax of the GlobalCache getversion command (#117).
- AmxBeaconListener: Avoid null pointer exception.
- allow the Arduino sending/receiving to use any baud rate.
- LircMode2.java: Handle timeouts (receive() returning null) better.
...


Since the downloads are availble both from my site as well as at Github, I do not consider it necessary to make them downloadable from the file section here.

Here are direct download links:
Binary zip distribution , Windows users probably should use Windows setup.exe. There is also a Mac Os X app, finally an AppImage version for "any" 64 bit x86 Linux.

Suggestions, feedback, question as well as constrictive criticism are always welcome.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Wed Aug 31, 2016 2:44 pm    Post subject: Reply with quote

Version 1.3 of IrScrutinizer has been released: Release notes included below.

There is a large number of improvements and bug fixes.

For (my!) convenience, this release is available only on Github.

Suggestions, feedback, question as well as constrictive criticism are always welcome. And, or course, improvements to the program or its documentation.

The Guide in Wiki has not yet been updated.

Release notes wrote:

The notation #n refers to issues number n at
https://github.com/bengtmartensson/harctoolboxbundle/issues

Version 1.3

Open issues in this release:
* "Open last file" may invoke new instance of IrScrutinizer, #149.
* MacOS 10.11.4: Crash in RXTX when closing serial USB device, #64.

User visible changes:
Porting:
- Raspberry Pi (armv7 hard FP) is now supported.

GUI:
- The panes "Sending hw" and "Capturing hw" have been interchanged (also in the manual) #150.
- There is now a confirmation dialog if exiting with non-empty remote tables, #86
- Improvements on metadata inquiry for remote exports. #89
- Files to be imported can now be given as command line arguments. #112
This allows .girr files to be associated with IrScrutinizer.
- Many files can can be plotted by dropping on "Scrutinize signal"; #127
- "Paste selection" in data window on Scrutinize signal fixed #136
- Editing of timing data in Raw Remote table now implemented #144
- Alt-R(Alt-P) now accelerators for selecting raw(Pronto) output.
- Save current pane to properties. Get "Jump to last panel" fully working.
- Generate-pane: T and "Additional parameters" now saved in properties.
- (Somewhat) better error handling and error messages.

Generate:
- Selecting non-toggling protocol now resets T in Generate pane #135.
- Option "Disregard repat mins" now takes effect without program restart #138

Protocols:
- "new" protocols: NEC1-msb, NEC1-32-msb.
- Fixed protocols:-Nokia32 (now really toggles, #140)
NECx1: wrong default for S
Sony8: Crazy trailing gap
Thompson: fixed handling of F
Roku-Official: fix parameterspec (upper bound) for F.
PCTV: removed silly 0 durations.
Revox: Set frequency to 0.
G.I.4DTV: removed C from parameter spec.

Import:
- Many file types can now be imported by "dropped" on the GUI; #111
- Signals can now be imported to the parametric table even if the protocol
is empty or nonsensical, #120
- mode2-import (Lirc) now has its own subpane under Import #121
- GlobalCache Control Tower data base (http://irdb.globalcache.com/)
can now be "browsed", however not directly imported. #129
- LircClient now has its own timeout (Options -> Timeouts -> Lirc timeout)
- GirrImport is now capable to import directory hierarchies.
- IRDB import: at the initial load, load the first device too.

Export:
- Fixed problem exporting multiple irplus files #139
- Fixed unwanted case sensitivity on protocol names for Lirc export; #142.
- Replace the Java implementation of LircExporter by an XSLT-implementation in exportformats.xml.

Core:
- The repeat finder of ExchangeIR has been implemented by a own implementation,
believed to be more reliable and maintainable. #21
- Robustness improvements in parsing strings on "scrutinize signal/scrutinize; #123

Hardware support:
- "Arduino support" has been replaced by "general Girs support"; #24
- Suitable hardware may now be opened both for capturing and sending, #54
- (Linux only) Devices on /dev/lirc now supported for sending and receiving; #122
- Better timeout handling for some hardware.

Back to top
View user's profile Send private message Send e-mail Visit poster's website
mdavej
Expert


Joined: 08 Oct 2003
Posts: 4498

                    
PostPosted: Thu Sep 01, 2016 1:02 pm    Post subject: Reply with quote

Thanks Barf. Amazing job as always.
Back to top
View user's profile Send private message
mdavej
Expert


Joined: 08 Oct 2003
Posts: 4498

                    
PostPosted: Fri Sep 23, 2016 10:12 am    Post subject: Reply with quote

Barf,

I have a question about generating pronto hex. A signal like the one below decodes to protocol = NEC1-f16, device = 210, subdevice = 30, obc = 80, misc = OBC2=148

0000 006C 0022 0002 0156 00AC 0015 0016 0015 0041 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0016 0015 0016 0015 0041 0020 066F 0156 0056 0020 0E54

However, on the Generate tab, it's not possible to input the misc parameter (OBC2=148) because the Additional parameters box is disabled.
Back to top
View user's profile Send private message
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Fri Sep 23, 2016 11:13 am    Post subject: Reply with quote

The answer is quite simple: The protocol NEC1-f16 is parametrized as

Code:

{38.4k,564}<1,-1|1,-3>(16,-8,D:8,S:8,F:16,1,^108m,(16,-4,1,^108m)*) [D:0..255,S:0..255=255-D,F:0..65535]


(i.e. a 16 bit F, as is suggested by the name) while DecodeIR is using another parametrization. It is possible to enter other versions in IrpProtoocols.ini; I think you know how. ("Additional parameters" is active if and only if there are other parameters than F, S, D, and T).

It is of course not optimal that the decoding (though DecodeIR) is not "synchronized" with the generation in IrScrutinizer. This is the subject of ongoing work..

Suggestions for changes in IrpProtoocols.ini are of course also welcome.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Tue Mar 14, 2017 3:56 pm    Post subject: Reply with quote

Version 1.4 of IrScrutinizer has been released: Release notes included below.

There is a number of improvements and bug fixes.

For (my!) convenience, this release is available only on Github.

Suggestions, feedback, question as well as constrictive criticism are always welcome. And, or course, improvements to the program or its documentation.

The Guide in Wiki has not yet been updated.

Release notes:
Quote:

Release notes for IrScrutinizer, including IrpMaster, Girr, HardHardware,
and Jirc.

The notation #n refers to issues number n at
https://github.com/bengtmartensson/harctoolboxbundle/issues

Version 1.4

Open issues in this release:
* MacOS 10.11.*: Crash in RXTX when closing serial USB device, #64.

User visible changes:

Core:
- Java 8 now required #180.
- Fixed inaccurate computation of period dependent units #152.
- Some protocols updated, in particular documentation #153. IRP:
Blaupunkt, Bose, CanalSat, NRC16, NRC16-32, Proton, Proton-40, RC5-7F,
RC5-57, RC5x, StreamZap, StreamZap-57, TDC-38, TDC-58.

Installation:
- Mime type file girr.xml now installed on freedesktop etc. #184

GUI:
- Double clicking a *.girr file no longer considered unsaved content #183.
- Paste in Scrutinize Signal data window was broken #171
- Continuous capture of signal in Scrutinize signal implemented #168.
- "Open last file" no longer invokes new instance of IrScrutinizer #149

Hardware:
- Lirc Mode2 as input re-implemented #181.
- Lirc Mode2 as input can now read from stdin #178.
- /dev/lirc support was broken, at least on Fedora, fixed #177
- Several issues in the CommandFusion driver fixed #158

Export
- Lirc Export vastly improved, #175, #174, #141.
- Girrexport: erroneous xsi:schemaLocation fixed #173
- Assert that frequency in Arduino export is integer #169
- Reorganized multiple export format files #167, #156.
- TransformationException in XmlExporter.printDOM is caught too early,
causing error message to get lost. #154

Importer:
- if "Load File" invoked file selector, the wait cursor was not shown. #16
- 1mporter fileselector type combo box contained both "Zip files (*.zip)" and
"Zipped files (*.zip)" #160
- IrTrans import: evaluate RC parameter #157



Keep Scrutinizing!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Wed Mar 15, 2017 8:58 am    Post subject: Reply with quote

The Guide in Wiki has been updated!! Cool
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mike.s



Joined: 03 Feb 2017
Posts: 25

                    
PostPosted: Thu Apr 06, 2017 7:19 am    Post subject: Reply with quote

I was using IrScrutinizer with a IRToy for a while. It worked, but the IRToy seemed to hang up a lot, and I'd end up plugging/unplugging, changing COM ports, etc. to get things working again.

I just built up on of the Arduino Nano Girs clients (AGirs). That seems to be MUCH more reliable.

One suggestion for IrScrutinizer - on the "Sending hw" page, you click the "open" button to start communications with the hardware. After successfully connecting, the button should change to "close".

I discovered only by accident that it toggles between open and close. I could probably have saved myself some grief if I had known that when struggling with the IRToy.

Also, not related to irScrutinizer, but to AGirs. It would be nice to have a compiled .hex file available, so people don't have to install the Arduino IDE, figure out libraries, figure out the changes to the code needed to get it to compile, etc, just so they can make a nano AGirs.
Back to top
View user's profile Send private message
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Thu Apr 06, 2017 10:20 am    Post subject: Reply with quote

Nice to hear that.

mike.s wrote:
I was using IrScrutinizer with a IRToy for a while. It worked, but the IRToy seemed to hang up a lot, and I'd end up plugging/unplugging, changing COM ports, etc. to get things working again.


Hmm, I know that some people has been complaining in the Dangerous Prototypes forum, but I have not seen those problems myself. There is an un-official "2.4 firmware" in the D.P. forums, possibly that helps.

Quote:
I just built up on of the Arduino Nano Girs clients (AGirs). That seems to be MUCH more reliable.

Very Happy

Quote:

One suggestion for IrScrutinizer - on the "Sending hw" page, you click the "open" button to start communications with the hardware. After successfully connecting, the button should change to "close".

I discovered only by accident that it toggles between open and close. I could probably have saved myself some grief if I had known that when struggling with the IRToy.

Hmm, The behaviour is a "push buttom with memory"; it stays "pressed" (in the selected state) until operated again, to indicate that the device is in the "opened" state. (If opening fails, it does not enter the selected state). I think that this it is logical and intuitive, but at least one person finds it confusing. I am a bit reluctant to dynamic button texts, since it may affect the layout (although this "should" not occur). Also, it may (?) cause problem for a future localization. Anyone else has an opinion...?

Quote:

Also, not related to irScrutinizer, but to AGirs. It would be nice to have a compiled .hex file available, so people don't have to install the Arduino IDE, figure out libraries, figure out the changes to the code needed to get it to compile, etc, just so they can make a nano AGirs.

The coolest thing would be have the IrScrutinizer to be able to program the Arduino... But I am afraid of opening a can of worms here. I do not want to support avrdude, nor beginners having problems with flashing...

There are also so may variations, different boards, different hardware etc. Nevertheless, providing a simple hex file for the "canonical Nano configuration is a good idea. I sometimes did that in the past.

I wrote this in the Arduino forum, on having the Arduino IDE supporting flashing directly, but as you see, it was not exactly popular...

Thank you very much for your suggestions!!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mike.s



Joined: 03 Feb 2017
Posts: 25

                    
PostPosted: Thu Apr 06, 2017 3:41 pm    Post subject: Reply with quote

Barf wrote:
Hmm, The behaviour is a "push buttom with memory"; it stays "pressed" (in the selected state) until operated again, to indicate that the device is in the "opened" state.
Something else that wasn't obvious to me. I expect buttons to highlight when pressed, never noticed that it "stuck" to indicate a toggle. Perhaps just change the label from "Open" to "Open/Close", since it does both?
Quote:
There are also so may variations, different boards, different hardware etc. Nevertheless, providing a simple hex file for the "canonical Nano configuration is a good idea. I sometimes did that in the past.
Yeah, just for the canonical, Nano one. If someone is going their own way with different hardware, they should know enough to know they need to compile for a different platform. I don't know enough about Arduino - can programming hex to the wrong platform lock you out from reprogramming it, or is it just that the code doesn't work as expected?
Quote:
Thank you very much for your suggestions!!
Thank you very much for your contributions!
Back to top
View user's profile Send private message
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Sat Apr 08, 2017 5:03 am    Post subject: Reply with quote

mike.s wrote:
Perhaps just change the label from "Open" to "Open/Close", since it does both?


I will probably follow that suggestion.

I just wrapped up the current AGirs, with a hex file and a flashing script for Linux (requires avrdude installed, but NOT the Arduino IDE).

Quote:
If someone is going their own way with different hardware, they should know enough to know they need to compile for a different platform. I don't know enough about Arduino - can programming hex to the wrong platform lock you out from reprogramming it, or is it just that the code doesn't work as expected?


That responsibility must lie with the user!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
GnatGoSplat



Joined: 31 Dec 2004
Posts: 22

                    
PostPosted: Mon Jun 26, 2017 11:30 pm    Post subject: Reply with quote

Is it possible to use this with WinLIRC? When I try using LIRC as transmitter, I get a dialog, "No remotes present" which returns in an infinite loop when I press OK to dismiss it and end up having to kill process javaw.exe. When I try LIRC as receiver, I get "No capture device, aborting."

I'm guessing this must only work with LIRC on Linux, but is there a workaround to make it work on Windows? Reason being WinLIRC is compatible with my MCE receiver/blaster and IRScrutinizer doesn't have native support for this hardware.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Software All times are GMT - 5 Hours
Goto page Previous  1, 2, 3 ... 7, 8, 9 ... 25, 26, 27  Next
Page 8 of 27

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control