[slinkelist] Map commands not executing
Colby Boles
cboles@nirvis.com
Mon, 15 Jan 2001 12:13:32 -0800
This is a multi-part message in MIME format.
------=_NextPart_000_002E_01C07EEC.941946C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Hi Ken-
That's because you can't really do what you are trying to. The maps work on
RECEIVED signals, so SENDING avir:power_off is no guarantee that it will be
received by CDJ unless there is a receiver module in sight which will pick
up this signal and cause the map to run. The alternative is to add the
attached devrxtx.cde "device file" to CDJ and give it some name, say
"mydev", and load it with no ports selected. Now you can pass any message
you want in your maps:
sending
mydev:message1
will execute
mydev:message1
{
.....
}
Colby
-----Original Message-----
From: slinkelist-admin@nirvis.com [mailto:slinkelist-admin@nirvis.com]On
Behalf Of kgeoffrion
Sent: Saturday, January 13, 2001 7:25 PM
To: help@nirvis.com; slinkelist@nirvis.com
Subject: [slinkelist] Map commands not executing
Help! Something recently happened that has caused some commands (macros) in
my Map file to suddenly quit working. One difficulty is that I can't
identify exactly when the problem started. It's very possible that it
happened at the same time I installed the 01/06/01 version, although after I
uninstalled that version and reinstalled the 12/14/00 the problem continues.
The problem is that certain commands are completely ignored when executed
from the CDJ command line (debug window) or as commands included in other
Map macros. For example, when the avir:dvd button or the avir:power_off
buttons (see below) are pressed on the remote control, the assocated macros
work properly. But, nothing at all happens when these commands are entered
on the debug window or are included in other macros.
Note the md:power macro below IS executed when the md:power remote control
button is pressed, evidenced by the successful execution of the X10
commands, however the avir:power_off command is ignored.
This has always worked flawlessly in the past. I can't think of anthing I
could have done to cause this problem.
Thanks for any ideas/suggestions. I'll try anything.
Extract from Map File:
avir:dvd
{
tv:power_on
av:power_on
av:input_dvd
vcr:power_off
dvd:power_on
cdj:sleep
tv:dvd
}
avir:power_off
{
cdj:sleep
dvd:power_off
av:power_off
vcr:power_off
tv:power_off
}
md:power # shut everything down
avir:power_off # shut equipment off
x10:all_lights_off[a] # shut all the lights in the
room off
x10:off[a16] # (a16 is not working with
all_off for some reason)
x10:on[a8] # turn light by stairs back on
}
Extract of Device File:
desc=Sony Audio/Video Amp STR-D965 Remote RM-P351
name=avir
include=sonyir.cde
prefix=
suffix= # not used in order to facilitate multiple suffixes in same
cde file
# Basic Audio/Video Receiver - device code 00001
010001000001:video1
011110000001:video2
010000100001:video3
101111100001:dvd
000110000001:tv
111101000001:power_off
------=_NextPart_000_002E_01C07EEC.941946C0
Content-Type: application/octet-stream;
name="devrxtx.cde"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="devrxtx.cde"
# this is a "device file" which can be loaded in CDJ to allow
# two-way message passing within or between programs
type=devrxtx
------=_NextPart_000_002E_01C07EEC.941946C0--