Jump to content
Dataton Forum

Output strings on same TCP connection of controlling application??


Recommended Posts

Hi.
I'm writing a C# application that will interact with WatchOut.

I will send commands and receive notifications. To do that should I open two connections, one as a client to issue commands to WatchOut and another as a server to receive notifications from WatchOut Outputs?  essay writer Is there a way to get Outputs in the same connection I use to send commands - and to receive errors?

Thank you for reading.

Link to post
Share on other sites

If you control a display cluster, the cluster usually sends back information on the same ip port. Try the getStatus command or the ping command to see what comes back.

You can also use IDs with each command and then the ackn will also include the ID to distinguish the answers.

If you want to send commands from a string output of WATCHOUT, this would need a separate port and a TCP/IP server on the control side.

There also used to be an undocumented feature, which would send strings to the control port instead. The trick was to use control cues and type something like    :message   into the name field. The colon is important here! I haven't tried it for quite some time but I guess it should stilll work.

Hope this helps.

Link to post
Share on other sites

Yes, this undocumented feature was called "The Norwegian Feature" from the project where it was originally used. I can confirm it works, at least up to WO v6.2 (see log below), as I was using it in a Musuem installation with Medialon a while back. Medialon was eventually replaced by PIXILAB Blocks ;)

MacBook-Pro: telnet 169.254.12.130 3039
Trying 169.254.12.130...
Connected to 169.254.12.130.
Escape character is '^]'.
authenticate 1
Ready "6.2" "WATCHPOINT" "Windows" true
load "Norwegian test62"
Busy "Cluster Established" "" 0
Ready "6.2" "WATCHPOINT" "Windows" true
run
Information ":Test1"
Information ":Test2"
Information ":Loop"
Information ":Test1"
Information ":Test2"
halt

 

Link to post
Share on other sites
1 hour ago, Fredrik Svahnberg said:

Yes, this undocumented feature was called "The Norwegian Feature" from the project where it was originally used. I can confirm it works, at least up to WO v6.2 (see log below), as I was using it in a Musuem installation with Medialon a while back. Medialon was eventually replaced by PIXILAB Blocks ;)

MacBook-Pro: telnet 169.254.12.130 3039
Trying 169.254.12.130...
Connected to 169.254.12.130.
Escape character is '^]'.
authenticate 1
Ready "6.2" "WATCHPOINT" "Windows" true
load "Norwegian test62"
Busy "Cluster Established" "" 0
Ready "6.2" "WATCHPOINT" "Windows" true
run
Information ":Test1"
Information ":Test2"
Information ":Loop"
Information ":Test1"
Information ":Test2"
halt

 

FYI The Norwegian feature goes back to version 2 and is retained as a form of backward compatibility. As such, it only works on the main timeline, as auxiliary timelines did not appear until a later major version. I recently tested it with v6.5 and it still works as indicated above.

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...