Format of vMix control send messages

General topics regarding SCS
Post Reply
Stuart Barry
Posts: 31
Joined: Sun Jun 22, 2008 9:40 pm

Format of vMix control send messages

Post by Stuart Barry » Fri Feb 26, 2021 11:13 pm

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

Mike Daniell
Site Admin
Posts: 3629
Joined: Sun Jul 24, 2005 8:58 am
Location: Brisbane, Queensland, Australia. TZ:GMT+10
Contact:

Re: Format of vMix control send messages

Post by Mike Daniell » Sat Feb 27, 2021 8:28 am

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.
Mike Daniell
Show Cue Systems Pty Ltd
mike@showcuesystems.com
Image

Stuart Barry
Posts: 31
Joined: Sun Jun 22, 2008 9:40 pm

Re: Format of vMix control send messages

Post by Stuart Barry » Mon Mar 01, 2021 10:32 pm

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

Mike Daniell
Site Admin
Posts: 3629
Joined: Sun Jul 24, 2005 8:58 am
Location: Brisbane, Queensland, Australia. TZ:GMT+10
Contact:

Re: Format of vMix control send messages

Post by Mike Daniell » Tue Mar 02, 2021 6:22 pm

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".
Mike Daniell
Show Cue Systems Pty Ltd
mike@showcuesystems.com
Image

Post Reply