Hi,
Thank you very mouch for your quick support!!
Now it works perfect as expected
Hi,
Thank you very mouch for your quick support!!
Now it works perfect as expected
I am trying to develope my own controller SW using VB.NET 2012.
Reading data from Gateway works perfect, using Sockets.NetworkStream and public function .GetStream(), but i do not suceed sending anything.
When i try to send to gateway, i use function .Client.Send(<bytes>) where bytes are by command text string "20;1;1;1;2;0;\n" decoded to byte with the expression System.Text.Encoding.ASCII.GetBytes( "20;1;1;1;2;0;\n")
When i connect to gateway using putty and a raw connection everything works fine.
Does anyone have knowledge about VB.net and howto send command to gateway?