Click here to Skip to main content
13,247,704 members (58,810 online)
Rate this:
Please Sign up or sign in to vote.
See more:
hi all,

i am trying to receive data from instrument using the serial port on this instrument and using a print server with static ip address i will convert the serial port to Ethernet my problem is this instrument sends the data so how could i using C# application receives this data when this instrument send it.

Best Regards,
Posted 9-Jan-13 4:02am
jibesh 9-Jan-13 20:32pm
You need to more precise with question to get a right answer. we cant see your code or read your mind so you never expect a clear answer with a vague question. "Instrument sends data" to where? to your PC? If yes how? does the instrument provides any additional drivers to read the data? or any spec how to read its data?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Use a SerialPort[^] instance to monitor the COM port - the link includes an example.
programmer expert 9-Jan-13 12:58pm
there is nothing to do with serial port because the print server(serial to Ethernet converter) will do this my problem is this instrument will sends the data through it is serial port and this data will be passed through the converter then how could i receive this data.
OriginalGriff 9-Jan-13 14:07pm
We can't answer that - we have absolutely no idea what your convert is doing with the data!
jibesh 9-Jan-13 20:38pm
You should try Ethernet packet reading frarmeworks. is good choice. however you must know the format of the data you want to read else the output is just binary values for you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.171114.1 | Last Updated 9 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100