Jump to content
Dataton Forum
Patrick Pummill

WO external control and polling frequency

Recommended Posts

Hello,

I'm in the middle of building an installation that consists of three independent display servers being controlled by an ipad based control system by Kramer. At it's simplest, we are using the ipad to Play, Stop, and Pause Aux timelines with the UI showing the states of the Aux timelines.  And ideally a counter showing the time.

While wading thru the forum I found this statement:

"One shot polls are interrupt based and if sent too often can impact system performance."

When observing the packet stream between the program Universe and WO production,  it appears that a getStatus query using "2" for the subscription function is sent about every 30 ms.  If we do something similar with the Kramer Control system for three display servers and multiple Aux timelines, is there any way to determine what kind of impact that might have?

 

Also, a syntax question:

Elsewhere in the forum I came across this specific syntax for a getStatus query:

getStatus 1 "TaskList:mItemList:mItems:TimelineTask \"Movie1\""

The users' guide Control Protocol section defines only the basic getStatus command and the expected reply, but not in the detail noted above.  Is there a document in existence that shows that level of detail for each command?

Or do I need to use a program like Universe to reverse-engineer something similar for Kramer Control?

thank you for your help

-patrick

 

 

Share this post


Link to post
Share on other sites

If you use the subscription model, there's no need to repeat the command. Whilw the subscription is active, WO will tell you whenever there's a change, without you having to poll it constantly. That's the whole idea. The additional parameter follwing "getStatus n" (where n is 0 for start subscription and 1 to end subscription, if memory serves me correctly) is the path to the auxiliary timeline to subscribe to. Without this parameter, main timeline is targeted.

Mike

Share this post


Link to post
Share on other sites

Hi Mike,

thank you for your response. Swap the 1 and 0 and you'll be correct with respect to the subscription tag.  I have a couple of questions that is probably obvious to more experienced programmers than I:

1. To display an Aux Timeline position while it's running accurate to .1 second on an external device, I would have to send a getStatus 2 command every .05 seconds.  Would you say this is a correct statement?  

2. If WO receives the following command: run "" or getStatus 1 "" , will the extra double quotes cause any errors or problems?  Or will it just simply ignore the double quotes if nothing is between them.  I ask because I'd like to have a single command operate either the Main Timeline or an Aux Timeline depending on what's between the quotes.  This appears to work when using Putty to send commands.  

Thank you

-patrick

Share this post


Link to post
Share on other sites

For 1, I would not use polling for that. Use the subscription model intead. WO will then tell you when there's any abrupt change. Interpolate/extrapolate intermediate values based on the data you get.

For 2, just give it a try. If it works then you should be good to go.

Mike

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...