public TECControl(string comPort, bool traceEnabled)
{
tecComPort = new SerialPort(comPort, baudrate, System.IO.Ports.Parity.None, 8, System.IO.Ports.StopBits.One);
rxBuf = new byte[rxBufferSize];
tectl = new TraceLogger("", "tec_cam85m_v01");
tectl.Enabled = traceEnabled;
tectl.LogMessage("TECControl", "Initialization finished");
}