teegrid for displaying measured data
Posted: Wed Feb 09, 2022 6:32 pm
I will use teegrid to display a data table with measured data. It adds every second a new data row.
My datarow is a class like this:
public class MeasData
{
public ulong measIndex;
public DateTime dateTime;
public double[] result;
public short[] signif;
public MeasData(int size)
{
measIndex = 0;
dateTime = new DateTime();
result = new double[size];
signif = new short[size];
dateTime = DateTime.Now;
Array.Clear(result, 0, result.Length);
Array.Clear(signif, 0, signif.Length);
}
};
The double[] array can be of size 1 until size 1000, depending of the channels, which are measured.
My question: What is the best way to implement this in teegrid ?
Best Regards, Chris
My datarow is a class like this:
public class MeasData
{
public ulong measIndex;
public DateTime dateTime;
public double[] result;
public short[] signif;
public MeasData(int size)
{
measIndex = 0;
dateTime = new DateTime();
result = new double[size];
signif = new short[size];
dateTime = DateTime.Now;
Array.Clear(result, 0, result.Length);
Array.Clear(signif, 0, signif.Length);
}
};
The double[] array can be of size 1 until size 1000, depending of the channels, which are measured.
My question: What is the best way to implement this in teegrid ?
Best Regards, Chris