PDA

View Full Version : Newbie - C-Gate scenes


JulianC
10 Aug 04, 12:50 PM
G'day all, I hope I'm not staring at the blindingly obvious here...

It would appear a c-gate scene requires a physical input device to be assigned to that scene's play group in order to work.

After creating a new scene file with play group 1/56/203, issuing command tree 1 returns: 320- 1/56/203 ($cb) level=0 state=new units= , so I assume this group isn't synced with any physical device. Create a group in project mgr and assign the group to a key input (neo) and presto - the scene works.

Is there a way to run c-gate scene files without assigning their play group to a physical device? I get 408 Operation failed: 1/56/203 when I try.

Also, I can't get the command scene play living living-on to work (I have scene file living/living-on), even once assigned to a device.

Any thoughts?

Julian Conway

JackD
10 Aug 04, 01:00 PM
Yes, You can fire a C-Gate scene without having a group on real device. You can use what are called "Phantom groups". Let's say you want to fire a scene at GA 42 (decimal) you do this from the C-Gate command line:

new phantom 1/56/42 0
This creates a phantom group 42 in the lighting application (56) on network 1
at level zero

now you can type something like

on 1//42

and bingo - the group goes on (to level 255) Once you've debugged it and got it working you stick the phantom group commands into a network initialization file. See the C-Gate docs for how to do that.

Cheers,

JulianC
10 Aug 04, 06:46 PM
Thanks for the reply Jack, however still no glow. Below is a grab from the command session:

201 Service ready: null Version: v1.5.1.3 (build 1099)
tree 1
320- Network name:1 type=Serial address=COM1 state=ok
320- Unit count=3
320- Units:
320-p/1/0 ($0) type=PCLOCAL4 app=255($ff),255($ff) state=ok groups=
320-p/1/10 ($a) type=KEYM8 app=56($38),255($ff) state=ok groups=12,13,11,9
320-p/1/200 ($c8) type=DIMDN4 app=56($38),255($ff) state=ok groups=12,13,11,9
320-Applications:
320- Application 56 ($38)
320- Groups:
320- 1/56/9 ($9) level=0 state=ok units=10,200
320- 1/56/11 ($b) level=0 state=ok units=10,200
320- 1/56/12 ($c) level=0 state=ok units=10,200
320- 1/56/13 ($d) level=0 state=ok units=10,200
320- 1/56/202 ($ca) level=0 state=new units=
320- 1/56/203 ($cb) level=0 state=new units=
320 -end-
new phantom 1/56/202 0
200 OK.
new phantom 1/56/203 0
200 OK.
on 1//202
408 Operation failed: 1/56/202
on 1//203
408 Operation failed: 1/56/203

Groups 202 and 203 are the scene groups. The phantom group does not seem to "attach" itself to the scene group as the groups retain state=new even after the phantom groups are created. Event log reports nothing. The two scene files are very basic:

play 1/56/202
set 1/56/9 100 8
set 1/56/12 255 4
set 1/56/13 100 8
set 1/56/11 255 4

play 1/56/203
set 1/56/9 0 4
set 1/56/12 0 4
set 1/56/13 0 4
set 1/56/11 0 4

Any ideas?