home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Current Shareware 1994 January
/
SHAR194.ISO
/
utility
/
irdc10.zip
/
IRDQ.DOC
< prev
next >
Wrap
Text File
|
1993-10-17
|
9KB
|
236 lines
────────────────────────────────────────────────────────────────────
IRDQ ∙ INFRA-RED Command Line Control
────────────────────────────────────────────────────────────────────
Version 1.0
October 1993
Copyright 1993 ∙ D.Huras ∙ All Rights Reserved
────────────────────────────────────────────────IRDQ.DOC v1.00──────
CONTENTS
────────────────────────────────────────────────────────────────────
1. DESCRIPTION
2. WARNING
3. WARRANTY
4. COMMAND LINE ARGUMENTS
5. IRDQ DOS ENVIRONMENT VARIABLE
6. BUTTON NAMES
7. PROGRAM OVERVIEW
8. RELEASE HISTORY
1. DESCRIPTION
────────────────────────────────────────────────────────────────────
IRDQ is a program that sends commands to a ONE FOR ALL (*1) Remote
Control that instruct the remote control to emit INFRA RED (I/R)
signals. Essentially, IRDQ emulates a person pressing buttons on
the remote control keypad. Any button sequence that can be
physically entered on the remote control keypad can be emulated with
the IRDQ program including setting the Device type.
IRDQ is a companion program to IRDC.EXE. IRDQ is supplied with the
Registered Version of IRDC.EXE. This brief document focuses on the
use of IRDQ and is meant to accompany the IRDC document which goes
into much more detail regarding the hardware interfaces,
communication ports, software applications and problem
determination.
────
(*1) ONE FOR ALL, ONE FOR ALL 6, ONE FOR ALL 12, and The "Universal"
Remote are trademarks of Universal Electronics Inc.
2. WARNING
────────────────────────────────────────────────────────────────────
ONE FOR ALL Remote Controls are sensitive devices; using a ONE FOR
ALL Remote Control with a Special Serial Cable connected to a PC
Serial Port could alter the memory contents of the Remote Control
possibly rendering it inoperable if the following precautions are
not adhered to:
1) Ensure that the PC is powered-off.
2) Plug the Special Serial Cable into the PC Serial Port.
3) Plug the Special Serial Cable into the ONE-FOR-ALL Remote
Control.
4) Ensure that there are no loose connections.
5) Power on the PC and run the software.
6) VERY IMPORTANT: DO NOT TOUCH ANY BUTTONS on the remote control
when using the software.
7) Do not disconnect the Special Serial Cable until the PC is
powered off.
The author assumes no liability for damages, direct or
consequential, which may result from the use of IRDQ.
NOTES:
──────
∙ If you follow these precautions you should not encounter any
problems using your remote control with the software or manually.
∙ If you physically press buttons on the keypad while the software
is communicating with the remote control strange things can
happen that could affect the operability of your remote control.
If the memory contents of your remote control are altered then the
only way to restore it to normal operation is to have it reloaded
by Universal Electronics or a local Service Dealer.
3. WARRANTY
────────────────────────────────────────────────────────────────────
IRDQ is supplied AS IS. The author disclaims all warranties,
expressed or implied, including, without limitation, the warranties
of merchantability and of fitness for any purpose. The author
assumes no liability for damages, direct or consequential, which may
result from the use of IRDQ.
4. COMMAND LINE ARGUMENTS
────────────────────────────────────────────────────────────────────
DEFAULTS: If the program is run without any command line arguments
it will default to COMMPORT 1 & MODEL 6.
The following command line arguments can be entered in any order:
BUTTON ∙ Name of Button to be pressed (see BUTTON NAMES).
/Annnn(n) ∙ Base I/O Address applicable to User Defined CommPort
(Must be specified as a decimal number)
If /I argument is present, but /A is not; then Base
I/O Address will default to 1016 (3F8 Hex).
/Cn ∙ COMMPORT where n = 1,2,3 & 4
/F:[d]:\filespec ∙ File Name containing Button Names of Buttons
to be pressed. (eg. /F:C:\IRDQ\TV.ON)
/In ∙ IRQ applicable to User Defined CommPort where n = 1 - 15
If /A argument is present, but /I is not; then IRQ
will default to 4.
/Mn ∙ MODEL where n = 6 or 12
/Q ∙ Quiet Mode; Display no messages during program execution
/? ∙ Display Command Line Arguments & Environment Variable syntax
NOTE: ∙ COMMAND LINE OPTIONS OVERRIDE ANY SETTINGS STORED WITHIN
DOS ENVIRONMENT VARIABLE, IRDQ.
∙ MULTIPLE OCCURRENCES OF THE SAME COMMAND LINE ARGUMENT
ARE ACCEPTED; THE LAST INSTANCE WILL BE USED BY IRDQ.
5. IRDQ DOS ENVIRONMENT VARIABLE
────────────────────────────────────────────────────────────────────
To minimize program size and improve performance, IRDQ does not
support an INI file of program parameters. However, you can avoid
using command line arguments by setting up a DOS environment
variable that contains program settings. The DOS environment
variable 'IRDQ' is used to pass settings to IRDQ.EXE. You use the
DOS 'SET' command to assign a value to an environment variable.
The syntax is:
SET IRDQ=m,c,i,a,q
where: m = Model (6 or 12)
c = CommPort (1 thru 4)
i = IRQ (1 - 15)
a = Base I/O address (must be > 0)
q = Quiet Mode
You do not need to specify values for parameters that you do
not wish to change. However, IRDQ environment variable parameters
are positional so you must use comma's as placeholders if you
wish to skip a parameter. Trailing comma placeholders are not
required. Examples are shown below:
To turn on Quiet Mode: SET IRDQ=,,,,Q
To set Model to 12: SET IRDQ=12
To set CommPort to 2: SET IRDQ=,2
To set Model 12,CommPort 2
and turn Quiet Mode On: SET IRDQ=12,2,,,Q
To set IRQ to 5: SET IRDQ=,,5
To set Model 12,IRQ 5, &
Base I/O Address* 12832: SET IRDQ=12,,5,12832,Q *specify in
decimal
The DOS environment variable only needs to be SET once so a logical
place for it is within your AUTOEXEC.BAT file.
6. BUTTON NAMES
────────────────────────────────────────────────────────────────────
The following Button Names can be passed directly on the Command
Line as an argument OR within the Button File passed to IRDQ with
the /F: command line argument.
ONE FOR ALL 6
═════════════
AUX1 CD TV POWER
AUX2 VCR CABLE C
1 2 3 MUTE
4 5 6
7 8 9 VOL+
0 VOL-
A ENTER CH+
B RECALL CH-
REC TV/VCR STOP PAUSE
"<<" "<" PLAY ">>"
WAIT
Note: Double Quotes required for <<,<, & >>
You can use REW, FF rather than "<<" and ">>" respectively.
ONE FOR ALL 12
══════════════
TV VCR CABLE SAT
AUX AMP TUNER CD
A B/AUDIO C/VIDEO POWER
1 2 3 VOL+
4 5 6 VOL-
7 8 9 MUTE
RECALL 0 ENTER
PLAY CH+
"<<" PAUSE ">>" CH-
STOP REC
SLEEP DISPLAY A/B PGM
F1 F2 F3 F4
WAIT
Note: Double Quotes required for << & >>
You can use REW, FF rather than "<<" and ">>" respectively.
The WAIT button does not exist; it simply instructs IRDQ to pause
for ½ second. This is useful when you want the program to wait
for the remote control to "catch up", ie. when running a
macro. (When the remote is running a macro, it will not act
upon additional instructions until it has completed the macro).
7. PROGRAM OVERVIEW
────────────────────────────────────────────────────────────────────
When the program loads, it looks for the IRDQ variable in the DOS
Environment and then proceeds to parse it if found. If any errors
are detected then the program will terminate with an appropriate
message, otherwise it will parse the command line arguments (which
override the IRDQ environment variable). Once again, if any errors
are found it will terminate with an appropriate message.
If the /F: argument was included on the command line then IRDQ will
attempt to open the file and process the button names. Otherwise,
IRDQ will look for a button name on the command line and execute
it. Note: If both the /F: argument AND a button name are passed
on the command line, IRDQ will ignore the button name and process
the button file.
8. RELEASE HISTORY ∙ IRDQ Commercial Software
────────────────────────────────────────────────────────────────────
Date Version Changes
------ ---------- ----------------------------------------------
OCT'93 1.00 First Public Release
∙OFA-12 Button Definition Problems Corrected
(Mode Buttons, A,B,C, Power, CH+,CH-)
∙European Date Format Support Added
SEP'93 1.00ß Beta Test
──────