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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does Procomm translate input text ?

Status
Not open for further replies.

haglis

Programmer
Aug 14, 2009
2
GB
Hi,

I am about to embark on a small programming project for a friend of mine and I am trying to find some information on the device that I need to interface with in C#.

I can happily talk to the device via RS-232 using Procomm Plus using the CHAT option.

My question is, when you type in a typical command such as PEAK (for this device) does Procomm translate this into Ascii or hex and then send it to the device, or does it simply send the data as is ?

Many thanks, George.
 
Basically those are all different representations of the characters that are sent. My guess is that at the level C# is involved you would be dealing with characters and strings.

 
Perhaps I should rephrase the question a little.

I am really trying to find out what the remove device is expecting to see/read from the PC. Does it expect hex, ascii or plain commands (such as Peak etc).

That is why I asked of Procomm converted the commands before sending to the serial port ?
 
Procomm operates above the hardware layer where all of that would be taking place. My guess would be that the data is sent across one byte at a time, probably in the binary representation and not hex. Again, if you are programming in a high-level language, most of this will be practically invisible to you.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top