Page 1 of 1

Set submasters to full on startup automatically? [Solved]

Posted: 24 Jul 2013, 22:23
by lindsayward
I am trying to make my setup as friendly and quick as possible for volunteer operators at our church, and I'd like to set it so that the submasters (all or just some) are automatically set to full when the program first runs - like the master fader does.

Is there a way to do this?
If not normally, then perhaps with LuaFS?

Re: Set submasters to full on startup automatically?

Posted: 08 Aug 2013, 23:31
by lindsayward
Bump... Anyone know if this is possible? Either easily or with programming.

I have not found much online about LuaFS (only what's in the archive and is 2 years old). Does anyone here use LuaFS?

Re: Set submasters to full on startup automatically?

Posted: 10 Aug 2013, 10:40
by Nathanrs93
I don't think it is as it kind of working like a lighting desk in a way, you have to tell it what you want so that means you're in control of putting the "faders" up as when you need them. It would be useful like you in some respect to have them save the values and do what you want. I find the master intensity is useful to be a 100% on startup as I've used lighting desk in an venue and forgot to put the grand master up making myself look like an idiot :lol:

I will have a nosy around FS and if I come across anything, I'll let you know :)

Re: Set submasters to full on startup automatically?

Posted: 10 Aug 2013, 13:51
by lindsayward
This seems like something that could be included: startup values for different things.
Perhaps in the ini file, these startup values could be set.

Re: Set submasters to full on startup automatically?

Posted: 10 Aug 2013, 18:46
by Spirit
hi

therse is a "Startup value" also a "shutdown value"

but i think you realy like to have the Sm.int on 100%
because the "Startup value" goes back to 0% if you use Run a submaster..because the slider is on 0%

/spirit

Re: Set submasters to full on startup automatically?

Posted: 13 Aug 2013, 05:30
by lindsayward
I have not found a startup value for submasters (only fixtures). Where is this?

C# Solution

Posted: 13 Aug 2013, 05:31
by lindsayward
OK... I downloaded Mattotone's Visual Studio project (viewtopic.php?f=38&t=2184) and wrote a simple C# console application that does what I want (set the first 5 submasters to full intensity). Here it is if anyone is interested. It waits until FS is connected and then sets the values. I'm thinking if there are any other initial settings I need to set, I can use this. It's a 10KB application (including the dll) so pretty light on.

Code: Select all

using System;

namespace FreeStylerStartup
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.Out.WriteLine("Waiting for FreeStyler");
            while (FreestylerConnection.sender.freestylerConnected() == 0)
            {
                // wait for 3 seconds
                System.Threading.Thread.Sleep(3000);
                Console.Out.Write(".");
            }
            Console.Out.WriteLine("\nConnected. Setting up FreeStyler");
            // iterate through the first 5 submaster and set each one to full intensity (255)
            for (int sm = 465; sm <= 469; sm++)
                FreestylerConnection.sender.sendCommandFunction(sm, 255);
        }
    }
}