View previous topic :: View next topic |
Author |
Message |
PGBELL
Joined: 23 Nov 2004 Posts: 51 Location: BELLMORE, N.Y. |
Posted: Mon Jan 03, 2005 2:08 pm Post subject: Adding pause in a macro |
|
|
HI,
I would like to know if there is a way to add a pause of x seconds to a macro or command? Also I have a scientific Atlanta explorer 4200hd cable box. I am trying to find discrete on/off codes. Any help would be great!!! |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21238 Location: Chicago, IL |
Posted: Mon Jan 03, 2005 2:51 pm Post subject: |
|
|
Use the "Pause" special protocol. _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
PGBELL
Joined: 23 Nov 2004 Posts: 51 Location: BELLMORE, N.Y. |
Posted: Tue Jan 04, 2005 9:25 am Post subject: |
|
|
Where can I find this protocol?
Pete |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21238 Location: Chicago, IL |
Posted: Tue Jan 04, 2005 10:03 am Post subject: |
|
|
In the special protocols folder. _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21238 Location: Chicago, IL |
Posted: Tue Jan 04, 2005 10:06 am Post subject: |
|
|
Actually, I just remembered that it was also added to KM. _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
mathboy
Joined: 15 Dec 2004 Posts: 43 Location: Toronto, ON |
Posted: Fri Jan 07, 2005 4:51 pm Post subject: |
|
|
I have followed the instructions here and am stuck on one step from the special protocol upgrade mentioned above:
Quote: | and assign Advanced Codes to some phantom key you will then use in macros to insert pauses. |
What codes and where do I assign them? I'm using IR and KM. Any help would be appreciated. |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21238 Location: Chicago, IL |
Posted: Fri Jan 07, 2005 5:10 pm Post subject: |
|
|
I can't see that line. Here's the complete Help page from KM:
Quote: | Pause Protocol Help:
This protocol allows you to insert a variable length pause inside a macro. To use this protocol, you have to install both the Device Upgrade and the Protocol Upgrade.
Typically, you would assign an OBC to a phantom key that you will use in a macro to insert pauses.
The length of the pause depends upon the OBC code.
1 = shortest, 255=longest (in some cases, 0=longest)
The actual delay time will vary among different remotes, but the values shown below will serve as a guideline for S3C8 (old) processors.
OBC = (seconds to pause) x (10.66)
011 = approx 1 second
021 = approx 2 seconds
032 = approx 3 seconds
043 = approx 4 seconds
053 = approx 5 seconds
107 = approx 10 seconds
To set this up, select the Remote, Device Type, and Setup Code on the 'Setup' sheet.
On the 'Functions' sheet, enter function names like
'1 second pause'
'2 second pause'
and enter the appropriate OBC value.
On the 'Key Moves' sheet, for each desired pause function, select '(upgrade)' as the Bound Device, and the appropriate button for the 'Bound Key'.
Copy the Key Move Code block from the 'Setup' sheet, and paste it into IR's Key Moves tab using the [Import] button.
On IR's Macros tab, setup your macro to include the proper button needed to invoke the pause.
NOTE: when using the Pause protocol, you should NOT assign any
functions to buttons on the 'Buttons' sheet, since KM and IR won't be able to properly setup the key moves required to make it work. |
_________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
mathboy
Joined: 15 Dec 2004 Posts: 43 Location: Toronto, ON |
Posted: Fri Jan 07, 2005 5:16 pm Post subject: |
|
|
Thanks! I meant to say I'm using IR and RM but I can figure it out with what you posted. |
|
Back to top |
|
|
gfb107 Expert
Joined: 03 Aug 2003 Posts: 3411 Location: Cary, NC |
Posted: Fri Jan 07, 2005 7:20 pm Post subject: |
|
|
RM doesn't (yet) support the pause protocol, so you either have to use KM or do it manually in IR, as documented in the pause.txt:
Quote: | This protocol allows to insert a variable length pause inside a macro.
The protocol works on all S3C8 based remotes (15-1994, RCU-810, URC-7560, etc.)
Upgrade protocol 0 = 01 FB (S3C80)
00 00 01 E4 03 C2 C6 C0 00 00 0A FE 1A FC 2A FA
AF
End
To use the protocol you also have to install a device upgrade like this one:
Upgrade code 0 = 1C 50 (TV/1104)
FB 00 01
End
SPECIAL CASE: The URC-6131 remote requires some special handling, so use this
device upgrade instead and replace the last byte with the correct code for the
delay that you need (see below). Then for the keymove, just enter hex code $03.
Upgrade Code 0 = 1C 50 (TV/1104)
FB 00 11 A0
End
and assign Advanced Codes to some phantom key you will then use in macros to
insert pauses.
The length of the pause depends on the Advanced Code argument ($01 = shortest,
$FF = longest).
On a URC-7560, $10 lasts for about 1 second, $20 for about 2 seconds, etc.
The 15-1994 has a slower CPU so $10 lasts for about 1.5 seconds, $20 for about
3 seconds, etc.
Example:
SAT/Phantom1 = TV/1104 $10 will pause for ~1s on URC-7560 or 1.5s on 15-1994
SAT/Phantom1 = TV/1104 $A0 will pause for ~10s on URC-7560 or 15s on 15-1994
Here's a protocol for doing a variable-length pause on any of the P8 remotes
(8080, 8090, 8800, 9800, 15-1995, 5550, Maestro):
Upgrade protocol 0 = 01 FB (740)
00 00 01 A5 5D A0 50 22 42 1A D0 F9 60
End
This works exactly like Nicola's version for the S3C8. A hex value of $10 will
pause for about one second. |
_________________ -- Greg
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST) |
|
Back to top |
|
|
gfb107 Expert
Joined: 03 Aug 2003 Posts: 3411 Location: Cary, NC |
|
Back to top |
|
|
|