You need to combine three parts:
0) Get the data from a serial communication. If you mean an RS232-port to read the data from, you can use the
SerialPort class[
^].
1) Your data model. Create a custom class with properties that reflect the data you want to represent. Decode what you got from 0) and feed the data into your model.
[Edit]
A simple data model class:
public class SingleDataPoint
{
public decimal Temperature { get; set; }
public decimal Voltage { get; set; }
public decimal Current { get; set; }
}
This class has no logic in it. It's just for storing some values. Create an instance
SingleDataPoint oneSingleData = new SingleDataPoint();
and fill in the values
oneSingleData.Temperature = -273.15;
oneSingleData.Voltage = 42;
oneSingleData.Current = 0x0815;
If you need losts of those data points, keep them in a
BindingList<SingleDataPoint>[
^] for later easy binding to your UI.
[/Edit]
2) Display the data. Bind your model to a
DataGridView[
^] for automatic updating.