private void StartInfraredStream() { // Get frame description for the infr output var description = Sensor.InfraredFrameSource.FrameDescription; // Init infr buffer InfraredFrame frame = Infrared = new InfraredFrame(); frame.Width = description.Width; frame.Height = description.Height; frame.Pixels = new ushort[description.LengthInPixels]; frame.Stamp = new Timestamp(); AddOnManager.GetInstance().InitFrame(Name, frame); Log(frame.ToString()); // Start Watch InfraredWatch = new StopwatchAvg(); }