Page 1 of 1

Format of vMix control send messages

Posted: Fri Feb 26, 2021 11:13 pm
by Stuart Barry
Hi Mike,

I have recently been playing with triggering vMix from SCS but found that any control send message having multiple parameters would not work if I followed the examples in the SCS documentation. For example the following command:

FUNCTION SetText Input=3 Value=My Replacement Ticker Text

does not work. However, by adding an & before the Value argument, as illustrated in the examples in the TCP API section of the vMix User Guide, the command does work.

FUNCTION SetText Input=3 &Value=My Replacement Ticker Text

I don't know whether I am doing something else wrong, or vMix has changed the format of the commands since you first developed the documentation, but I thought I would let you know in case anyone else encounters the same problem.

Best wishes
Stuart

Re: Format of vMix control send messages

Posted: Sat Feb 27, 2021 8:28 am
by Mike Daniell
Stuart, could you tell me where in the SCS documentation this is incorrect? I will add an example that contains multiple parameters, but I can't see one in this Help topic: Control Send - Network - vMix.

Re: Format of vMix control send messages

Posted: Mon Mar 01, 2021 10:32 pm
by Stuart Barry
Hmm, now that I look at this more closely, I realise that you don't currently have any examples of a function with two arguments. I suppose I just assumed that the second and later arguments would follow the same format as the first, especially as currently there is no mention of & in the SCS documentation. As you suggest, this is easily fixed by including an example of a function with multiple parameters. But I was delighted and impressed that you have already included support for vmix in SCS in the first place as we are looking into using it to assist live-streaming from our theatre when this resumes in a few months time.
Best wishes
Stuart

Re: Format of vMix control send messages

Posted: Tue Mar 02, 2021 6:22 pm
by Mike Daniell
The SCS Help for the next release will include an example of a function requiring multiple parameters.
The example I have added is "FUNCTION SetVolume Value=75&Input=2".