Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7535579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T06:20:21+00:00 2026-05-30T06:20:21+00:00

I need some advice as to how to approach a project I am getting

  • 0

I need some advice as to how to approach a project I am getting ready to start.

We have a windows app user interface that contains 20 chart controls, each on it’s own tab control.

These charts show data on a part as it moves through a conveyor line in a factory.

Each chart shows data from different sensors in different areas of the conveyor line.

The sensors all talk to a black box interface, which in turn sends out a byte[] stream.

I connect to the byte stream from a socket connection on the server and read the data into my program.

On connection to that socket the byte stream sends out the last 100 records to update the charts with.

After the first initial 100 records the byte stream only sends out updated data.

This byte stream is changing constantly, every few seconds.

I cannot make any changes to how the byte stream works.

In the windows app, I take that byte stream apart, translate it back into readable data and store that information into a table in memory.

Only the last 100 records are stored in the table.

Using a background worker, I am constantly reading the byte stream and updating the table,
and from there update the charts.

All of this work is done in the windows app.

I would like to create a service to do all of this work in.

I would like to have the service send out just the serialized chart data and create a gui that will read in the charts on the client end and update the charts to the user.

I have to have the ability to update the client as the server is updated from the byte stream. So all updates have to be initiated through the server.

I have looked at WCF, but it seems that using a backgroundworker is frowned upon.

Looking at just using a windows service seems likely, however, the client will have to initiate a call back to the service periodically and that won’t really be in real time.

I’ve thought about a mixture of the two, but that seems like overkill, but maybe not – that’s why I am seeking advice here!

Any help or suggestions would be appreciated! Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T06:20:22+00:00Added an answer on May 30, 2026 at 6:20 am

    I would do it like this:

    [black box] -> [ -> [service] -> [data storage] -> [wcf service] ] -> [your app]

    principal schema:

    • windows service [service] to pull data from the box at regular intervals
    • [service] grabs the data and stores it somewhere in local storage: database, timeseries, flat file
    • [service] also encapsulates the black box, the rest of the infrastructure is not talking to [black box] anymore only talks to your wcf service. This is good, cause you can make the interfaces as you see fit.
    • [wcf service] is the only interface for you application data needs, it is normally hosted under something else: your application, windows service or iis. Iis being the easiest option.
    • [your app] is the final consumer of the data from wcf service, and it doesn’t know anything about the black box.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i need an advice on how to approach this problem. I have some picture
I need some advice in creating and ordering indexes in mongo. I have a
I need some advice before I start. My PHP Skills are only 3 months
Experts - I need some advice in the following scenario. I have a configuration
I engaged a problem with inherited Controls in Windows Forms and need some advice
----- PHP and mySQL ----- I have two quick questions need some advice. On
I need some advice on whether I am taking the right approach for my
Need some advice about a best-approach for this problem: I've fallen madly in love
I need some advice for the best approach to use in developing embeddable widgets
I need some advice. I have to create a subscription notification service for my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.