Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

1st Project

Status
Not open for further replies.

3Sixty

Technical User
Feb 28, 2005
1,451
GB
I have been asked to take some information that comes in on a communcications port and present on screen like a wallboard. I would appreciate any sort of guidance on this project. I am not sure if it is possible to read a communications port and am I really struggling. I was thinking about using a seperate application to collect the data and then read the file. The problem I have is the info is real time and is extremely simple.

The file comes out real time and the data is already collated so all I need to do is take it and format it and display on the screen.

The info comes out in raw text.

Something like this

87 4000 4 5000
85 3800 4 5001
88 3900 4 5002

This happens every second and I would like to display this on a real time wallboard. Is this possible and if so would anyone please offer some guidance. The info would be displayed as below.

Temperature RPM motors run time
87 4000 4 5000

Thanks,
Colin
 
the actual collection of the data is independent of asp.net. all asp.net does is service http request/response. I think you want to look into the System.Net.Socket namespace (or something like that) you will collect the information into some sort of data structure. I recommend POCOs. other like datatables. once the data is in a POCO or datatable you can now do with it what you want. send it to a command line, webpage, windows application, etc.

for more help with the port reading try either the C# or VB forum, whichever .net language you are choosing.

Jason Meckley
Programmer
Specialty Bakers, Inc.

faq855-7190
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top