Jump to content
Dataton Forum
waisoon

TCP for watchout display cluster

Recommended Posts

hi , i m facing one problem with watchout diplay cluster when i try to remote control with tcp .. i use c# to create a tcp client and connect to port 3039. it can connect but when i execute command , it return error 8.1 not authorized for the command .. any way to fix it ? previously i did use udp and it works .. but some how the udp message will combine if i send it very fast

WhatsApp Image 2019-08-05 at 16.29.15.jpeg

Share this post


Link to post
Share on other sites

Yes. Before you can send any commend (except ping) you must first establish an authentication level. For cluster commands, it is best to set level 1. i.e. 

authenticate 1

terminated with a carriage returned (hex 0D).

Otherwise, you are not authorized.

Share this post


Link to post
Share on other sites
3 hours ago, waisoon said:

"terminated with a carriage returned (hex 0D)."   what this mean?

I do not know how your control product sends its strings. All commands to WATCHOUT must have a carriage return at the end of the command. When typing a command from telnet, this is accomplished by hitting the return key. Control products use various methods of sending the carriage return at the end of the command string. Some use /r. Some send the the two digits representing the single byte hex value with some hexadecimal value indicator, , I have seen 0Dh, etc - for example, WATCHOUT itself uses a dollar sign ($) to indicate the next two digits are a single byte hex value, so in a WATCHOUT output cue, you would type $0D to send a carriage return. The method used to define hexadecimal bytes is determined by your control product.

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