deepu LoveleshAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Steve WilliamsProduct Design EngineerCommented:
What types data are you trying to receive? Have you checked with the equipment manufacturer to see if they have an SDK for this?
deepu LoveleshAuthor Commented:
Yes the equipment manufacturer is having the sdk for this and communication is possible. but i need the code where to receive the raw data.
Steve WilliamsProduct Design EngineerCommented:
@deepu Lovelesh

The SDK is how you write the code to receive the data. With the SDK there are probably examples for your hardware. I know SDK's are not all free but if it is necessary for your business, it is a cost we all have to pay. Our company recently has been diving into auotmating processes and we have purchased many SDK's to acheive our goals, the end rsult so far has been well worth the cost.

 If you are not knowledgeable in coding or into developpement, my advice would be to find a person who is and have them explain the ins and outs on how this will happen.  Not all SDK  API's are the same. Each one is different and has to be reviewed before anyone can show you the code for your peticular application. It would be like trying to write a novel with out knowing the charachters or the plot. No one will know what the code is before reviewing the API.

Good Luck, hope this helps!
Maximize Customer Retention with Superior Service

The IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more to help build customer satisfaction and retention.

deepu LoveleshAuthor Commented:
Dear Steve

I just need to get the raw data only
after that i ll program everything myself.
Steve WilliamsProduct Design EngineerCommented:
@deepu Lovelesh

What you may want to do is purchase Anarduino Uno and use this to capture the raw data and then you can write your application to receive the data in whatever format you need from the uno.  You can get a good unit for around $20. I use one to read raw data from a temp sensor and it relays the data back to my windows application through a USB port. Very handy item. I'm sure you could find someone with a similar project that may have a pinout from an RJ45 cable to your device.

Arduino has a great support forum and API. Lots of great information in the Arduino community.

Just an idea, roll it around a bit and let , me know what you think.
deepu LoveleshAuthor Commented:
i just need to receive the data from a specific ipaddress on a specific port. my application not able to receive. please help
Steve WilliamsProduct Design EngineerCommented:
@deepu Lovelesh

I guess I need to know more information in order to help you. How are you connecting this to the computer? You said "from a specific IPaddress through a specific port. ", yet you have not told us what the port is or the ip is. What code language are you writing this in? Your question is too vauge for anyone to answer. You need to supply us with any informtion that you have so that we can help. No one will answer you until you describe the requirement in better detail.
deepu LoveleshAuthor Commented:
i had a haematology analyzer on network having ipaddress as and my laptop having ipaddress as and willing to receive data on port no 3600. i am using only
Steve WilliamsProduct Design EngineerCommented:
How are these connecting through the network? Is the patch cable a straight through or crossover cable? Brand , model number of analyzer?
deepu LoveleshAuthor Commented:
Sir thanks a ton for our interest. i am able to get the data but there is some data which represents a linear graph. can you help me to find out the solution to that using

the data received for the graph is as under

"OBX|32|ED|15000^WBC Histogram. Binary^99MRC||^Application^Octer-stream^Base64^AAAAAAAAAAAAAAABAgQHDRcmO1Z3nMPg9P/98+HKsZl8aFdGMyUfHBwcHR8iJy02QUpLTU5PT09PTUxKSEZEQkBAPz4+PT09Pj49PDo5ODg3Nzg6PD5AQ0ZISUpMTU9RU1VWWFlZWlpaWlpaWlpbW1tbW1tcXV5fYGBhYWBgXl1bWVdVU1JQT01MSkhGREJAPj07OTg2NDMxLy0sKignJSQi"

"OBX|36|NM|15057^RBC Histogram. Total^99MRC||43822||||||F


"OBX|42|ED|15100^PLT Histogram. Binary^99MRC||^Application^Octer-stream^Base64^HR0MHQwMFB0VDAsMDxQiHRoVEAwLCwsMDg8QFBoiLB0cGhcVEhAODAsLCwsLCwwMDQ4ODw8QEhQXGh4iJywzHRwcGxoZFxYVFBIREA8ODQwMCwsLCwsLCwsLCwsLDAwMDA0NDg4ODw8PDxAQERITFBYXGRocHiAiJCcpLDAzOB0=||||||F

would really be thankful if you could help to create a graph from above sequence.
Steve WilliamsProduct Design EngineerCommented:
I have attached a user manual for an analyzer I found online. I believe this is similar to the one you are working on. Am I correct?
deepu LoveleshAuthor Commented:
thanks a ton Steve but now i need the program that converts the base64 octal values given above to the linear graph. can you please help in that.
Steve WilliamsProduct Design EngineerCommented:
@ deepu Lovelesh
give a couple days to work on this. I believe what your actually trying to do is decode the Base64 to octal values.

Here is an online convertor which shows the output I'm working on for you in
deepu LoveleshAuthor Commented:
Dear Steve

I need a graph from this which would look somehow like this.

so request you to kindly workout for that

"OBX|32|ED|15000^WBC Histogram. Binary^99MRC||^Application^Octer-stream^Base64^AAAAAAAAAAAAAAABAgQHDRcmO1Z3nMPg9P/98+HKsZl8aFdGMyUfHBwcHR8iJy02QUpLTU5PT09PTUxKSEZEQkBAPz4+PT09Pj49PDo5ODg3Nzg6PD5AQ0ZISUpMTU9RU1VWWFlZWlpaWlpaWlpbW1tbW1tcXV5fYGBhYWBgXl1bWVdVU1JQT01MSkhGREJAPj07OTg2NDMxLy0sKignJSQi"

it already tells that histograms are octer stream base64 strings in the first line.
Steve WilliamsProduct Design EngineerCommented:
@deepu Lovelesh

Ok I here is a link to download the sample project I created in MSVS 2017 community.

Click Here to download the project from my google drive.

Here is a screenshot of the form with the encoded data that has been decoded and shown in a decoded text field.

and here is a screenshot of the application in debug mode and viewing the contents of the datatable that contains the data harvested from the textbox string.

and finally here is the code from the form

Imports System.Environment
Imports System.IO
Imports System
Imports System.Text
Imports System.Data
Imports System.Windows.Forms.DataVisualization.Charting

Public Class FrmMain

    Public dt As New DataTable("TheData")

    Private Sub btnGo_Click(sender As Object, e As EventArgs) Handles btnGo.Click
        Dim base64Encoded As String = txtEncoded.Text
        Dim data() As Byte

        'What you care about
        data = System.Convert.FromBase64String(base64Encoded)

        For i As Byte = LBound(data) To UBound(data)
            txtDecoded.Text += " " + Convert.ToString(data(i))

        Dim dText As String
        dText = txtDecoded.Text

        Dim ds As New DataSet()

        Dim nums As String() = dText.Split(New Char() {" "c})
        Dim num As String
        For Each num In nums

        chData.DataSource = dt
    End Sub
End Class

Open in new window

I apologize but I don't have any more time to spend on this as I was just handed a huge project and won't have the time. Hope what I did for you will get you pointed in the right direction and help you reach your goal. Good luck.
deepu LoveleshAuthor Commented:
thanks Steve for our valuable time but i got another solution which worked for me.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Steve WilliamsProduct Design EngineerCommented:
Thats good news deepu, glad you found what you needed.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.