Search results for query: *

  1. S

    can't post to y webAPI from remote IP adress

    Hi, i have my own WEB API that i created with ASP.NET Web Application (.NET Framework). i have also created a HttpClient and i can post values when i run inside my local network. when i try the HttpClient on a remote pc , i get : "SocketException: A connection attempt failed because the...
  2. S

    how to split string raed from binary file

    Hi, i have a binary file which has only one line. i read the values into string array but i cant find a way to split it. the line inside the file looks like that: COM3120281959QNG19600TrueTrueTrueTrueCOM3220004199QNG4-NV can anyone please help with an idea? thank you, Shay.
  3. S

    read to datagridview form binary file

    i am trying to read a binary file value in a datagridview but i get the following error: Topshelf.Hosts.ConsoleRunHost Critical: 0 : The service threw an unhandled exception, System.NullReferenceException: Object reference not set to an instance of an object. here is my code: string file =...
  4. S

    formating the buffer input from a serial port?

    hello, i have a program where i read a list of values from an energy meter through a serial port. to read the buffer i use the ReadExisting() method. my problem is that the words in the second column have different length each raw so the list is not orginized well: I am looking for a way...
  5. S

    Answered recover connection after changing slave ID in easymodbus RTU c#

    i am trying to change the slave Id of my energy meter by writing a new value to right register. once the value is changed the connection is obviously lost but i can't find a way to renew it. i cant close the port without closing my entire application, there is no respond to...
Back
Top Bottom