/// <summary> /// Converts buffer float trace /// </summary> /// <param name="buffer">buffer to get data from</param> /// <returns>Float trace</returns> public static float[] GetTraceData(byte[] buffer) { float[] tmp = new float[(buffer.Length - 240) / 4]; NumberUnion nu = new NumberUnion(); for (int i = 0, j = 240; i < tmp.Length; i++, j += 4) { tmp[i] = BufferConverter.GetBytesIBM(buffer, nu, j); } return(tmp); }