0

I am working on Hyper terminal to capture the data from Com1 port. I have configured it and the file I have is .ht file on the desktop where I can open and see the data.

The device that connected is a weight scale device. I can capture the data through hyper terminal and save it to a text file. But it is a continuous capturing and saving to that text file.

I am developing a web service in C# to get the weight data from hyper terminal. All I need from web service is to get the weight data from the scale when I want to.

I am thinking the way I can accomplish this is I have to turn on the hyper terminal, capture the data and turn off the hyper terminal. But I don't know how can I do this in C#.

Any suggestions will be appreciated. and please let me know if you need more info.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
alienavatar
  • 277
  • 1
  • 6
  • 19

1 Answers1

1

You don't need hyper terminal. You can use System.IO.Ports.SerialPort class to communicate with COM ports

L.B
  • 114,136
  • 19
  • 178
  • 224