Sorry for the newbie question... I have some sequences made, and would like to run a background sequence inbetween the others. Thee background sequence I just need channels 9 - 17 on full power. That's it. but I've looked around as much as I can and cannot figure out how to do this in a scripted sequence. I googled C# scripting, but do not understand how to do it. Could someone show me how to do this simple background sequence?
C# scripting
For information on C# go to msdn.microsoft.com. You can even download the Visual C# 2008 Express Edition Beta which will allow you to debug. If you poke around you can find tutorials on C# programming on the MSDN site.
I think the Vixen Programmers guide has info on the classes, methods and functions used. I'm not sure since I have not tried writing scripts for Vixen.
I have not been able to find any sample vixen scripts posted. If anyone has something, please post as I would at least like a starting point to look at.
background scripts
heres a script that will turn off all channels
void Start() {
Off(All, Every(30).Seconds);
}
KC posted some more information here http://www.doityourselfchristmas.com/forum/viewtopic.php?t=729
you will want the standard.txt file
So I've been hacking at this for 30 minutes, and i'm not getting it.
On(All, Every(60).Seconds);
doesn't work, I get "There is at least one plugin that has a channel range that exceeds the number of channels in the sequence.
when i click on the "Channels" tab, it is empty, but I can't see how to populate channel names.
I've tried:
On(1, Every(60).Seconds);
On(Channel1, Every(60).Seconds);
On(Channel_1, Every(60).Seconds);
On(MiniTree1, Every(60).Seconds);
Help! All I want to do is turn on about 7 channels all night, rather than having porch lights on.
In the tool bar there is a scrit menu, under that menu is the import channels option.
Dan Ross wrote:In the tool bar there is a scrit menu, under that menu is the import channels option.
Thanks, that fixed that problem, now how do i specify one single channel to turn on? The list i provided above still doesn't work (All works, but I don't want All)
I'm trying:
On(Candle1, Every(60).Seconds);
On(1, Every(60).Seconds);
On(Channel1, Every(60).Seconds);
On(Channel.1, Every(60).Seconds);
On(Channel.Candel1, Every(60).Seconds);
etc...
Just guessing, I'm still trying to figure it out also, try this...
On(Channel_1);
Wayne J wrote:Just guessing, I'm still trying to figure it out also, try this...On(Channel_1);
I tried that early on, didn't work, but I tried:
On(Channel_1, Every(60).Seconds);
Trying your suggestion I get "The name 'Channel_1' does not exist in the current context"
When i do:
On(All);
I get:
"There is at least one plugin that has a channel ranged that exceeds the number of channels in the sequence"
xmus wrote:Just guessing, I'm still trying to figure it out also, try this...On(Channel_1);
I tried that early on, didn't work, but I tried:
On(Channel_1, Every(60).Seconds);
Trying your suggestion I get "The name 'Channel_1' does not exist in the current context"
When i do:
On(All);
I get:
"There is at least one plugin that has a channel ranged that exceeds the number of channels in the sequence"
OK, so click on the channels tab, then replace "channel_1" with what is exactly in the channels list. Give it a go anyways.
I'm gonna give it a shot also.
I just done
On(Channel_1);
and it worked. but that is how it listed in my channel list, that is the key.
