WD > Companion

Christie Widget Designer Version 6 - Q&A

Moderator: Moderator Group

Forum rules
When asking make sure to include the operating system and the revision of Widget Designer you are using.

WD > Companion

Postby pieterhu » Wed Jan 12, 2022 3:02 pm

Hi!

I need to update button statuses on a stream deck using Companion. HTTPRequest/UDP implementation in Companion is poor so I need to use OSC.
Sending a simple command like '/press/bank/10/11' using the OSC single message node doesn't work. If I put all data in the message field I'm able to crash Companion so the connection is running :D
Do you guys have any suggestion? Ideally I would use a command like this: 'UDPSend(1,"/press/bank/10/11"). Is that possible at all?
Pieter Huijgen
Dutch National Opera & Ballet

beta tester
pieterhu
 
Posts: 37
Joined: Thu May 10, 2012 9:54 am
Location: Amsterdam

Re: WD > Companion

Postby Daniel Kaminski » Wed Jan 12, 2022 7:18 pm

Hi Pieter,

I have used the TCP Remote inside Companion before:
TCP/UDP REMOTE CONTROL
Remote triggering can be done by sending TCP (port 51234) or UDP (port 51235) commands.

Commands:

PAGE-SET <page number> <surface id>
Make device go to a specific page
PAGE-UP <surface id>
Page up on a specific device
PAGE-DOWN <surface id>
Page down on a specific surface
BANK-PRESS <page> <bank>
Press and release a button (run both down and up actions)
BANK-DOWN <page> <bank>
Press the button (run down actions)
BANK-UP <page> <bank>
Release the button (run up actions)
Examples

Set the emulator surface to page 23
PAGE-SET 23 emulator

Press page 1 bank 2
BANK-PRESS 1 2



The Problem was the syntax is case sensitiv and for some reason wrong in the companion documentation:

Command needs to look like this

Tcp_Client1.send("Bank-Press 1 2[CR][LF]")

I will try UDP OSC and let you know what I found.

Daniel
You do not have the required permissions to view the files attached to this post.
--
Daniel Kaminski
Pandoras Box Expert
User avatar
Daniel Kaminski
 
Posts: 1050
Joined: Tue Jul 22, 2008 10:55 am
Location: Herten, Germany

Re: WD > Companion

Postby pieterhu » Thu Jan 13, 2022 10:46 am

Hi Daniel,

Thanks for your response! Problem is the poor implementation of TCP/UDP in Companion.
I have some buttons in WD which are in Companion as well and I need to update their statuses.
- Companion > WD triggers the command associated to the button and button color in Companion changes with an internal Companion command
- WD > Companion should not trigger the command but only change button color: there is an OSC command for it--> /style/color/ <page> <bank> <red 0-255> <green 0-255> <blue 0-255>
which is not in TCP/UDP/HTTPreq.
Pieter Huijgen
Dutch National Opera & Ballet

beta tester
pieterhu
 
Posts: 37
Joined: Thu May 10, 2012 9:54 am
Location: Amsterdam

Re: WD > Companion

Postby Daniel Kaminski » Thu Jan 13, 2022 11:28 pm

I see,

take a look at this post
viewtopic.php?f=116&t=4739&p=15117&hilit=osc#p15117

maybe this helps.

Daniel
--
Daniel Kaminski
Pandoras Box Expert
User avatar
Daniel Kaminski
 
Posts: 1050
Joined: Tue Jul 22, 2008 10:55 am
Location: Herten, Germany


Return to Widget Designer V6

Who is online

Users browsing this forum: No registered users and 0 guests

cron