Jump to content

TCP problems


ChrisBlitz

Recommended Posts

Hi there,

 

I had a quick question, I'm trying to control a Barco PDS-902 switcher with watchout, but struggling to achieve any communication!

 

Barco assure me that the switcher will accept TCP strings in hex format, and the command I'm trying to send is "TAKE", so I've sent this command as

 

$54 $41 $4B $45 $0D

 

But no joy! Any thoughts? I can ping the switcher so comms isn't an issue, I'm sure I must be missing something in the string. Barco tells me the string is correct.

 

Can you shed any light? Many thanks!

 

Chris Ellis

Blitz Communications Ltd

 

Link to comment
Share on other sites

  • Moderator

Hi there,

 

I had a quick question, I'm trying to control a Barco PDS-902 switcher with watchout, but struggling to achieve any communication!

 

Barco assure me that the switcher will accept TCP strings in hex format, and the command I'm trying to send is "TAKE", so I've sent this command as

 

$54 $41 $4B $45 $0D

 

But no joy! Any thoughts? I can ping the switcher so comms isn't an issue, I'm sure I must be missing something in the string. Barco tells me the string is correct.

 

Can you shed any light? Many thanks!

 

Chris Ellis

Blitz Communications Ltd

 

If those spaces are actually in your string, that will not work. If you have some reason for using all hex, it should be

$54$41$4B$45$0D

 

Why are you using HEX if Barco accepts ASCII ?

 

just try

TAKE$0D

or

TAKE

 

 

True, TAKE$0D is exactly equal to $54$41$4B$45$0D once it actually goes out as an IP packet.

 

????  The TAKE  string would only work if the receiving device accepts ASCII characters in lieu of hex $0D,

but that is extremely unusual.

Link to comment
Share on other sites

Hi guys, 

 

Thanks for your replies! 

 

I have solved the issue. It turns out that Barco were wrong about the port number required to communicate with the switcher.. 

 

The manual describes it as being port 3000, which was confirmed by Barco support. However a port scan revealed that it is in fact port 9876 that you need to use! 

 

Also the carriage return was wrong, it needed to be a line feed so instead of $0D I used $0A and it worked!! 

 

Thanks for the help guys! 

 

Chris 

Link to comment
Share on other sites

  • 2 years later...

That's really more a question for Barco, but a quick Google search came up with this manual:

 

   http://www.barco.com/tde/(1100482450511340)/26-1204000-00/01/Barco_UserGuide_26-1204000-00_01__PDS-User-Guide.pdf

 

which on page 149 reads under the ISEL command: "Selects the specified input as the current input to display", which sounds promising. As far as I interpret the docs, you should be able to select input by number like this:

 

   ISEL -i 3$0D

 

Where the digit 3 is the input number to select, and $0D is the terminating carriage return. Hope this helps.

 

Mike

Link to comment
Share on other sites

  • 5 months later...

I'm obviously missing something here.

 

I'm trying to control a Barco PDS902 from a Watchout Production PC.

 

I've discovered the port number error in the Barco ref. material as mentioned above, so using port 9876, TCP however commands, e.g ISEL -1 (channel number) $0A command wont work, nor will the TAKE command.

 

I can control the switcher over Telnet, so there is connectivity.

 

can anyone suggest what Im doing wrong.

 

many thanks

 

Paul

Link to comment
Share on other sites

Thanks Mike

 

actually I just solved it myself. It was sloppy programming, (mine!)

 

I had put each command string in an aux timeline at 0.0 seconds.  when the timeline triggered nothing happened.  Moving the command cue to 0.1 seconds solved the problem.  Obviously (now!) the system was behaving as though the command had already been sent when I triggered the aux timeline with the cue at 0.0

 

all working now

 

regards

 

Paul

Link to comment
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...