Users Manual IRTrans Version 2.12
17
4.5. IRTrans GUI Client
The VB client allows learning of IR Commands. Furthermore IR
Commands can be sent and you can set up a simple Remote Control.
Even commands that are not included in the simple Remote Control can
be sent. In addition, all the parameters of all IRTrans units connected to
the serial bus can be configured. The GUI client uses the IRTrans Server
Socket (21000) to connect to the server.
The GUI Client is a Windows program, nevertheless via a TCP/IP
Network it can also control a system connected to a LINUX Server. When
starting the Client the Hostname or IP Address of the IRTrans Server can
be entered as a command line Parameter. If it is not entered this setting
defaults to localhost.
Currently the GUI Client supports German and English. The
language is selected based on the language of the Operating
System.
Main window of the IRTrans GUI Client
After starting the program the GUI Client shows a sample Remote
Control. It is defined in the file
remote.irm
in the working folder of the GUI
Client. It can easily be configured by editing this file. Of course that
sample Remote Control does not work until the corresponding
commands have been learned.
Users Manual IRTrans Version 2.12
18
The format of the file remote.irm:
[MAIN]
[FRMPIX]400,300
[SEP]0,45 [END]500,45
[MOD]10,10
[SIZE]40,25[PANEL]TV
[MOD]60,10
[SIZE]40,25[PANEL]CD
[END]
[CD]
[FRMPIX]460,280
[LBL]10,250
[SIZE]300,30[TEXT]CD[FONT]14
[POS]10,10
[SIZE]100,30[TEXT]Power On
[REMOTE]Yamaha
[COMMAND]PowerOn
[POS]120,10
[SIZE]100,30[TEXT]Power Off [REMOTE]Yamaha
[COMMAND]PowerOff
[POS]10,50
[SIZE]100,30[TEXT]Vol -
[REMOTE]Yamaha
[COMMAND]Vol-
[POS]120,50
[SIZE]100,30[TEXT]Vol +
[REMOTE]Yamaha
[COMMAND]Vol+
[POS]230,10
[SIZE]100,30[TEXT]CD
[REMOTE]Yamaha
[COMMAND]CD
[POS]340,10
[SIZE]100,30[TEXT]Tuner
[REMOTE]Yamaha
[COMMAND]Tuner
[POS]10,200
[SIZE]100,30[TEXT]Prev Track [REMOTE]Sony
[COMMAND]Prev
[POS]120,200
[SIZE]100,30[TEXT]Play
[REMOTE]Sony
[COMMAND]Play
[POS]230,200
[SIZE]100,30[TEXT]Next Track [REMOTE]Sony
[COMMAND]Next
[POS]340,200
[SIZE]100,30[TEXT]Stop
[REMOTE]Sony
[COMMAND]Stop
[END]
This excerpt shows a sample configuration
The „
[Main]
“ section defines the part of the remote that is always visible.
This section should be used to place commands to select different
devices or commands that should be available with every device (like
/-).
„
[MOD]
“ lines define commands used to switch between different panels
of the remote. In addition these remotes appear in the „Remotes“ menu.
„
[FRMPIX]
“ is used to define the size of different panels of the remote (in
Pixels). That allows to use different sizes for different panels of the
remote.
„
[LBL]
“ allows to insert texts in different sizes.
„
[POS]
“ finaly defines the Remote Buttons itself. They can have different
sizes and, of course, a text. „
[REMOTE]
“ and „
[COMMAND]
“ are used to
assign the remote commands. Commands that are not defined in the
current IR Database appear in Gray (disabled).