function [X,Y]=Table(Kennlinie);
    select Kennlinie;
    case "TCB" then;
        //Temperatur t[°C]
        t=[0:1:1820];
        //Spannung U[mV]
        U=[0.000,0.000,0.000,-0.001,-0.001,-0.001,-0.001,-0.001,-0.002,-0.002,-0.002,-0.002,-0.002,-0.002,-0.002,-0.002,-0.002,-0.002,-0.003,-0.003,...
        -0.003,-0.003,-0.003,-0.003,-0.003,-0.002,-0.002,-0.002,-0.002,-0.002,...
        -0.002,-0.002,-0.002,-0.002,-0.002,-0.001,-0.001,-0.001,-0.001,-0.001,...
        0.000,0.000,0.000,0.000,0.000,0.001,0.001,0.001,0.002,0.002,...
        0.002,0.003,0.003,0.003,0.004,0.004,0.004,0.005,0.005,0.006,...
        0.006,0.007,0.007,0.008,0.008,0.009,0.009,0.010,0.010,0.011,...
        0.011,0.012,0.012,0.013,0.014,0.014,0.015,0.015,0.016,0.017,...
        0.017,0.018,0.019,0.020,0.020,0.021,0.022,0.022,0.023,0.024,...
        0.025,0.026,0.026,0.027,0.028,0.029,0.030,0.031,0.031,0.032,...
        0.033,0.034,0.035,0.036,0.037,0.038,0.039,0.040,0.041,0.042,...
        0.043,0.044,0.045,0.046,0.047,0.048,0.049,0.050,0.051,0.052,...
        0.053,0.055,0.056,0.057,0.058,0.059,0.060,0.062,0.063,0.064,...
        0.065,0.066,0.068,0.069,0.070,0.072,0.073,0.074,0.075,0.077,...
        0.078,0.079,0.081,0.082,0.084,0.085,0.086,0.088,0.089,0.091,...
        0.092,0.094,0.095,0.096,0.098,0.099,0.101,0.102,0.104,0.106,...
        0.107,0.109,0.110,0.112,0.113,0.115,0.117,0.118,0.120,0.122,...
        0.123,0.125,0.127,0.128,0.130,0.132,0.134,0.135,0.137,0.139,...
        0.141,0.142,0.144,0.146,0.148,0.150,0.151,0.153,0.155,0.157,...
        0.159,0.161,0.163,0.165,0.166,0.168,0.170,0.172,0.174,0.176,...
        0.178,0.180,0.182,0.184,0.186,0.188,0.190,0.192,0.195,0.197,...
        0.199,0.201,0.203,0.205,0.207,0.209,0.212,0.214,0.216,0.218,...
        0.220,0.222,0.225,0.227,0.229,0.231,0.234,0.236,0.238,0.241,...
        0.243,0.245,0.248,0.250,0.252,0.255,0.257,0.259,0.262,0.264,...
        0.267,0.269,0.271,0.274,0.276,0.279,0.281,0.284,0.286,0.289,...
        0.291,0.294,0.296,0.299,0.301,0.304,0.307,0.309,0.312,0.314,...
        0.317,0.320,0.322,0.325,0.328,0.330,0.333,0.336,0.338,0.341,...
        0.344,0.347,0.349,0.352,0.355,0.358,0.360,0.363,0.366,0.369,...
        0.372,0.375,0.377,0.380,0.383,0.386,0.389,0.392,0.395,0.398,...
        0.401,0.404,0.407,0.410,0.413,0.416,0.419,0.422,0.425,0.428,...
        0.431,0.434,0.437,0.440,0.443,0.446,0.449,0.452,0.455,0.458,...
        0.462,0.465,0.468,0.471,0.474,0.478,0.481,0.484,0.487,0.490,...
        0.494,0.497,0.500,0.503,0.507,0.510,0.513,0.517,0.520,0.523,...
        0.527,0.530,0.533,0.537,0.540,0.544,0.547,0.550,0.554,0.557,...
        0.561,0.564,0.568,0.571,0.575,0.578,0.582,0.585,0.589,0.592,...
        0.596,0.599,0.603,0.607,0.610,0.614,0.617,0.621,0.625,0.628,...
        0.632,0.636,0.639,0.643,0.647,0.650,0.654,0.658,0.662,0.665,...
        0.669,0.673,0.677,0.680,0.684,0.688,0.692,0.696,0.700,0.703,...
        0.707,0.711,0.715,0.719,0.723,0.727,0.731,0.735,0.738,0.742,...
        0.746,0.750,0.754,0.758,0.762,0.766,0.770,0.774,0.778,0.782,...
        0.787,0.791,0.795,0.799,0.803,0.807,0.811,0.815,0.819,0.824,...
        0.828,0.832,0.836,0.840,0.844,0.849,0.853,0.857,0.861,0.866,...
        0.870,0.874,0.878,0.883,0.887,0.891,0.896,0.900,0.904,0.909,...
        0.913,0.917,0.922,0.926,0.930,0.935,0.939,0.944,0.948,0.953,...
        0.957,0.961,0.966,0.970,0.975,0.979,0.984,0.988,0.993,0.997,...
        1.002,1.007,1.011,1.016,1.020,1.025,1.030,1.034,1.039,1.043,...
        1.048,1.053,1.057,1.062,1.067,1.071,1.076,1.081,1.086,1.090,...
        1.095,1.100,1.105,1.109,1.114,1.119,1.124,1.129,1.133,1.138,...
        1.143,1.148,1.153,1.158,1.163,1.167,1.172,1.177,1.182,1.187,...
        1.192,1.197,1.202,1.207,1.212,1.217,1.222,1.227,1.232,1.237,...
        1.242,1.247,1.252,1.257,1.262,1.267,1.272,1.277,1.282,1.288,...
        1.293,1.298,1.303,1.308,1.313,1.318,1.324,1.329,1.334,1.339,...
        1.344,1.350,1.355,1.360,1.365,1.371,1.376,1.381,1.387,1.392,...
        1.397,1.402,1.408,1.413,1.418,1.424,1.429,1.435,1.440,1.445,...
        1.451,1.456,1.462,1.467,1.472,1.478,1.483,1.489,1.494,1.500,...
        1.505,1.511,1.516,1.522,1.527,1.533,1.539,1.544,1.550,1.555,...
        1.561,1.566,1.572,1.578,1.583,1.589,1.595,1.600,1.606,1.612,...
        1.617,1.623,1.629,1.634,1.640,1.646,1.652,1.657,1.663,1.669,...
        1.675,1.680,1.686,1.692,1.698,1.704,1.709,1.715,1.721,1.727,...
        1.733,1.739,1.745,1.750,1.756,1.762,1.768,1.774,1.780,1.786,...
        1.792,1.798,1.804,1.810,1.816,1.822,1.828,1.834,1.840,1.846,...
        1.852,1.858,1.864,1.870,1.876,1.882,1.888,1.894,1.901,1.907,...
        1.913,1.919,1.925,1.931,1.937,1.944,1.950,1.956,1.962,1.968,...
        1.975,1.981,1.987,1.993,1.999,2.006,2.012,2.018,2.025,2.031,...
        2.037,2.043,2.050,2.056,2.062,2.069,2.075,2.082,2.088,2.094,...
        2.101,2.107,2.113,2.120,2.126,2.133,2.139,2.146,2.152,2.158,...
        2.165,2.171,2.178,2.184,2.191,2.197,2.204,2.210,2.217,2.224,...
        2.230,2.237,2.243,2.250,2.256,2.263,2.270,2.276,2.283,2.289,...
        2.296,2.303,2.309,2.316,2.323,2.329,2.336,2.343,2.350,2.356,...
        2.363,2.370,2.376,2.383,2.390,2.397,2.403,2.410,2.417,2.424,...
        2.431,2.437,2.444,2.451,2.458,2.465,2.472,2.479,2.485,2.492,...
        2.499,2.506,2.513,2.520,2.527,2.534,2.541,2.548,2.555,2.562,...
        2.569,2.576,2.583,2.590,2.597,2.604,2.611,2.618,2.625,2.632,...
        2.639,2.646,2.653,2.660,2.667,2.674,2.681,2.688,2.696,2.703,...
        2.710,2.717,2.724,2.731,2.738,2.746,2.753,2.760,2.767,2.775,...
        2.782,2.789,2.796,2.803,2.811,2.818,2.825,2.833,2.840,2.847,...
        2.854,2.862,2.869,2.876,2.884,2.891,2.898,2.906,2.913,2.921,...
        2.928,2.935,2.943,2.950,2.958,2.965,2.973,2.980,2.987,2.995,...
        3.002,3.010,3.017,3.025,3.032,3.040,3.047,3.055,3.062,3.070,...
        3.078,3.085,3.093,3.100,3.108,3.116,3.123,3.131,3.138,3.146,...
        3.154,3.161,3.169,3.177,3.184,3.192,3.200,3.207,3.215,3.223,...
        3.230,3.238,3.246,3.254,3.261,3.269,3.277,3.285,3.292,3.300,...
        3.308,3.316,3.324,3.331,3.339,3.347,3.355,3.363,3.371,3.379,...
        3.386,3.394,3.402,3.410,3.418,3.426,3.434,3.442,3.450,3.458,...
        3.466,3.474,3.482,3.490,3.498,3.506,3.514,3.522,3.530,3.538,...
        3.546,3.554,3.562,3.570,3.578,3.586,3.594,3.602,3.610,3.618,...
        3.626,3.634,3.643,3.651,3.659,3.667,3.675,3.683,3.692,3.700,...
        3.708,3.716,3.724,3.732,3.741,3.749,3.757,3.765,3.774,3.782,...
        3.790,3.798,3.807,3.815,3.823,3.832,3.840,3.848,3.857,3.865,...
        3.873,3.882,3.890,3.898,3.907,3.915,3.923,3.932,3.940,3.949,...
        3.957,3.965,3.974,3.982,3.991,3.999,4.008,4.016,4.024,4.033,...
        4.041,4.050,4.058,4.067,4.075,4.084,4.093,4.101,4.110,4.118,...
        4.127,4.135,4.144,4.152,4.161,4.170,4.178,4.187,4.195,4.204,...
        4.213,4.221,4.230,4.239,4.247,4.256,4.265,4.273,4.282,4.291,...
        4.299,4.308,4.317,4.326,4.334,4.343,4.352,4.360,4.369,4.378,...
        4.387,4.396,4.404,4.413,4.422,4.431,4.440,4.448,4.457,4.466,...
        4.475,4.484,4.493,4.501,4.510,4.519,4.528,4.537,4.546,4.555,...
        4.564,4.573,4.582,4.591,4.599,4.608,4.617,4.626,4.635,4.644,...
        4.653,4.662,4.671,4.680,4.689,4.698,4.707,4.716,4.725,4.734,...
        4.743,4.753,4.762,4.771,4.780,4.789,4.798,4.807,4.816,4.825,...
        4.834,4.843,4.853,4.862,4.871,4.880,4.889,4.898,4.908,4.917,...
        4.926,4.935,4.944,4.954,4.963,4.972,4.981,4.990,5.000,5.009,...
        5.018,5.027,5.037,5.046,5.055,5.065,5.074,5.083,5.092,5.102,...
        5.111,5.120,5.130,5.139,5.148,5.158,5.167,5.176,5.186,5.195,...
        5.205,5.214,5.223,5.233,5.242,5.252,5.261,5.270,5.280,5.289,...
        5.299,5.308,5.318,5.327,5.337,5.346,5.356,5.365,5.375,5.384,...
        5.394,5.403,5.413,5.422,5.432,5.441,5.451,5.460,5.470,5.480,...
        5.489,5.499,5.508,5.518,5.528,5.537,5.547,5.556,5.566,5.576,...
        5.585,5.595,5.605,5.614,5.624,5.634,5.643,5.653,5.663,5.672,...
        5.682,5.692,5.702,5.711,5.721,5.731,5.740,5.750,5.760,5.770,...
        5.780,5.789,5.799,5.809,5.819,5.828,5.838,5.848,5.858,5.868,...
        5.878,5.887,5.897,5.907,5.917,5.927,5.937,5.947,5.956,5.966,...
        5.976,5.986,5.996,6.006,6.016,6.026,6.036,6.046,6.055,6.065,...
        6.075,6.085,6.095,6.105,6.115,6.125,6.135,6.145,6.155,6.165,...
        6.175,6.185,6.195,6.205,6.215,6.225,6.235,6.245,6.256,6.266,...
        6.276,6.286,6.296,6.306,6.316,6.326,6.336,6.346,6.356,6.367,...
        6.377,6.387,6.397,6.407,6.417,6.427,6.438,6.448,6.458,6.468,...
        6.478,6.488,6.499,6.509,6.519,6.529,6.539,6.550,6.560,6.570,...
        6.580,6.591,6.601,6.611,6.621,6.632,6.642,6.652,6.663,6.673,...
        6.683,6.693,6.704,6.714,6.724,6.735,6.745,6.755,6.766,6.776,...
        6.786,6.797,6.807,6.818,6.828,6.838,6.849,6.859,6.869,6.880,...
        6.890,6.901,6.911,6.922,6.932,6.942,6.953,6.963,6.974,6.984,...
        6.995,7.005,7.016,7.026,7.037,7.047,7.058,7.068,7.079,7.089,...
        7.100,7.110,7.121,7.131,7.142,7.152,7.163,7.173,7.184,7.194,...
        7.205,7.216,7.226,7.237,7.247,7.258,7.269,7.279,7.290,7.300,...
        7.311,7.322,7.332,7.343,7.353,7.364,7.375,7.385,7.396,7.407,...
        7.417,7.428,7.439,7.449,7.460,7.471,7.482,7.492,7.503,7.514,...
        7.524,7.535,7.546,7.557,7.567,7.578,7.589,7.600,7.610,7.621,...
        7.632,7.643,7.653,7.664,7.675,7.686,7.697,7.707,7.718,7.729,...
        7.740,7.751,7.761,7.772,7.783,7.794,7.805,7.816,7.827,7.837,...
        7.848,7.859,7.870,7.881,7.892,7.903,7.914,7.924,7.935,7.946,...
        7.957,7.968,7.979,7.990,8.001,8.012,8.023,8.034,8.045,8.056,...
        8.066,8.077,8.088,8.099,8.110,8.121,8.132,8.143,8.154,8.165,...
        8.176,8.187,8.198,8.209,8.220,8.231,8.242,8.253,8.264,8.275,...
        8.286,8.298,8.309,8.320,8.331,8.342,8.353,8.364,8.375,8.386,...
        8.397,8.408,8.419,8.430,8.441,8.453,8.464,8.475,8.486,8.497,...
        8.508,8.519,8.530,8.542,8.553,8.564,8.575,8.586,8.597,8.608,...
        8.620,8.631,8.642,8.653,8.664,8.675,8.687,8.698,8.709,8.720,...
        8.731,8.743,8.754,8.765,8.776,8.787,8.799,8.810,8.821,8.832,...
        8.844,8.855,8.866,8.877,8.889,8.900,8.911,8.922,8.934,8.945,...
        8.956,8.967,8.979,8.990,9.001,9.013,9.024,9.035,9.047,9.058,...
        9.069,9.080,9.092,9.103,9.114,9.126,9.137,9.148,9.160,9.171,...
        9.182,9.194,9.205,9.216,9.228,9.239,9.251,9.262,9.273,9.285,...
        9.296,9.307,9.319,9.330,9.342,9.353,9.364,9.376,9.387,9.398,...
        9.410,9.421,9.433,9.444,9.456,9.467,9.478,9.490,9.501,9.513,...
        9.524,9.536,9.547,9.558,9.570,9.581,9.593,9.604,9.616,9.627,...
        9.639,9.650,9.662,9.673,9.684,9.696,9.707,9.719,9.730,9.742,...
        9.753,9.765,9.776,9.788,9.799,9.811,9.822,9.834,9.845,9.857,...
        9.868,9.880,9.891,9.903,9.914,9.926,9.937,9.949,9.961,9.972,...
        9.984,9.995,10.007,10.018,10.030,10.041,10.053,10.064,10.076,10.088,...
        10.099,10.111,10.122,10.134,10.145,10.157,10.168,10.180,10.192,10.203,...
        10.215,10.226,10.238,10.249,10.261,10.273,10.284,10.296,10.307,10.319,...
        10.331,10.342,10.354,10.365,10.377,10.389,10.400,10.412,10.423,10.435,...
        10.447,10.458,10.470,10.482,10.493,10.505,10.516,10.528,10.540,10.551,...
        10.563,10.575,10.586,10.598,10.609,10.621,10.633,10.644,10.656,10.668,...
        10.679,10.691,10.703,10.714,10.726,10.738,10.749,10.761,10.773,10.784,...
        10.796,10.808,10.819,10.831,10.843,10.854,10.866,10.877,10.889,10.901,...
        10.913,10.924,10.936,10.948,10.959,10.971,10.983,10.994,11.006,11.018,...
        11.029,11.041,11.053,11.064,11.076,11.088,11.099,11.111,11.123,11.134,...
        11.146,11.158,11.169,11.181,11.193,11.205,11.216,11.228,11.240,11.251,...
        11.263,11.275,11.286,11.298,11.310,11.321,11.333,11.345,11.357,11.368,...
        11.380,11.392,11.403,11.415,11.427,11.438,11.450,11.462,11.474,11.485,...
        11.497,11.509,11.520,11.532,11.544,11.555,11.567,11.579,11.591,11.602,...
        11.614,11.626,11.637,11.649,11.661,11.673,11.684,11.696,11.708,11.719,...
        11.731,11.743,11.754,11.766,11.778,11.790,11.801,11.813,11.825,11.836,...
        11.848,11.860,11.871,11.883,11.895,11.907,11.918,11.930,11.942,11.953,...
        11.965,11.977,11.988,12.000,12.012,12.024,12.035,12.047,12.059,12.070,...
        12.082,12.094,12.105,12.117,12.129,12.141,12.152,12.164,12.176,12.187,...
        12.199,12.211,12.222,12.234,12.246,12.257,12.269,12.281,12.292,12.304,...
        12.316,12.327,12.339,12.351,12.363,12.374,12.386,12.398,12.409,12.421,...
        12.433,12.444,12.456,12.468,12.479,12.491,12.503,12.514,12.526,12.538,...
        12.549,12.561,12.572,12.584,12.596,12.607,12.619,12.631,12.642,12.654,...
        12.666,12.677,12.689,12.701,12.712,12.724,12.736,12.747,12.759,12.770,...
        12.782,12.794,12.805,12.817,12.829,12.840,12.852,12.863,12.875,12.887,...
        12.898,12.910,12.921,12.933,12.945,12.956,12.968,12.980,12.991,13.003,...
        13.014,13.026,13.037,13.049,13.061,13.072,13.084,13.095,13.107,13.119,...
        13.130,13.142,13.153,13.165,13.176,13.188,13.200,13.211,13.223,13.234,...
        13.246,13.257,13.269,13.280,13.292,13.304,13.315,13.327,13.338,13.350,...
        13.361,13.373,13.384,13.396,13.407,13.419,13.430,13.442,13.453,13.465,...
        13.476,13.488,13.499,13.511,13.522,13.534,13.545,13.557,13.568,13.580,...
        13.591,13.603,13.614,13.626,13.637,13.649,13.660,13.672,13.683,13.694,...
        13.706,13.717,13.729,13.740,13.752,13.763,13.775,13.786,13.797,13.809,13.820];
        X=t;
        Y=U;
        a=1;
    case "TCE" then;
        //Temperatur t[°C]
        t=[-270:1:1000];
        //Spannung U[mV]
        U=[-9.835,-9.833,-9.831,-9.828,-9.825,-9.821,-9.817,-9.813,-9.808,-9.802,-9.797,...
        -9.790,-9.784,-9.777,-9.770,-9.762,-9.754,-9.746,-9.737,-9.728,-9.718,...
        -9.709,-9.698,-9.688,-9.677,-9.666,-9.654,-9.642,-9.630,-9.617,-9.604,...
        -9.591,-9.577,-9.563,-9.548,-9.534,-9.519,-9.503,-9.487,-9.471,-9.455,...
        -9.438,-9.421,-9.404,-9.386,-9.368,-9.350,-9.331,-9.313,-9.293,-9.274,...
        -9.254,-9.234,-9.214,-9.193,-9.172,-9.151,-9.129,-9.107,-9.085,-9.063,...
        -9.040,-9.017,-8.994,-8.971,-8.947,-8.923,-8.899,-8.874,-8.850,-8.825,...
        -8.799,-8.774,-8.748,-8.722,-8.696,-8.669,-8.643,-8.616,-8.588,-8.561,...
        -8.533,-8.505,-8.477,-8.449,-8.420,-8.391,-8.362,-8.333,-8.303,-8.273,...
        -8.243,-8.213,-8.183,-8.152,-8.121,-8.090,-8.059,-8.027,-7.995,-7.963,...
        -7.931,-7.899,-7.866,-7.833,-7.800,-7.767,-7.733,-7.700,-7.666,-7.632,...
        -7.597,-7.563,-7.528,-7.493,-7.458,-7.423,-7.387,-7.351,-7.315,-7.279,...
        -7.243,-7.206,-7.170,-7.133,-7.096,-7.058,-7.021,-6.983,-6.945,-6.907,...
        -6.869,-6.831,-6.792,-6.753,-6.714,-6.675,-6.636,-6.596,-6.556,-6.516,...
        -6.476,-6.436,-6.396,-6.355,-6.314,-6.273,-6.232,-6.191,-6.149,-6.107,...
        -6.065,-6.023,-5.981,-5.939,-5.896,-5.853,-5.810,-5.767,-5.724,-5.681,...
        -5.637,-5.593,-5.549,-5.505,-5.461,-5.417,-5.372,-5.327,-5.282,-5.237,...
        -5.192,-5.147,-5.101,-5.055,-5.009,-4.963,-4.917,-4.871,-4.824,-4.777,...
        -4.731,-4.684,-4.636,-4.589,-4.542,-4.494,-4.446,-4.398,-4.350,-4.302,...
        -4.254,-4.205,-4.156,-4.107,-4.058,-4.009,-3.960,-3.911,-3.861,-3.811,...
        -3.761,-3.711,-3.661,-3.611,-3.561,-3.510,-3.459,-3.408,-3.357,-3.306,...
        -3.255,-3.204,-3.152,-3.100,-3.048,-2.996,-2.944,-2.892,-2.840,-2.787,...
        -2.735,-2.682,-2.629,-2.576,-2.523,-2.469,-2.416,-2.362,-2.309,-2.255,...
        -2.201,-2.147,-2.093,-2.038,-1.984,-1.929,-1.874,-1.820,-1.765,-1.709,...
        -1.654,-1.599,-1.543,-1.488,-1.432,-1.376,-1.320,-1.264,-1.208,-1.152,...
        -1.095,-1.039,-0.982,-0.925,-0.868,-0.811,-0.754,-0.697,-0.639,-0.582,...
        -0.524,-0.466,-0.408,-0.350,-0.292,-0.234,-0.176,-0.117,-0.059,...
        0.000,0.059,0.118,0.176,0.235,0.294,0.354,0.413,0.472,0.532,...
        0.591,0.651,0.711,0.770,0.830,0.890,0.950,1.010,1.071,1.131,...
        1.192,1.252,1.313,1.373,1.434,1.495,1.556,1.617,1.678,1.740,...
        1.801,1.862,1.924,1.986,2.047,2.109,2.171,2.233,2.295,2.357,...
        2.420,2.482,2.545,2.607,2.670,2.733,2.795,2.858,2.921,2.984,...
        3.048,3.111,3.174,3.238,3.301,3.365,3.429,3.492,3.556,3.620,...
        3.685,3.749,3.813,3.877,3.942,4.006,4.071,4.136,4.200,4.265,...
        4.330,4.395,4.460,4.526,4.591,4.656,4.722,4.788,4.853,4.919,...
        4.985,5.051,5.117,5.183,5.249,5.315,5.382,5.448,5.514,5.581,...
        5.648,5.714,5.781,5.848,5.915,5.982,6.049,6.117,6.184,6.251,...
        6.319,6.386,6.454,6.522,6.590,6.658,6.725,6.794,6.862,6.930,...
        6.998,7.066,7.135,7.203,7.272,7.341,7.409,7.478,7.547,7.616,...
        7.685,7.754,7.823,7.892,7.962,8.031,8.101,8.170,8.240,8.309,...
        8.379,8.449,8.519,8.589,8.659,8.729,8.799,8.869,8.940,9.010,...
        9.081,9.151,9.222,9.292,9.363,9.434,9.505,9.576,9.647,9.718,...
        9.789,9.860,9.931,10.003,10.074,10.145,10.217,10.288,10.360,10.432,...
        10.503,10.575,10.647,10.719,10.791,10.863,10.935,11.007,11.080,11.152,...
        11.224,11.297,11.369,11.442,11.514,11.587,11.660,11.733,11.805,11.878,...
        11.951,12.024,12.097,12.170,12.243,12.317,12.390,12.463,12.537,12.610,...
        12.684,12.757,12.831,12.904,12.978,13.052,13.126,13.199,13.273,13.347,...
        13.421,13.495,13.569,13.644,13.718,13.792,13.866,13.941,14.015,14.090,...
        14.164,14.239,14.313,14.388,14.463,14.537,14.612,14.687,14.762,14.837,...
        14.912,14.987,15.062,15.137,15.212,15.287,15.362,15.438,15.513,15.588,...
        15.664,15.739,15.815,15.890,15.966,16.041,16.117,16.193,16.269,16.344,...
        16.420,16.496,16.572,16.648,16.724,16.800,16.876,16.952,17.028,17.104,...
        17.181,17.257,17.333,17.409,17.486,17.562,17.639,17.715,17.792,17.868,...
        17.945,18.021,18.098,18.175,18.252,18.328,18.405,18.482,18.559,18.636,...
        18.713,18.790,18.867,18.944,19.021,19.098,19.175,19.252,19.330,19.407,...
        19.484,19.561,19.639,19.716,19.794,19.871,19.948,20.026,20.103,20.181,...
        20.259,20.336,20.414,20.492,20.569,20.647,20.725,20.803,20.880,20.958,...
        21.036,21.114,21.192,21.270,21.348,21.426,21.504,21.582,21.660,21.739,...
        21.817,21.895,21.973,22.051,22.130,22.208,22.286,22.365,22.443,22.522,...
        22.600,22.678,22.757,22.835,22.914,22.993,23.071,23.150,23.228,23.307,...
        23.386,23.464,23.543,23.622,23.701,23.780,23.858,23.937,24.016,24.095,...
        24.174,24.253,24.332,24.411,24.490,24.569,24.648,24.727,24.806,24.885,...
        24.964,25.044,25.123,25.202,25.281,25.360,25.440,25.519,25.598,25.678,...
        25.757,25.836,25.916,25.995,26.075,26.154,26.233,26.313,26.392,26.472,...
        26.552,26.631,26.711,26.790,26.870,26.950,27.029,27.109,27.189,27.268,...
        27.348,27.428,27.507,27.587,27.667,27.747,27.827,27.907,27.986,28.066,...
        28.146,28.226,28.306,28.386,28.466,28.546,28.626,28.706,28.786,28.866,...
        28.946,29.026,29.106,29.186,29.266,29.346,29.427,29.507,29.587,29.667,...
        29.747,29.827,29.908,29.988,30.068,30.148,30.229,30.309,30.389,30.470,...
        30.550,30.630,30.711,30.791,30.871,30.952,31.032,31.112,31.193,31.273,...
        31.354,31.434,31.515,31.595,31.676,31.756,31.837,31.917,31.998,32.078,...
        32.159,32.239,32.320,32.400,32.481,32.562,32.642,32.723,32.803,32.884,...
        32.965,33.045,33.126,33.207,33.287,33.368,33.449,33.529,33.610,33.691,...
        33.772,33.852,33.933,34.014,34.095,34.175,34.256,34.337,34.418,34.498,...
        34.579,34.660,34.741,34.822,34.902,34.983,35.064,35.145,35.226,35.307,...
        35.387,35.468,35.549,35.630,35.711,35.792,35.873,35.954,36.034,36.115,...
        36.196,36.277,36.358,36.439,36.520,36.601,36.682,36.763,36.843,36.924,...
        37.005,37.086,37.167,37.248,37.329,37.410,37.491,37.572,37.653,37.734,...
        37.815,37.896,37.977,38.058,38.139,38.220,38.300,38.381,38.462,38.543,...
        38.624,38.705,38.786,38.867,38.948,39.029,39.110,39.191,39.272,39.353,...
        39.434,39.515,39.596,39.677,39.758,39.839,39.920,40.001,40.082,40.163,...
        40.243,40.324,40.405,40.486,40.567,40.648,40.729,40.810,40.891,40.972,...
        41.053,41.134,41.215,41.296,41.377,41.457,41.538,41.619,41.700,41.781,...
        41.862,41.943,42.024,42.105,42.185,42.266,42.347,42.428,42.509,42.590,...
        42.671,42.751,42.832,42.913,42.994,43.075,43.156,43.236,43.317,43.398,...
        43.479,43.560,43.640,43.721,43.802,43.883,43.963,44.044,44.125,44.206,...
        44.286,44.367,44.448,44.529,44.609,44.690,44.771,44.851,44.932,45.013,...
        45.093,45.174,45.255,45.335,45.416,45.497,45.577,45.658,45.738,45.819,...
        45.900,45.980,46.061,46.141,46.222,46.302,46.383,46.463,46.544,46.624,...
        46.705,46.785,46.866,46.946,47.027,47.107,47.188,47.268,47.349,47.429,...
        47.509,47.590,47.670,47.751,47.831,47.911,47.992,48.072,48.152,48.233,...
        48.313,48.393,48.474,48.554,48.634,48.715,48.795,48.875,48.955,49.035,...
        49.116,49.196,49.276,49.356,49.436,49.517,49.597,49.677,49.757,49.837,...
        49.917,49.997,50.077,50.157,50.238,50.318,50.398,50.478,50.558,50.638,...
        50.718,50.798,50.878,50.958,51.038,51.118,51.197,51.277,51.357,51.437,...
        51.517,51.597,51.677,51.757,51.837,51.916,51.996,52.076,52.156,52.236,...
        52.315,52.395,52.475,52.555,52.634,52.714,52.794,52.873,52.953,53.033,...
        53.112,53.192,53.272,53.351,53.431,53.510,53.590,53.670,53.749,53.829,...
        53.908,53.988,54.067,54.147,54.226,54.306,54.385,54.465,54.544,54.624,...
        54.703,54.782,54.862,54.941,55.021,55.100,55.179,55.259,55.338,55.417,...
        55.497,55.576,55.655,55.734,55.814,55.893,55.972,56.051,56.131,56.210,...
        56.289,56.368,56.447,56.526,56.606,56.685,56.764,56.843,56.922,57.001,...
        57.080,57.159,57.238,57.317,57.396,57.475,57.554,57.633,57.712,57.791,...
        57.870,57.949,58.028,58.107,58.186,58.265,58.343,58.422,58.501,58.580,...
        58.659,58.738,58.816,58.895,58.974,59.053,59.131,59.210,59.289,59.367,...
        59.446,59.525,59.604,59.682,59.761,59.839,59.918,59.997,60.075,60.154,...
        60.232,60.311,60.390,60.468,60.547,60.625,60.704,60.782,60.860,60.939,...
        61.017,61.096,61.174,61.253,61.331,61.409,61.488,61.566,61.644,61.723,...
        61.801,61.879,61.958,62.036,62.114,62.192,62.271,62.349,62.427,62.505,...
        62.583,62.662,62.740,62.818,62.896,62.974,63.052,63.130,63.208,63.286,...
        63.364,63.442,63.520,63.598,63.676,63.754,63.832,63.910,63.988,64.066,...
        64.144,64.222,64.300,64.377,64.455,64.533,64.611,64.689,64.766,64.844,...
        64.922,65.000,65.077,65.155,65.233,65.310,65.388,65.465,65.543,65.621,...
        65.698,65.776,65.853,65.931,66.008,66.086,66.163,66.241,66.318,66.396,...
        66.473,66.550,66.628,66.705,66.782,66.860,66.937,67.014,67.092,67.169,...
        67.246,67.323,67.400,67.478,67.555,67.632,67.709,67.786,67.863,67.940,...
        68.017,68.094,68.171,68.248,68.325,68.402,68.479,68.556,68.633,68.710,...
        68.787,68.863,68.940,69.017,69.094,69.171,69.247,69.324,69.401,69.477,...
        69.554,69.631,69.707,69.784,69.860,69.937,70.013,70.090,70.166,70.243,...
        70.319,70.396,70.472,70.548,70.625,70.701,70.777,70.854,70.930,71.006,...
        71.082,71.159,71.235,71.311,71.387,71.463,71.539,71.615,71.692,71.768,...
        71.844,71.920,71.996,72.072,72.147,72.223,72.299,72.375,72.451,72.527,...
        72.603,72.678,72.754,72.830,72.906,72.981,73.057,73.133,73.208,73.284,...
        73.360,73.435,73.511,73.586,73.662,73.738,73.813,73.889,73.964,74.040,...
        74.115,74.190,74.266,74.341,74.417,74.492,74.567,74.643,74.718,74.793,...
        74.869,74.944,75.019,75.095,75.170,75.245,75.320,75.395,75.471,75.546,...
        75.621,75.696,75.771,75.847,75.922,75.997,76.072,76.147,76.223,76.298,76.373];
        X=t;
        Y=U;
        a=2;
    case "TCJ" then;
        //Temperatur t[°C]
        t=[-210:1:1200];
        //Spannung U[mV]
        U=[-8.095,-8.076,-8.057,-8.037,-8.017,-7.996,-7.976,-7.955,-7.934,-7.912,-7.890,...
        -7.868,-7.846,-7.824,-7.801,-7.778,-7.755,-7.731,-7.707,-7.683,-7.659,...
        -7.634,-7.610,-7.585,-7.559,-7.534,-7.508,-7.482,-7.456,-7.429,-7.403,...
        -7.376,-7.348,-7.321,-7.293,-7.265,-7.237,-7.209,-7.181,-7.152,-7.123,...
        -7.094,-7.064,-7.035,-7.005,-6.975,-6.944,-6.914,-6.883,-6.853,-6.821,...
        -6.790,-6.759,-6.727,-6.695,-6.663,-6.631,-6.598,-6.566,-6.533,-6.500,...
        -6.467,-6.433,-6.400,-6.366,-6.332,-6.298,-6.263,-6.229,-6.194,-6.159,...
        -6.124,-6.089,-6.054,-6.018,-5.982,-5.946,-5.910,-5.874,-5.838,-5.801,...
        -5.764,-5.727,-5.690,-5.653,-5.616,-5.578,-5.541,-5.503,-5.465,-5.426,...
        -5.388,-5.350,-5.311,-5.272,-5.233,-5.194,-5.155,-5.116,-5.076,-5.037,...
        -4.997,-4.957,-4.917,-4.877,-4.836,-4.796,-4.755,-4.714,-4.674,-4.633,...
        -4.591,-4.550,-4.509,-4.467,-4.425,-4.384,-4.342,-4.300,-4.257,-4.215,...
        -4.173,-4.130,-4.088,-4.045,-4.002,-3.959,-3.916,-3.872,-3.829,-3.786,...
        -3.742,-3.698,-3.654,-3.610,-3.566,-3.522,-3.478,-3.434,-3.389,-3.344,...
        -3.300,-3.255,-3.210,-3.165,-3.120,-3.075,-3.029,-2.984,-2.938,-2.893,...
        -2.847,-2.801,-2.755,-2.709,-2.663,-2.617,-2.571,-2.524,-2.478,-2.431,...
        -2.385,-2.338,-2.291,-2.244,-2.197,-2.150,-2.103,-2.055,-2.008,-1.961,...
        -1.913,-1.865,-1.818,-1.770,-1.722,-1.674,-1.626,-1.578,-1.530,-1.482,...
        -1.433,-1.385,-1.336,-1.288,-1.239,-1.190,-1.142,-1.093,-1.044,-0.995,...
        -0.946,-0.896,-0.847,-0.798,-0.749,-0.699,-0.650,-0.600,-0.550,-0.501,...
        -0.451,-0.401,-0.351,-0.301,-0.251,-0.201,-0.151,-0.101,-0.050,...
        0.000,0.050,0.101,0.151,0.202,0.253,0.303,0.354,0.405,0.456,...
        0.507,0.558,0.609,0.660,0.711,0.762,0.814,0.865,0.916,0.968,...
        1.019,1.071,1.122,1.174,1.226,1.277,1.329,1.381,1.433,1.485,...
        1.537,1.589,1.641,1.693,1.745,1.797,1.849,1.902,1.954,2.006,...
        2.059,2.111,2.164,2.216,2.269,2.322,2.374,2.427,2.480,2.532,...
        2.585,2.638,2.691,2.744,2.797,2.850,2.903,2.956,3.009,3.062,...
        3.116,3.169,3.222,3.275,3.329,3.382,3.436,3.489,3.543,3.596,...
        3.650,3.703,3.757,3.810,3.864,3.918,3.971,4.025,4.079,4.133,...
        4.187,4.240,4.294,4.348,4.402,4.456,4.510,4.564,4.618,4.672,...
        4.726,4.781,4.835,4.889,4.943,4.997,5.052,5.106,5.160,5.215,...
        5.269,5.323,5.378,5.432,5.487,5.541,5.595,5.650,5.705,5.759,...
        5.814,5.868,5.923,5.977,6.032,6.087,6.141,6.196,6.251,6.306,...
        6.360,6.415,6.470,6.525,6.579,6.634,6.689,6.744,6.799,6.854,...
        6.909,6.964,7.019,7.074,7.129,7.184,7.239,7.294,7.349,7.404,...
        7.459,7.514,7.569,7.624,7.679,7.734,7.789,7.844,7.900,7.955,...
        8.010,8.065,8.120,8.175,8.231,8.286,8.341,8.396,8.452,8.507,...
        8.562,8.618,8.673,8.728,8.783,8.839,8.894,8.949,9.005,9.060,...
        9.115,9.171,9.226,9.282,9.337,9.392,9.448,9.503,9.559,9.614,...
        9.669,9.725,9.780,9.836,9.891,9.947,10.002,10.057,10.113,10.168,...
        10.224,10.279,10.335,10.390,10.446,10.501,10.557,10.612,10.668,10.723,...
        10.779,10.834,10.890,10.945,11.001,11.056,11.112,11.167,11.223,11.278,...
        11.334,11.389,11.445,11.501,11.556,11.612,11.667,11.723,11.778,11.834,...
        11.889,11.945,12.000,12.056,12.111,12.167,12.222,12.278,12.334,12.389,...
        12.445,12.500,12.556,12.611,12.667,12.722,12.778,12.833,12.889,12.944,...
        13.000,13.056,13.111,13.167,13.222,13.278,13.333,13.389,13.444,13.500,...
        13.555,13.611,13.666,13.722,13.777,13.833,13.888,13.944,13.999,14.055,...
        14.110,14.166,14.221,14.277,14.332,14.388,14.443,14.499,14.554,14.609,...
        14.665,14.720,14.776,14.831,14.887,14.942,14.998,15.053,15.109,15.164,...
        15.219,15.275,15.330,15.386,15.441,15.496,15.552,15.607,15.663,15.718,...
        15.773,15.829,15.884,15.940,15.995,16.050,16.106,16.161,16.216,16.272,...
        16.327,16.383,16.438,16.493,16.549,16.604,16.659,16.715,16.770,16.825,...
        16.881,16.936,16.991,17.046,17.102,17.157,17.212,17.268,17.323,17.378,...
        17.434,17.489,17.544,17.599,17.655,17.710,17.765,17.820,17.876,17.931,...
        17.986,18.041,18.097,18.152,18.207,18.262,18.318,18.373,18.428,18.483,...
        18.538,18.594,18.649,18.704,18.759,18.814,18.870,18.925,18.980,19.035,...
        19.090,19.146,19.201,19.256,19.311,19.366,19.422,19.477,19.532,19.587,...
        19.642,19.697,19.753,19.808,19.863,19.918,19.973,20.028,20.083,20.139,...
        20.194,20.249,20.304,20.359,20.414,20.469,20.525,20.580,20.635,20.690,...
        20.745,20.800,20.855,20.911,20.966,21.021,21.076,21.131,21.186,21.241,...
        21.297,21.352,21.407,21.462,21.517,21.572,21.627,21.683,21.738,21.793,...
        21.848,21.903,21.958,22.014,22.069,22.124,22.179,22.234,22.289,22.345,...
        22.400,22.455,22.510,22.565,22.620,22.676,22.731,22.786,22.841,22.896,...
        22.952,23.007,23.062,23.117,23.172,23.228,23.283,23.338,23.393,23.449,...
        23.504,23.559,23.614,23.670,23.725,23.780,23.835,23.891,23.946,24.001,...
        24.057,24.112,24.167,24.223,24.278,24.333,24.389,24.444,24.499,24.555,...
        24.610,24.665,24.721,24.776,24.832,24.887,24.943,24.998,25.053,25.109,...
        25.164,25.220,25.275,25.331,25.386,25.442,25.497,25.553,25.608,25.664,...
        25.720,25.775,25.831,25.886,25.942,25.998,26.053,26.109,26.165,26.220,...
        26.276,26.332,26.387,26.443,26.499,26.555,26.610,26.666,26.722,26.778,...
        26.834,26.889,26.945,27.001,27.057,27.113,27.169,27.225,27.281,27.337,...
        27.393,27.449,27.505,27.561,27.617,27.673,27.729,27.785,27.841,27.897,...
        27.953,28.010,28.066,28.122,28.178,28.234,28.291,28.347,28.403,28.460,...
        28.516,28.572,28.629,28.685,28.741,28.798,28.854,28.911,28.967,29.024,...
        29.080,29.137,29.194,29.250,29.307,29.363,29.420,29.477,29.534,29.590,...
        29.647,29.704,29.761,29.818,29.874,29.931,29.988,30.045,30.102,30.159,...
        30.216,30.273,30.330,30.387,30.444,30.502,30.559,30.616,30.673,30.730,...
        30.788,30.845,30.902,30.960,31.017,31.074,31.132,31.189,31.247,31.304,...
        31.362,31.419,31.477,31.535,31.592,31.650,31.708,31.766,31.823,31.881,...
        31.939,31.997,32.055,32.113,32.171,32.229,32.287,32.345,32.403,32.461,...
        32.519,32.577,32.636,32.694,32.752,32.810,32.869,32.927,32.985,33.044,...
        33.102,33.161,33.219,33.278,33.337,33.395,33.454,33.513,33.571,33.630,...
        33.689,33.748,33.807,33.866,33.925,33.984,34.043,34.102,34.161,34.220,...
        34.279,34.338,34.397,34.457,34.516,34.575,34.635,34.694,34.754,34.813,...
        34.873,34.932,34.992,35.051,35.111,35.171,35.230,35.290,35.350,35.410,...
        35.470,35.530,35.590,35.650,35.710,35.770,35.830,35.890,35.950,36.010,...
        36.071,36.131,36.191,36.252,36.312,36.373,36.433,36.494,36.554,36.615,...
        36.675,36.736,36.797,36.858,36.918,36.979,37.040,37.101,37.162,37.223,...
        37.284,37.345,37.406,37.467,37.528,37.590,37.651,37.712,37.773,37.835,...
        37.896,37.958,38.019,38.081,38.142,38.204,38.265,38.327,38.389,38.450,...
        38.512,38.574,38.636,38.698,38.760,38.822,38.884,38.946,39.008,39.070,...
        39.132,39.194,39.256,39.318,39.381,39.443,39.505,39.568,39.630,39.693,...
        39.755,39.818,39.880,39.943,40.005,40.068,40.131,40.193,40.256,40.319,...
        40.382,40.445,40.508,40.570,40.633,40.696,40.759,40.822,40.886,40.949,...
        41.012,41.075,41.138,41.201,41.265,41.328,41.391,41.455,41.518,41.581,...
        41.645,41.708,41.772,41.835,41.899,41.962,42.026,42.090,42.153,42.217,...
        42.281,42.344,42.408,42.472,42.536,42.599,42.663,42.727,42.791,42.855,...
        42.919,42.983,43.047,43.111,43.175,43.239,43.303,43.367,43.431,43.495,...
        43.559,43.624,43.688,43.752,43.817,43.881,43.945,44.010,44.074,44.139,...
        44.203,44.267,44.332,44.396,44.461,44.525,44.590,44.655,44.719,44.784,...
        44.848,44.913,44.977,45.042,45.107,45.171,45.236,45.301,45.365,45.430,...
        45.494,45.559,45.624,45.688,45.753,45.818,45.882,45.947,46.011,46.076,...





        46.141,46.205,46.270,46.334,46.399,46.464,46.528,46.593,46.657,46.722,...
        46.786,46.851,46.915,46.980,47.044,47.109,47.173,47.238,47.302,47.367,...
        47.431,47.495,47.560,47.624,47.688,47.753,47.817,47.881,47.946,48.010,...
        48.074,48.138,48.202,48.267,48.331,48.395,48.459,48.523,48.587,48.651,...
        48.715,48.779,48.843,48.907,48.971,49.034,49.098,49.162,49.226,49.290,...
        49.353,49.417,49.481,49.544,49.608,49.672,49.735,49.799,49.862,49.926,...
        49.989,50.052,50.116,50.179,50.243,50.306,50.369,50.432,50.495,50.559,...
        50.622,50.685,50.748,50.811,50.874,50.937,51.000,51.063,51.126,51.188,...
        51.251,51.314,51.377,51.439,51.502,51.565,51.627,51.690,51.752,51.815,...
        51.877,51.940,52.002,52.064,52.127,52.189,52.251,52.314,52.376,52.438,...
        52.500,52.562,52.624,52.686,52.748,52.810,52.872,52.934,52.996,53.057,...
        53.119,53.181,53.243,53.304,53.366,53.427,53.489,53.550,53.612,53.673,...
        53.735,53.796,53.857,53.919,53.980,54.041,54.102,54.164,54.225,54.286,...
        54.347,54.408,54.469,54.530,54.591,54.652,54.713,54.773,54.834,54.895,...
        54.956,55.016,55.077,55.138,55.198,55.259,55.319,55.380,55.440,55.501,...
        55.561,55.622,55.682,55.742,55.803,55.863,55.923,55.983,56.043,56.104,...
        56.164,56.224,56.284,56.344,56.404,56.464,56.524,56.584,56.643,56.703,...
        56.763,56.823,56.883,56.942,57.002,57.062,57.121,57.181,57.240,57.300,...
        57.360,57.419,57.479,57.538,57.597,57.657,57.716,57.776,57.835,57.894,...
        57.953,58.013,58.072,58.131,58.190,58.249,58.309,58.368,58.427,58.486,...
        58.545,58.604,58.663,58.722,58.781,58.840,58.899,58.957,59.016,59.075,...
        59.134,59.193,59.252,59.310,59.369,59.428,59.487,59.545,59.604,59.663,...
        59.721,59.780,59.838,59.897,59.956,60.014,60.073,60.131,60.190,60.248,...
        60.307,60.365,60.423,60.482,60.540,60.599,60.657,60.715,60.774,60.832,...
        60.890,60.949,61.007,61.065,61.123,61.182,61.240,61.298,61.356,61.415,...
        61.473,61.531,61.589,61.647,61.705,61.763,61.822,61.880,61.938,61.996,...
        62.054,62.112,62.170,62.228,62.286,62.344,62.402,62.460,62.518,62.576,...
        62.634,62.692,62.750,62.808,62.866,62.924,62.982,63.040,63.098,63.156,...
        63.214,63.271,63.329,63.387,63.445,63.503,63.561,63.619,63.677,63.734,...
        63.792,63.850,63.908,63.966,64.024,64.081,64.139,64.197,64.255,64.313,...
        64.370,64.428,64.486,64.544,64.602,64.659,64.717,64.775,64.833,64.890,...
        64.948,65.006,65.064,65.121,65.179,65.237,65.295,65.352,65.410,65.468,...
        65.525,65.583,65.641,65.699,65.756,65.814,65.872,65.929,65.987,66.045,...
        66.102,66.160,66.218,66.275,66.333,66.391,66.448,66.506,66.564,66.621,...
        66.679,66.737,66.794,66.852,66.910,66.967,67.025,67.082,67.140,67.198,...
        67.255,67.313,67.370,67.428,67.486,67.543,67.601,67.658,67.716,67.773,...
        67.831,67.888,67.946,68.003,68.061,68.119,68.176,68.234,68.291,68.348,...
        68.406,68.463,68.521,68.578,68.636,68.693,68.751,68.808,68.865,68.923,...
        68.980,69.037,69.095,69.152,69.209,69.267,69.324,69.381,69.439,69.496,69.553];
        X=t;
        Y=U;
        a=3;
    case "TCK" then;
        //Temperatur t[°C]
        t=[-270:1:1372];
        //Spannung U[mV]
        U=[-6.458,-6.457,-6.456,-6.455,-6.453,-6.452,-6.450,-6.448,-6.446,-6.444,-6.441,...
        -6.438,-6.435,-6.432,-6.429,-6.425,-6.421,-6.417,-6.413,-6.408,-6.404,...
        -6.399,-6.393,-6.388,-6.382,-6.377,-6.370,-6.364,-6.358,-6.351,-6.344,...
        -6.337,-6.329,-6.322,-6.314,-6.306,-6.297,-6.289,-6.280,-6.271,-6.262,...
        -6.252,-6.243,-6.233,-6.223,-6.213,-6.202,-6.192,-6.181,-6.170,-6.158,...
        -6.147,-6.135,-6.123,-6.111,-6.099,-6.087,-6.074,-6.061,-6.048,-6.035,...
        -6.021,-6.007,-5.994,-5.980,-5.965,-5.951,-5.936,-5.922,-5.907,-5.891,...
        -5.876,-5.861,-5.845,-5.829,-5.813,-5.797,-5.780,-5.763,-5.747,-5.730,...
        -5.713,-5.695,-5.678,-5.660,-5.642,-5.624,-5.606,-5.588,-5.569,-5.550,...
        -5.531,-5.512,-5.493,-5.474,-5.454,-5.435,-5.415,-5.395,-5.374,-5.354,...
        -5.333,-5.313,-5.292,-5.271,-5.250,-5.228,-5.207,-5.185,-5.163,-5.141,...
        -5.119,-5.097,-5.074,-5.052,-5.029,-5.006,-4.983,-4.960,-4.936,-4.913,...
        -4.889,-4.865,-4.841,-4.817,-4.793,-4.768,-4.744,-4.719,-4.694,-4.669,...
        -4.644,-4.618,-4.593,-4.567,-4.542,-4.516,-4.490,-4.463,-4.437,-4.411,...
        -4.384,-4.357,-4.330,-4.303,-4.276,-4.249,-4.221,-4.194,-4.166,-4.138,...
        -4.110,-4.082,-4.054,-4.025,-3.997,-3.968,-3.939,-3.911,-3.882,-3.852,...
        -3.823,-3.794,-3.764,-3.734,-3.705,-3.675,-3.645,-3.614,-3.584,-3.554,...
        -3.523,-3.492,-3.462,-3.431,-3.400,-3.368,-3.337,-3.306,-3.274,-3.243,...
        -3.211,-3.179,-3.147,-3.115,-3.083,-3.050,-3.018,-2.986,-2.953,-2.920,...
        -2.887,-2.854,-2.821,-2.788,-2.755,-2.721,-2.688,-2.654,-2.620,-2.587,...
        -2.553,-2.519,-2.485,-2.450,-2.416,-2.382,-2.347,-2.312,-2.278,-2.243,...
        -2.208,-2.173,-2.138,-2.103,-2.067,-2.032,-1.996,-1.961,-1.925,-1.889,...
        -1.854,-1.818,-1.782,-1.745,-1.709,-1.673,-1.637,-1.600,-1.564,-1.527,...
        -1.490,-1.453,-1.417,-1.380,-1.343,-1.305,-1.268,-1.231,-1.194,-1.156,...
        -1.119,-1.081,-1.043,-1.006,-0.968,-0.930,-0.892,-0.854,-0.816,-0.778,...
        -0.739,-0.701,-0.663,-0.624,-0.586,-0.547,-0.508,-0.470,-0.431,-0.392,...
        -0.353,-0.314,-0.275,-0.236,-0.197,-0.157,-0.118,-0.079,-0.039,...
        0.000,0.039,0.079,0.119,0.158,0.198,0.238,0.277,0.317,0.357,...
        0.397,0.437,0.477,0.517,0.557,0.597,0.637,0.677,0.718,0.758,...
        0.798,0.838,0.879,0.919,0.960,1.000,1.041,1.081,1.122,1.163,...
        1.203,1.244,1.285,1.326,1.366,1.407,1.448,1.489,1.530,1.571,...
        1.612,1.653,1.694,1.735,1.776,1.817,1.858,1.899,1.941,1.982,...
        2.023,2.064,2.106,2.147,2.188,2.230,2.271,2.312,2.354,2.395,...
        2.436,2.478,2.519,2.561,2.602,2.644,2.685,2.727,2.768,2.810,...
        2.851,2.893,2.934,2.976,3.017,3.059,3.100,3.142,3.184,3.225,...
        3.267,3.308,3.350,3.391,3.433,3.474,3.516,3.557,3.599,3.640,...
        3.682,3.723,3.765,3.806,3.848,3.889,3.931,3.972,4.013,4.055,...
        4.096,4.138,4.179,4.220,4.262,4.303,4.344,4.385,4.427,4.468,...
        4.509,4.550,4.591,4.633,4.674,4.715,4.756,4.797,4.838,4.879,...
        4.920,4.961,5.002,5.043,5.084,5.124,5.165,5.206,5.247,5.288,...
        5.328,5.369,5.410,5.450,5.491,5.532,5.572,5.613,5.653,5.694,...
        5.735,5.775,5.815,5.856,5.896,5.937,5.977,6.017,6.058,6.098,...
        6.138,6.179,6.219,6.259,6.299,6.339,6.380,6.420,6.460,6.500,...
        6.540,6.580,6.620,6.660,6.701,6.741,6.781,6.821,6.861,6.901,...
        6.941,6.981,7.021,7.060,7.100,7.140,7.180,7.220,7.260,7.300,...
        7.340,7.380,7.420,7.460,7.500,7.540,7.579,7.619,7.659,7.699,...
        7.739,7.779,7.819,7.859,7.899,7.939,7.979,8.019,8.059,8.099,...
        8.138,8.178,8.218,8.258,8.298,8.338,8.378,8.418,8.458,8.499,...
        8.539,8.579,8.619,8.659,8.699,8.739,8.779,8.819,8.860,8.900,...
        8.940,8.980,9.020,9.061,9.101,9.141,9.181,9.222,9.262,9.302,...
        9.343,9.383,9.423,9.464,9.504,9.545,9.585,9.626,9.666,9.707,...
        9.747,9.788,9.828,9.869,9.909,9.950,9.991,10.031,10.072,10.113,...
        10.153,10.194,10.235,10.276,10.316,10.357,10.398,10.439,10.480,10.520,...
        10.561,10.602,10.643,10.684,10.725,10.766,10.807,10.848,10.889,10.930,...
        10.971,11.012,11.053,11.094,11.135,11.176,11.217,11.259,11.300,11.341,...
        11.382,11.423,11.465,11.506,11.547,11.588,11.630,11.671,11.712,11.753,...
        11.795,11.836,11.877,11.919,11.960,12.001,12.043,12.084,12.126,12.167,...
        12.209,12.250,12.291,12.333,12.374,12.416,12.457,12.499,12.540,12.582,...
        12.624,12.665,12.707,12.748,12.790,12.831,12.873,12.915,12.956,12.998,...
        13.040,13.081,13.123,13.165,13.206,13.248,13.290,13.331,13.373,13.415,...
        13.457,13.498,13.540,13.582,13.624,13.665,13.707,13.749,13.791,13.833,...
        13.874,13.916,13.958,14.000,14.042,14.084,14.126,14.167,14.209,14.251,...
        14.293,14.335,14.377,14.419,14.461,14.503,14.545,14.587,14.629,14.671,...
        14.713,14.755,14.797,14.839,14.881,14.923,14.965,15.007,15.049,15.091,...
        15.133,15.175,15.217,15.259,15.301,15.343,15.385,15.427,15.469,15.511,...
        15.554,15.596,15.638,15.680,15.722,15.764,15.806,15.849,15.891,15.933,...
        15.975,16.017,16.059,16.102,16.144,16.186,16.228,16.270,16.313,16.355,...
        16.397,16.439,16.482,16.524,16.566,16.608,16.651,16.693,16.735,16.778,...
        16.820,16.862,16.904,16.947,16.989,17.031,17.074,17.116,17.158,17.201,...
        17.243,17.285,17.328,17.370,17.413,17.455,17.497,17.540,17.582,17.624,...
        17.667,17.709,17.752,17.794,17.837,17.879,17.921,17.964,18.006,18.049,...
        18.091,18.134,18.176,18.218,18.261,18.303,18.346,18.388,18.431,18.473,...
        18.516,18.558,18.601,18.643,18.686,18.728,18.771,18.813,18.856,18.898,...
        18.941,18.983,19.026,19.068,19.111,19.154,19.196,19.239,19.281,19.324,...
        19.366,19.409,19.451,19.494,19.537,19.579,19.622,19.664,19.707,19.750,...
        19.792,19.835,19.877,19.920,19.962,20.005,20.048,20.090,20.133,20.175,...
        20.218,20.261,20.303,20.346,20.389,20.431,20.474,20.516,20.559,20.602,...
        20.644,20.687,20.730,20.772,20.815,20.857,20.900,20.943,20.985,21.028,...
        21.071,21.113,21.156,21.199,21.241,21.284,21.326,21.369,21.412,21.454,...
        21.497,21.540,21.582,21.625,21.668,21.710,21.753,21.796,21.838,21.881,...
        21.924,21.966,22.009,22.052,22.094,22.137,22.179,22.222,22.265,22.307,...
        22.350,22.393,22.435,22.478,22.521,22.563,22.606,22.649,22.691,22.734,...
        22.776,22.819,22.862,22.904,22.947,22.990,23.032,23.075,23.117,23.160,...
        23.203,23.245,23.288,23.331,23.373,23.416,23.458,23.501,23.544,23.586,...
        23.629,23.671,23.714,23.757,23.799,23.842,23.884,23.927,23.970,24.012,...
        24.055,24.097,24.140,24.182,24.225,24.267,24.310,24.353,24.395,24.438,...
        24.480,24.523,24.565,24.608,24.650,24.693,24.735,24.778,24.820,24.863,...
        24.905,24.948,24.990,25.033,25.075,25.118,25.160,25.203,25.245,25.288,...
        25.330,25.373,25.415,25.458,25.500,25.543,25.585,25.627,25.670,25.712,...
        25.755,25.797,25.840,25.882,25.924,25.967,26.009,26.052,26.094,26.136,...
        26.179,26.221,26.263,26.306,26.348,26.390,26.433,26.475,26.517,26.560,...
        26.602,26.644,26.687,26.729,26.771,26.814,26.856,26.898,26.940,26.983,...
        27.025,27.067,27.109,27.152,27.194,27.236,27.278,27.320,27.363,27.405,...
        27.447,27.489,27.531,27.574,27.616,27.658,27.700,27.742,27.784,27.826,...
        27.869,27.911,27.953,27.995,28.037,28.079,28.121,28.163,28.205,28.247,...
        28.289,28.332,28.374,28.416,28.458,28.500,28.542,28.584,28.626,28.668,...
        28.710,28.752,28.794,28.835,28.877,28.919,28.961,29.003,29.045,29.087,...
        29.129,29.171,29.213,29.255,29.297,29.338,29.380,29.422,29.464,29.506,...
        29.548,29.589,29.631,29.673,29.715,29.757,29.798,29.840,29.882,29.924,...
        29.965,30.007,30.049,30.090,30.132,30.174,30.216,30.257,30.299,30.341,...
        30.382,30.424,30.466,30.507,30.549,30.590,30.632,30.674,30.715,30.757,...
        30.798,30.840,30.881,30.923,30.964,31.006,31.047,31.089,31.130,31.172,...
        31.213,31.255,31.296,31.338,31.379,31.421,31.462,31.504,31.545,31.586,...
        31.628,31.669,31.710,31.752,31.793,31.834,31.876,31.917,31.958,32.000,...
        32.041,32.082,32.124,32.165,32.206,32.247,32.289,32.330,32.371,32.412,...
        32.453,32.495,32.536,32.577,32.618,32.659,32.700,32.742,32.783,32.824,...
        32.865,32.906,32.947,32.988,33.029,33.070,33.111,33.152,33.193,33.234,...
        33.275,33.316,33.357,33.398,33.439,33.480,33.521,33.562,33.603,33.644,...
        33.685,33.726,33.767,33.808,33.848,33.889,33.930,33.971,34.012,34.053,...
        34.093,34.134,34.175,34.216,34.257,34.297,34.338,34.379,34.420,34.460,...
        34.501,34.542,34.582,34.623,34.664,34.704,34.745,34.786,34.826,34.867,...
        34.908,34.948,34.989,35.029,35.070,35.110,35.151,35.192,35.232,35.273,...
        35.313,35.354,35.394,35.435,35.475,35.516,35.556,35.596,35.637,35.677,...
        35.718,35.758,35.798,35.839,35.879,35.920,35.960,36.000,36.041,36.081,...
        36.121,36.162,36.202,36.242,36.282,36.323,36.363,36.403,36.443,36.484,...
        36.524,36.564,36.604,36.644,36.685,36.725,36.765,36.805,36.845,36.885,...
        36.925,36.965,37.006,37.046,37.086,37.126,37.166,37.206,37.246,37.286,...
        37.326,37.366,37.406,37.446,37.486,37.526,37.566,37.606,37.646,37.686,...
        37.725,37.765,37.805,37.845,37.885,37.925,37.965,38.005,38.044,38.084,...
        38.124,38.164,38.204,38.243,38.283,38.323,38.363,38.402,38.442,38.482,...
        38.522,38.561,38.601,38.641,38.680,38.720,38.760,38.799,38.839,38.878,...
        38.918,38.958,38.997,39.037,39.076,39.116,39.155,39.195,39.235,39.274,...
        39.314,39.353,39.393,39.432,39.471,39.511,39.550,39.590,39.629,39.669,...
        39.708,39.747,39.787,39.826,39.866,39.905,39.944,39.984,40.023,40.062,...
        40.101,40.141,40.180,40.219,40.259,40.298,40.337,40.376,40.415,40.455,...
        40.494,40.533,40.572,40.611,40.651,40.690,40.729,40.768,40.807,40.846,...
        40.885,40.924,40.963,41.002,41.042,41.081,41.120,41.159,41.198,41.237,...
        41.276,41.315,41.354,41.393,41.431,41.470,41.509,41.548,41.587,41.626,...
        41.665,41.704,41.743,41.781,41.820,41.859,41.898,41.937,41.976,42.014,...
        42.053,42.092,42.131,42.169,42.208,42.247,42.286,42.324,42.363,42.402,...
        42.440,42.479,42.518,42.556,42.595,42.633,42.672,42.711,42.749,42.788,...
        42.826,42.865,42.903,42.942,42.980,43.019,43.057,43.096,43.134,43.173,...
        43.211,43.250,43.288,43.327,43.365,43.403,43.442,43.480,43.518,43.557,...
        43.595,43.633,43.672,43.710,43.748,43.787,43.825,43.863,43.901,43.940,...
        43.978,44.016,44.054,44.092,44.130,44.169,44.207,44.245,44.283,44.321,...
        44.359,44.397,44.435,44.473,44.512,44.550,44.588,44.626,44.664,44.702,...
        44.740,44.778,44.816,44.853,44.891,44.929,44.967,45.005,45.043,45.081,...
        45.119,45.157,45.194,45.232,45.270,45.308,45.346,45.383,45.421,45.459,...
        45.497,45.534,45.572,45.610,45.647,45.685,45.723,45.760,45.798,45.836,...
        45.873,45.911,45.948,45.986,46.024,46.061,46.099,46.136,46.174,46.211,...
        46.249,46.286,46.324,46.361,46.398,46.436,46.473,46.511,46.548,46.585,...
        46.623,46.660,46.697,46.735,46.772,46.809,46.847,46.884,46.921,46.958,...
        46.995,47.033,47.070,47.107,47.144,47.181,47.218,47.256,47.293,47.330,...
        47.367,47.404,47.441,47.478,47.515,47.552,47.589,47.626,47.663,47.700,...
        47.737,47.774,47.811,47.848,47.884,47.921,47.958,47.995,48.032,48.069,...
        48.105,48.142,48.179,48.216,48.252,48.289,48.326,48.363,48.399,48.436,...
        48.473,48.509,48.546,48.582,48.619,48.656,48.692,48.729,48.765,48.802,...
        48.838,48.875,48.911,48.948,48.984,49.021,49.057,49.093,49.130,49.166,...
        49.202,49.239,49.275,49.311,49.348,49.384,49.420,49.456,49.493,49.529,...
        49.565,49.601,49.637,49.674,49.710,49.746,49.782,49.818,49.854,49.890,...
        49.926,49.962,49.998,50.034,50.070,50.106,50.142,50.178,50.214,50.250,...
        50.286,50.322,50.358,50.393,50.429,50.465,50.501,50.537,50.572,50.608,...
        50.644,50.680,50.715,50.751,50.787,50.822,50.858,50.894,50.929,50.965,...
        51.000,51.036,51.071,51.107,51.142,51.178,51.213,51.249,51.284,51.320,...
        51.355,51.391,51.426,51.461,51.497,51.532,51.567,51.603,51.638,51.673,...
        51.708,51.744,51.779,51.814,51.849,51.885,51.920,51.955,51.990,52.025,...
        52.060,52.095,52.130,52.165,52.200,52.235,52.270,52.305,52.340,52.375,...
        52.410,52.445,52.480,52.515,52.550,52.585,52.620,52.654,52.689,52.724,...
        52.759,52.794,52.828,52.863,52.898,52.932,52.967,53.002,53.037,53.071,...
        53.106,53.140,53.175,53.210,53.244,53.279,53.313,53.348,53.382,53.417,...
        53.451,53.486,53.520,53.555,53.589,53.623,53.658,53.692,53.727,53.761,...
        53.795,53.830,53.864,53.898,53.932,53.967,54.001,54.035,54.069,54.104,...
        54.138,54.172,54.206,54.240,54.274,54.308,54.343,54.377,54.411,54.445,...
        54.479,54.513,54.547,54.581,54.615,54.649,54.683,54.717,54.751,54.785,54.819,54.852,54.886];
        X=t;
        Y=U;
        a=4;
    case "TCN" then;
        //Temperatur t[°C]
        t=[-270:1:1300];
        //Spannung U[mV]
        U=[-4.345,-4.345,-4.344,-4.344,-4.343,-4.342,-4.341,-4.340,-4.339,-4.337,-4.336,...
        -4.334,-4.330,-4.332,-4.328,-4.326,-4.324,-4.321,-4.319,-4.316,-4.313,...
        -4.310,-4.304,-4.307,-4.300,-4.297,-4.293,-4.289,-4.285,-4.281,-4.277,...
        -4.273,-4.263,-4.268,-4.258,-4.254,-4.248,-4.243,-4.238,-4.232,-4.226,...
        -4.221,-4.209,-4.215,-4.202,-4.196,-4.189,-4.183,-4.176,-4.169,-4.162,...
        -4.154,-4.140,-4.147,-4.132,-4.124,-4.116,-4.108,-4.100,-4.091,-4.083,...
        -4.074,-4.057,-4.066,-4.048,-4.038,-4.029,-4.020,-4.010,-4.000,-3.990,...
        -3.980,-3.960,-3.970,-3.950,-3.939,-3.928,-3.918,-3.907,-3.896,-3.884,...
        -3.873,-3.850,-3.862,-3.838,-3.827,-3.815,-3.803,-3.790,-3.778,-3.766,...
        -3.753,-3.728,-3.740,-3.715,-3.702,-3.688,-3.675,-3.662,-3.648,-3.634,...
        -3.621,-3.593,-3.607,-3.578,-3.564,-3.550,-3.535,-3.521,-3.506,-3.491,...
        -3.476,-3.446,-3.461,-3.431,-3.415,-3.400,-3.384,-3.368,-3.352,-3.336,...
        -3.320,-3.288,-3.304,-3.271,-3.255,-3.238,-3.221,-3.205,-3.188,-3.171,...
        -3.153,-3.119,-3.136,-3.101,-3.084,-3.066,-3.048,-3.030,-3.012,-2.994,...
        -2.976,-2.939,-2.958,-2.921,-2.902,-2.883,-2.865,-2.846,-2.827,-2.808,...
        -2.789,-2.750,-2.769,-2.730,-2.711,-2.691,-2.672,-2.652,-2.632,-2.612,...
        -2.592,-2.551,-2.571,-2.531,-2.510,-2.490,-2.469,-2.448,-2.428,-2.407,...
        -2.386,-2.344,-2.365,-2.322,-2.301,-2.280,-2.258,-2.237,-2.215,-2.193,...
        -2.172,-2.128,-2.150,-2.106,-2.084,-2.062,-2.039,-2.017,-1.995,-1.972,...
        -1.950,-1.905,-1.927,-1.882,-1.859,-1.836,-1.813,-1.790,-1.767,-1.744,...
        -1.721,-1.674,-1.698,-1.651,-1.627,-1.604,-1.580,-1.557,-1.533,-1.509,...
        -1.485,-1.438,-1.462,-1.414,-1.390,-1.366,-1.341,-1.317,-1.293,-1.269,...
        -1.244,-1.195,-1.220,-1.171,-1.146,-1.122,-1.097,-1.072,-1.048,-1.023,...
        -0.998,-0.948,-0.973,-0.923,-0.898,-0.873,-0.848,-0.823,-0.798,-0.772,...
        -0.747,-0.696,-0.722,-0.671,-0.646,-0.620,-0.595,-0.569,-0.544,-0.518,...
        -0.492,-0.441,-0.467,-0.415,-0.390,-0.364,-0.338,-0.312,-0.286,-0.260,...
        -0.234,-0.183,-0.209,-0.157,-0.131,-0.104,-0.078,-0.052,-0.026,...
        0.000,0.026,0.052,0.078,0.104,0.130,0.156,0.182,0.208,0.235,...
        0.261,0.287,0.313,0.340,0.366,0.393,0.419,0.446,0.472,0.499,...
        0.525,0.552,0.578,0.605,0.632,0.659,0.685,0.712,0.739,0.766,...
        0.793,0.820,0.847,0.874,0.901,0.928,0.955,0.983,1.010,1.037,...
        1.065,1.092,1.119,1.147,1.174,1.202,1.229,1.257,1.284,1.312,...
        1.340,1.368,1.395,1.423,1.451,1.479,1.507,1.535,1.563,1.591,...
        1.619,1.647,1.675,1.703,1.732,1.760,1.788,1.817,1.845,1.873,...
        1.902,1.930,1.959,1.988,2.016,2.045,2.074,2.102,2.131,2.160,...
        2.189,2.218,2.247,2.276,2.305,2.334,2.363,2.392,2.421,2.450,...
        2.480,2.509,2.538,2.568,2.597,2.626,2.656,2.685,2.715,2.744,...
        2.774,2.804,2.833,2.863,2.893,2.923,2.953,2.983,3.012,3.042,...
        3.072,3.102,3.133,3.163,3.193,3.223,3.253,3.283,3.314,3.344,...
        3.374,3.405,3.435,3.466,3.496,3.527,3.557,3.588,3.619,3.649,...
        3.680,3.711,3.742,3.772,3.803,3.834,3.865,3.896,3.927,3.958,...
        3.989,4.020,4.051,4.083,4.114,4.145,4.176,4.208,4.239,4.270,...
        4.302,4.333,4.365,4.396,4.428,4.459,4.491,4.523,4.554,4.586,...
        4.618,4.650,4.681,4.713,4.745,4.777,4.809,4.841,4.873,4.905,...
        4.937,4.969,5.001,5.033,5.066,5.098,5.130,5.162,5.195,5.227,...
        5.259,5.292,5.324,5.357,5.389,5.422,5.454,5.487,5.520,5.552,...
        5.585,5.618,5.650,5.683,5.716,5.749,5.782,5.815,5.847,5.880,...
        5.913,5.946,5.979,6.013,6.046,6.079,6.112,6.145,6.178,6.211,...
        6.245,6.278,6.311,6.345,6.378,6.411,6.445,6.478,6.512,6.545,...
        6.579,6.612,6.646,6.680,6.713,6.747,6.781,6.814,6.848,6.882,...
        6.916,6.949,6.983,7.017,7.051,7.085,7.119,7.153,7.187,7.221,...
        7.255,7.289,7.323,7.357,7.392,7.426,7.460,7.494,7.528,7.563,...
        7.597,7.631,7.666,7.700,7.734,7.769,7.803,7.838,7.872,7.907,...
        7.941,7.976,8.010,8.045,8.080,8.114,8.149,8.184,8.218,8.253,...
        8.288,8.323,8.358,8.392,8.427,8.462,8.497,8.532,8.567,8.602,...
        8.637,8.672,8.707,8.742,8.777,8.812,8.847,8.882,8.918,8.953,...
        8.988,9.023,9.058,9.094,9.129,9.164,9.200,9.235,9.270,9.306,...
        9.341,9.377,9.412,9.448,9.483,9.519,9.554,9.590,9.625,9.661,...
        9.696,9.732,9.768,9.803,9.839,9.875,9.910,9.946,9.982,10.018,...
        10.054,10.089,10.125,10.161,10.197,10.233,10.269,10.305,10.341,10.377,...
        10.413,10.449,10.485,10.521,10.557,10.593,10.629,10.665,10.701,10.737,...
        10.774,10.810,10.846,10.882,10.918,10.955,10.991,11.027,11.064,11.100,...
        11.136,11.173,11.209,11.245,11.282,11.318,11.355,11.391,11.428,11.464,...
        11.501,11.537,11.574,11.610,11.647,11.683,11.720,11.757,11.793,11.830,...
        11.867,11.903,11.940,11.977,12.013,12.050,12.087,12.124,12.160,12.197,...
        12.234,12.271,12.308,12.345,12.382,12.418,12.455,12.492,12.529,12.566,...
        12.603,12.640,12.677,12.714,12.751,12.788,12.825,12.862,12.899,12.937,...
        12.974,13.011,13.048,13.085,13.122,13.159,13.197,13.234,13.271,13.308,...
        13.346,13.383,13.420,13.457,13.495,13.532,13.569,13.607,13.644,13.682,...
        13.719,13.756,13.794,13.831,13.869,13.906,13.944,13.981,14.019,14.056,...
        14.094,14.131,14.169,14.206,14.244,14.281,14.319,14.356,14.394,14.432,...
        14.469,14.507,14.545,14.582,14.620,14.658,14.695,14.733,14.771,14.809,...
        14.846,14.884,14.922,14.960,14.998,15.035,15.073,15.111,15.149,15.187,...
        15.225,15.262,15.300,15.338,15.376,15.414,15.452,15.490,15.528,15.566,...
        15.604,15.642,15.680,15.718,15.756,15.794,15.832,15.870,15.908,15.946,...
        15.984,16.022,16.060,16.099,16.137,16.175,16.213,16.251,16.289,16.327,...
        16.366,16.404,16.442,16.480,16.518,16.557,16.595,16.633,16.671,16.710,...
        16.748,16.786,16.824,16.863,16.901,16.939,16.978,17.016,17.054,17.093,...
        17.131,17.169,17.208,17.246,17.285,17.323,17.361,17.400,17.438,17.477,...
        17.515,17.554,17.592,17.630,17.669,17.707,17.746,17.784,17.823,17.861,...
        17.900,17.938,17.977,18.016,18.054,18.093,18.131,18.170,18.208,18.247,...
        18.286,18.324,18.363,18.401,18.440,18.479,18.517,18.556,18.595,18.633,...
        18.672,18.711,18.749,18.788,18.827,18.865,18.904,18.943,18.982,19.020,...
        19.059,19.098,19.136,19.175,19.214,19.253,19.292,19.330,19.369,19.408,...
        19.447,19.485,19.524,19.563,19.602,19.641,19.680,19.718,19.757,19.796,...
        19.835,19.874,19.913,19.952,19.990,20.029,20.068,20.107,20.146,20.185,...
        20.224,20.263,20.302,20.341,20.379,20.418,20.457,20.496,20.535,20.574,...
        20.613,20.652,20.691,20.730,20.769,20.808,20.847,20.886,20.925,20.964,...
        21.003,21.042,21.081,21.120,21.159,21.198,21.237,21.276,21.315,21.354,...
        21.393,21.432,21.471,21.510,21.549,21.588,21.628,21.667,21.706,21.745,...
        21.784,21.823,21.862,21.901,21.940,21.979,22.018,22.058,22.097,22.136,...
        22.175,22.214,22.253,22.292,22.331,22.370,22.410,22.449,22.488,22.527,...
        22.566,22.605,22.644,22.684,22.723,22.762,22.801,22.840,22.879,22.919,...
        22.958,22.997,23.036,23.075,23.115,23.154,23.193,23.232,23.271,23.311,...
        23.350,23.389,23.428,23.467,23.507,23.546,23.585,23.624,23.663,23.703,...
        23.742,23.781,23.820,23.860,23.899,23.938,23.977,24.016,24.056,24.095,...
        24.134,24.173,24.213,24.252,24.291,24.330,24.370,24.409,24.448,24.487,...
        24.527,24.566,24.605,24.644,24.684,24.723,24.762,24.801,24.841,24.880,...
        24.919,24.959,24.998,25.037,25.076,25.116,25.155,25.194,25.233,25.273,...
        25.312,25.351,25.391,25.430,25.469,25.508,25.548,25.587,25.626,25.666,...
        25.705,25.744,25.783,25.823,25.862,25.901,25.941,25.980,26.019,26.058,...
        26.098,26.137,26.176,26.216,26.255,26.294,26.333,26.373,26.412,26.451,...
        26.491,26.530,26.569,26.608,26.648,26.687,26.726,26.766,26.805,26.844,...
        26.883,26.923,26.962,27.001,27.041,27.080,27.119,27.158,27.198,27.237,...
        27.276,27.316,27.355,27.394,27.433,27.473,27.512,27.551,27.591,27.630,...
        27.669,27.708,27.748,27.787,27.826,27.866,27.905,27.944,27.983,28.023,...
        28.062,28.101,28.140,28.180,28.219,28.258,28.297,28.337,28.376,28.415,...
        28.455,28.494,28.533,28.572,28.612,28.651,28.690,28.729,28.769,28.808,...
        28.847,28.886,28.926,28.965,29.004,29.043,29.083,29.122,29.161,29.200,...
        29.239,29.279,29.318,29.357,29.396,29.436,29.475,29.514,29.553,29.592,...
        29.632,29.671,29.710,29.749,29.789,29.828,29.867,29.906,29.945,29.985,...
        30.024,30.063,30.102,30.141,30.181,30.220,30.259,30.298,30.337,30.376,...
        30.416,30.455,30.494,30.533,30.572,30.611,30.651,30.690,30.729,30.768,...
        30.807,30.846,30.886,30.925,30.964,31.003,31.042,31.081,31.120,31.160,...
        31.199,31.238,31.277,31.316,31.355,31.394,31.433,31.473,31.512,31.551,...
        31.590,31.629,31.668,31.707,31.746,31.785,31.824,31.863,31.903,31.942,...
        31.981,32.020,32.059,32.098,32.137,32.176,32.215,32.254,32.293,32.332,...
        32.371,32.410,32.449,32.488,32.527,32.566,32.605,32.644,32.683,32.722,...
        32.761,32.800,32.839,32.878,32.917,32.956,32.995,33.034,33.073,33.112,...
        33.151,33.190,33.229,33.268,33.307,33.346,33.385,33.424,33.463,33.502,...
        33.541,33.580,33.619,33.658,33.697,33.736,33.774,33.813,33.852,33.891,...
        33.930,33.969,34.008,34.047,34.086,34.124,34.163,34.202,34.241,34.280,...
        34.319,34.358,34.396,34.435,34.474,34.513,34.552,34.591,34.629,34.668,...
        34.707,34.746,34.785,34.823,34.862,34.901,34.940,34.979,35.017,35.056,...
        35.095,35.134,35.172,35.211,35.250,35.289,35.327,35.366,35.405,35.444,...
        35.482,35.521,35.560,35.598,35.637,35.676,35.714,35.753,35.792,35.831,...
        35.869,35.908,35.946,35.985,36.024,36.062,36.101,36.140,36.178,36.217,...
        36.256,36.294,36.333,36.371,36.410,36.449,36.487,36.526,36.564,36.603,...
        36.641,36.680,36.718,36.757,36.796,36.834,36.873,36.911,36.950,36.988,...
        37.027,37.065,37.104,37.142,37.181,37.219,37.258,37.296,37.334,37.373,...
        37.411,37.450,37.488,37.527,37.565,37.603,37.642,37.680,37.719,37.757,...
        37.795,37.834,37.872,37.911,37.949,37.987,38.026,38.064,38.102,38.141,...
        38.179,38.217,38.256,38.294,38.332,38.370,38.409,38.447,38.485,38.524,...
        38.562,38.600,38.638,38.677,38.715,38.753,38.791,38.829,38.868,38.906,...
        38.944,38.982,39.020,39.059,39.097,39.135,39.173,39.211,39.249,39.287,...
        39.326,39.364,39.402,39.440,39.478,39.516,39.554,39.592,39.630,39.668,...
        39.706,39.744,39.783,39.821,39.859,39.897,39.935,39.973,40.011,40.049,...
        40.087,40.125,40.163,40.201,40.238,40.276,40.314,40.352,40.390,40.428,...
        40.466,40.504,40.542,40.580,40.618,40.655,40.693,40.731,40.769,40.807,...
        40.845,40.883,40.920,40.958,40.996,41.034,41.072,41.109,41.147,41.185,...
        41.223,41.260,41.298,41.336,41.374,41.411,41.449,41.487,41.525,41.562,...
        41.600,41.638,41.675,41.713,41.751,41.788,41.826,41.864,41.901,41.939,...
        41.976,42.014,42.052,42.089,42.127,42.164,42.202,42.239,42.277,42.314,...
        42.352,42.390,42.427,42.465,42.502,42.540,42.577,42.614,42.652,42.689,...
        42.727,42.764,42.802,42.839,42.877,42.914,42.951,42.989,43.026,43.064,...
        43.101,43.138,43.176,43.213,43.250,43.288,43.325,43.362,43.399,43.437,...
        43.474,43.511,43.549,43.586,43.623,43.660,43.698,43.735,43.772,43.809,...
        43.846,43.884,43.921,43.958,43.995,44.032,44.069,44.106,44.144,44.181,...
        44.218,44.255,44.292,44.329,44.366,44.403,44.440,44.477,44.514,44.551,...
        44.588,44.625,44.662,44.699,44.736,44.773,44.810,44.847,44.884,44.921,...
        44.958,44.995,45.032,45.069,45.105,45.142,45.179,45.216,45.253,45.290,...
        45.326,45.363,45.400,45.437,45.474,45.510,45.547,45.584,45.621,45.657,...
        45.694,45.731,45.767,45.804,45.841,45.877,45.914,45.951,45.987,46.024,...
        46.060,46.097,46.133,46.170,46.207,46.243,46.280,46.316,46.353,46.389,...
        46.425,46.462,46.498,46.535,46.571,46.608,46.644,46.680,46.717,46.753,...
        46.789,46.826,46.862,46.898,46.935,46.971,47.007,47.043,47.079,47.116,...
        47.152,47.188,47.224,47.260,47.296,47.333,47.369,47.405,47.441,47.477,47.513];
        X=t;
        Y=U;
        a=5;
    case "TCR" then;
        //Temperatur t[°C]
        t=[-50:1:1768];
        //Spannung U[mV]
        U=[-0.226,-0.223,-0.219,-0.215,-0.211,-0.208,-0.204,-0.200,-0.196,-0.192,-0.188,...
        -0.184,-0.180,-0.175,-0.171,-0.167,-0.163,-0.158,-0.154,-0.150,-0.145,...
        -0.141,-0.137,-0.132,-0.128,-0.123,-0.119,-0.114,-0.109,-0.105,-0.100,...
        -0.095,-0.091,-0.086,-0.081,-0.076,-0.071,-0.066,-0.061,-0.056,-0.051,...
        -0.046,-0.041,-0.036,-0.031,-0.026,-0.021,-0.016,-0.011,-0.005,...
        0.000,0.005,0.011,0.016,0.021,0.027,0.032,0.038,0.043,0.049,...
        0.054,0.060,0.065,0.071,0.077,0.082,0.088,0.094,0.100,0.105,...
        0.111,0.117,0.123,0.129,0.135,0.141,0.147,0.153,0.159,0.165,...
        0.171,0.177,0.183,0.189,0.195,0.201,0.207,0.214,0.220,0.226,...
        0.232,0.239,0.245,0.251,0.258,0.264,0.271,0.277,0.284,0.290,...
        0.296,0.303,0.310,0.316,0.323,0.329,0.336,0.343,0.349,0.356,...
        0.363,0.369,0.376,0.383,0.390,0.397,0.403,0.410,0.417,0.424,...
        0.431,0.438,0.445,0.452,0.459,0.466,0.473,0.480,0.487,0.494,...
        0.501,0.508,0.516,0.523,0.530,0.537,0.544,0.552,0.559,0.566,...
        0.573,0.581,0.588,0.595,0.603,0.610,0.618,0.625,0.632,0.640,...
        0.647,0.655,0.662,0.670,0.677,0.685,0.693,0.700,0.708,0.715,...
        0.723,0.731,0.738,0.746,0.754,0.761,0.769,0.777,0.785,0.792,...
        0.800,0.808,0.816,0.824,0.832,0.839,0.847,0.855,0.863,0.871,...
        0.879,0.887,0.895,0.903,0.911,0.919,0.927,0.935,0.943,0.951,...
        0.959,0.967,0.976,0.984,0.992,1.000,1.008,1.016,1.025,1.033,...
        1.041,1.049,1.058,1.066,1.074,1.082,1.091,1.099,1.107,1.116,...
        1.124,1.132,1.141,1.149,1.158,1.166,1.175,1.183,1.191,1.200,...
        1.208,1.217,1.225,1.234,1.242,1.251,1.260,1.268,1.277,1.285,...
        1.294,1.303,1.311,1.320,1.329,1.337,1.346,1.355,1.363,1.372,...
        1.381,1.389,1.398,1.407,1.416,1.425,1.433,1.442,1.451,1.460,...
        1.469,1.477,1.486,1.495,1.504,1.513,1.522,1.531,1.540,1.549,...
        1.558,1.567,1.575,1.584,1.593,1.602,1.611,1.620,1.629,1.639,...
        1.648,1.657,1.666,1.675,1.684,1.693,1.702,1.711,1.720,1.729,...
        1.739,1.748,1.757,1.766,1.775,1.784,1.794,1.803,1.812,1.821,...
        1.831,1.840,1.849,1.858,1.868,1.877,1.886,1.895,1.905,1.914,...
        1.923,1.933,1.942,1.951,1.961,1.970,1.980,1.989,1.998,2.008,...
        2.017,2.027,2.036,2.046,2.055,2.064,2.074,2.083,2.093,2.102,...
        2.112,2.121,2.131,2.140,2.150,2.159,2.169,2.179,2.188,2.198,...
        2.207,2.217,2.226,2.236,2.246,2.255,2.265,2.275,2.284,2.294,...
        2.304,2.313,2.323,2.333,2.342,2.352,2.362,2.371,2.381,2.391,...
        2.401,2.410,2.420,2.430,2.440,2.449,2.459,2.469,2.479,2.488,...
        2.498,2.508,2.518,2.528,2.538,2.547,2.557,2.567,2.577,2.587,...
        2.597,2.607,2.617,2.626,2.636,2.646,2.656,2.666,2.676,2.686,...
        2.696,2.706,2.716,2.726,2.736,2.746,2.756,2.766,2.776,2.786,...
        2.796,2.806,2.816,2.826,2.836,2.846,2.856,2.866,2.876,2.886,...
        2.896,2.906,2.916,2.926,2.937,2.947,2.957,2.967,2.977,2.987,...
        2.997,3.007,3.018,3.028,3.038,3.048,3.058,3.068,3.079,3.089,...
        3.099,3.109,3.119,3.130,3.140,3.150,3.160,3.171,3.181,3.191,...
        3.201,3.212,3.222,3.232,3.242,3.253,3.263,3.273,3.284,3.294,...
        3.304,3.315,3.325,3.335,3.346,3.356,3.366,3.377,3.387,3.397,...
        3.408,3.418,3.428,3.439,3.449,3.460,3.470,3.480,3.491,3.501,...
        3.512,3.522,3.533,3.543,3.553,3.564,3.574,3.585,3.595,3.606,...
        3.616,3.627,3.637,3.648,3.658,3.669,3.679,3.690,3.700,3.711,...
        3.721,3.732,3.742,3.753,3.764,3.774,3.785,3.795,3.806,3.816,...
        3.827,3.838,3.848,3.859,3.869,3.880,3.891,3.901,3.912,3.922,...
        3.933,3.944,3.954,3.965,3.976,3.986,3.997,4.008,4.018,4.029,...
        4.040,4.050,4.061,4.072,4.083,4.093,4.104,4.115,4.125,4.136,...
        4.147,4.158,4.168,4.179,4.190,4.201,4.211,4.222,4.233,4.244,...
        4.255,4.265,4.276,4.287,4.298,4.309,4.319,4.330,4.341,4.352,...
        4.363,4.373,4.384,4.395,4.406,4.417,4.428,4.439,4.449,4.460,...
        4.471,4.482,4.493,4.504,4.515,4.526,4.537,4.548,4.558,4.569,...
        4.580,4.591,4.602,4.613,4.624,4.635,4.646,4.657,4.668,4.679,...
        4.690,4.701,4.712,4.723,4.734,4.745,4.756,4.767,4.778,4.789,...
        4.800,4.811,4.822,4.833,4.844,4.855,4.866,4.877,4.888,4.899,...
        4.910,4.922,4.933,4.944,4.955,4.966,4.977,4.988,4.999,5.010,...
        5.021,5.033,5.044,5.055,5.066,5.077,5.088,5.099,5.111,5.122,...
        5.133,5.144,5.155,5.166,5.178,5.189,5.200,5.211,5.222,5.234,...
        5.245,5.256,5.267,5.279,5.290,5.301,5.312,5.323,5.335,5.346,...
        5.357,5.369,5.380,5.391,5.402,5.414,5.425,5.436,5.448,5.459,...
        5.470,5.481,5.493,5.504,5.515,5.527,5.538,5.549,5.561,5.572,...
        5.583,5.595,5.606,5.618,5.629,5.640,5.652,5.663,5.674,5.686,...
        5.697,5.709,5.720,5.731,5.743,5.754,5.766,5.777,5.789,5.800,...
        5.812,5.823,5.834,5.846,5.857,5.869,5.880,5.892,5.903,5.915,...
        5.926,5.938,5.949,5.961,5.972,5.984,5.995,6.007,6.018,6.030,...
        6.041,6.053,6.065,6.076,6.088,6.099,6.111,6.122,6.134,6.146,...
        6.157,6.169,6.180,6.192,6.204,6.215,6.227,6.238,6.250,6.262,...
        6.273,6.285,6.297,6.308,6.320,6.332,6.343,6.355,6.367,6.378,...
        6.390,6.402,6.413,6.425,6.437,6.448,6.460,6.472,6.484,6.495,...
        6.507,6.519,6.531,6.542,6.554,6.566,6.578,6.589,6.601,6.613,...
        6.625,6.636,6.648,6.660,6.672,6.684,6.695,6.707,6.719,6.731,...
        6.743,6.755,6.766,6.778,6.790,6.802,6.814,6.826,6.838,6.849,...
        6.861,6.873,6.885,6.897,6.909,6.921,6.933,6.945,6.956,6.968,...
        6.980,6.992,7.004,7.016,7.028,7.040,7.052,7.064,7.076,7.088,...
        7.100,7.112,7.124,7.136,7.148,7.160,7.172,7.184,7.196,7.208,...
        7.220,7.232,7.244,7.256,7.268,7.280,7.292,7.304,7.316,7.328,...
        7.340,7.352,7.364,7.376,7.389,7.401,7.413,7.425,7.437,7.449,...
        7.461,7.473,7.485,7.498,7.510,7.522,7.534,7.546,7.558,7.570,...
        7.583,7.595,7.607,7.619,7.631,7.644,7.656,7.668,7.680,7.692,...
        7.705,7.717,7.729,7.741,7.753,7.766,7.778,7.790,7.802,7.815,...
        7.827,7.839,7.851,7.864,7.876,7.888,7.901,7.913,7.925,7.938,...
        7.950,7.962,7.974,7.987,7.999,8.011,8.024,8.036,8.048,8.061,...
        8.073,8.086,8.098,8.110,8.123,8.135,8.147,8.160,8.172,8.185,...
        8.197,8.209,8.222,8.234,8.247,8.259,8.272,8.284,8.296,8.309,...
        8.321,8.334,8.346,8.359,8.371,8.384,8.396,8.409,8.421,8.434,...
        8.446,8.459,8.471,8.484,8.496,8.509,8.521,8.534,8.546,8.559,...
        8.571,8.584,8.597,8.609,8.622,8.634,8.647,8.659,8.672,8.685,...
        8.697,8.710,8.722,8.735,8.748,8.760,8.773,8.785,8.798,8.811,...
        8.823,8.836,8.849,8.861,8.874,8.887,8.899,8.912,8.925,8.937,...
        8.950,8.963,8.975,8.988,9.001,9.014,9.026,9.039,9.052,9.065,...
        9.077,9.090,9.103,9.115,9.128,9.141,9.154,9.167,9.179,9.192,...
        9.205,9.218,9.230,9.243,9.256,9.269,9.282,9.294,9.307,9.320,...
        9.333,9.346,9.359,9.371,9.384,9.397,9.410,9.423,9.436,9.449,...
        9.461,9.474,9.487,9.500,9.513,9.526,9.539,9.552,9.565,9.578,...
        9.590,9.603,9.616,9.629,9.642,9.655,9.668,9.681,9.694,9.707,...
        9.720,9.733,9.746,9.759,9.772,9.785,9.798,9.811,9.824,9.837,...
        9.850,9.863,9.876,9.889,9.902,9.915,9.928,9.941,9.954,9.967,...
        9.980,9.993,10.006,10.019,10.032,10.046,10.059,10.072,10.085,10.098,...
        10.111,10.124,10.137,10.150,10.163,10.177,10.190,10.203,10.216,10.229,...
        10.242,10.255,10.268,10.282,10.295,10.308,10.321,10.334,10.347,10.361,...
        10.374,10.387,10.400,10.413,10.427,10.440,10.453,10.466,10.480,10.493,...
        10.506,10.519,10.532,10.546,10.559,10.572,10.585,10.599,10.612,10.625,...
        10.638,10.652,10.665,10.678,10.692,10.705,10.718,10.731,10.745,10.758,...
        10.771,10.785,10.798,10.811,10.825,10.838,10.851,10.865,10.878,10.891,...
        10.905,10.918,10.932,10.945,10.958,10.972,10.985,10.998,11.012,11.025,...
        11.039,11.052,11.065,11.079,11.092,11.106,11.119,11.132,11.146,11.159,...
        11.173,11.186,11.200,11.213,11.227,11.240,11.253,11.267,11.280,11.294,...
        11.307,11.321,11.334,11.348,11.361,11.375,11.388,11.402,11.415,11.429,...
        11.442,11.456,11.469,11.483,11.496,11.510,11.524,11.537,11.551,11.564,...
        11.578,11.591,11.605,11.618,11.632,11.646,11.659,11.673,11.686,11.700,...
        11.714,11.727,11.741,11.754,11.768,11.782,11.795,11.809,11.822,11.836,...
        11.850,11.863,11.877,11.891,11.904,11.918,11.931,11.945,11.959,11.972,...
        11.986,12.000,12.013,12.027,12.041,12.054,12.068,12.082,12.096,12.109,...
        12.123,12.137,12.150,12.164,12.178,12.191,12.205,12.219,12.233,12.246,...
        12.260,12.274,12.288,12.301,12.315,12.329,12.342,12.356,12.370,12.384,...
        12.397,12.411,12.425,12.439,12.453,12.466,12.480,12.494,12.508,12.521,...
        12.535,12.549,12.563,12.577,12.590,12.604,12.618,12.632,12.646,12.659,...
        12.673,12.687,12.701,12.715,12.729,12.742,12.756,12.770,12.784,12.798,...
        12.812,12.825,12.839,12.853,12.867,12.881,12.895,12.909,12.922,12.936,...
        12.950,12.964,12.978,12.992,13.006,13.019,13.033,13.047,13.061,13.075,...
        13.089,13.103,13.117,13.131,13.145,13.158,13.172,13.186,13.200,13.214,...
        13.228,13.242,13.256,13.270,13.284,13.298,13.311,13.325,13.339,13.353,...
        13.367,13.381,13.395,13.409,13.423,13.437,13.451,13.465,13.479,13.493,...
        13.507,13.521,13.535,13.549,13.563,13.577,13.590,13.604,13.618,13.632,...
        13.646,13.660,13.674,13.688,13.702,13.716,13.730,13.744,13.758,13.772,...
        13.786,13.800,13.814,13.828,13.842,13.856,13.870,13.884,13.898,13.912,...
        13.926,13.940,13.954,13.968,13.982,13.996,14.010,14.024,14.038,14.052,...
        14.066,14.081,14.095,14.109,14.123,14.137,14.151,14.165,14.179,14.193,...
        14.207,14.221,14.235,14.249,14.263,14.277,14.291,14.305,14.319,14.333,...
        14.347,14.361,14.375,14.390,14.404,14.418,14.432,14.446,14.460,14.474,...
        14.488,14.502,14.516,14.530,14.544,14.558,14.572,14.586,14.601,14.615,...
        14.629,14.643,14.657,14.671,14.685,14.699,14.713,14.727,14.741,14.755,...
        14.770,14.784,14.798,14.812,14.826,14.840,14.854,14.868,14.882,14.896,...
        14.911,14.925,14.939,14.953,14.967,14.981,14.995,15.009,15.023,15.037,...
        15.052,15.066,15.080,15.094,15.108,15.122,15.136,15.150,15.164,15.179,...
        15.193,15.207,15.221,15.235,15.249,15.263,15.277,15.291,15.306,15.320,...
        15.334,15.348,15.362,15.376,15.390,15.404,15.419,15.433,15.447,15.461,...
        15.475,15.489,15.503,15.517,15.531,15.546,15.560,15.574,15.588,15.602,...
        15.616,15.630,15.645,15.659,15.673,15.687,15.701,15.715,15.729,15.743,...
        15.758,15.772,15.786,15.800,15.814,15.828,15.842,15.856,15.871,15.885,...
        15.899,15.913,15.927,15.941,15.955,15.969,15.984,15.998,16.012,16.026,...
        16.040,16.054,16.068,16.082,16.097,16.111,16.125,16.139,16.153,16.167,...
        16.181,16.196,16.210,16.224,16.238,16.252,16.266,16.280,16.294,16.309,...
        16.323,16.337,16.351,16.365,16.379,16.393,16.407,16.422,16.436,16.450,...
        16.464,16.478,16.492,16.506,16.520,16.534,16.549,16.563,16.577,16.591,...
        16.605,16.619,16.633,16.647,16.662,16.676,16.690,16.704,16.718,16.732,...
        16.746,16.760,16.774,16.789,16.803,16.817,16.831,16.845,16.859,16.873,...
        16.887,16.901,16.915,16.930,16.944,16.958,16.972,16.986,17.000,17.014,...
        17.028,17.042,17.056,17.071,17.085,17.099,17.113,17.127,17.141,17.155,...
        17.169,17.183,17.197,17.211,17.225,17.240,17.254,17.268,17.282,17.296,...
        17.310,17.324,17.338,17.352,17.366,17.380,17.394,17.408,17.423,17.437,...
        17.451,17.465,17.479,17.493,17.507,17.521,17.535,17.549,17.563,17.577,...
        17.591,17.605,17.619,17.633,17.647,17.661,17.676,17.690,17.704,17.718,...
        17.732,17.746,17.760,17.774,17.788,17.802,17.816,17.830,17.844,17.858,...
        17.872,17.886,17.900,17.914,17.928,17.942,17.956,17.970,17.984,17.998,...
        18.012,18.026,18.040,18.054,18.068,18.082,18.096,18.110,18.124,18.138,...
        18.152,18.166,18.180,18.194,18.208,18.222,18.236,18.250,18.264,18.278,...
        18.292,18.306,18.320,18.334,18.348,18.362,18.376,18.390,18.404,18.417,...
        18.431,18.445,18.459,18.473,18.487,18.501,18.515,18.529,18.543,18.557,...
        18.571,18.585,18.599,18.613,18.627,18.640,18.654,18.668,18.682,18.696,...
        18.710,18.724,18.738,18.752,18.766,18.779,18.793,18.807,18.821,18.835,...
        18.849,18.863,18.877,18.891,18.904,18.918,18.932,18.946,18.960,18.974,...
        18.988,19.002,19.015,19.029,19.043,19.057,19.071,19.085,19.098,19.112,...
        19.126,19.140,19.154,19.168,19.181,19.195,19.209,19.223,19.237,19.250,...
        19.264,19.278,19.292,19.306,19.319,19.333,19.347,19.361,19.375,19.388,...
        19.402,19.416,19.430,19.444,19.457,19.471,19.485,19.499,19.512,19.526,...
        19.540,19.554,19.567,19.581,19.595,19.609,19.622,19.636,19.650,19.663,...
        19.677,19.691,19.705,19.718,19.732,19.746,19.759,19.773,19.787,19.800,...
        19.814,19.828,19.841,19.855,19.869,19.882,19.896,19.910,19.923,19.937,...
        19.951,19.964,19.978,19.992,20.005,20.019,20.032,20.046,20.060,20.073,...
        20.087,20.100,20.114,20.127,20.141,20.154,20.168,20.181,20.195,20.208,...
        20.222,20.235,20.249,20.262,20.275,20.289,20.302,20.316,20.329,20.342,...
        20.356,20.369,20.382,20.396,20.409,20.422,20.436,20.449,20.462,20.475,...
        20.488,20.502,20.515,20.528,20.541,20.554,20.567,20.581,20.594,20.607,...
        20.620,20.633,20.646,20.659,20.672,20.685,20.698,20.711,20.724,20.736,...
        20.749,20.762,20.775,20.788,20.801,20.813,20.826,20.839,20.852,20.864,...
        20.877,20.890,20.902,20.915,20.928,20.940,20.953,20.965,20.978,20.990,...
        21.003,21.015,21.027,21.040,21.052,21.065,21.077,21.089,21.101];
        X=t;
        Y=U;
        a=6;
    case "TCS" then;
        //Temperatur t[°C]
        t=[-50:1:1768];
        //Spannung U[mV]
        U=[-0.236,-0.232,-0.228,-0.224,-0.219,-0.215,-0.211,-0.207,-0.203,-0.199,-0.194,...
        -0.190,-0.186,-0.181,-0.177,-0.173,-0.168,-0.164,-0.159,-0.155,-0.150,...
        -0.146,-0.141,-0.136,-0.132,-0.127,-0.122,-0.117,-0.113,-0.108,-0.103,...
        -0.098,-0.093,-0.088,-0.083,-0.078,-0.073,-0.068,-0.063,-0.058,-0.053,...
        -0.048,-0.042,-0.037,-0.032,-0.027,-0.021,-0.016,-0.011,-0.005,...
        0.000,0.005,0.011,0.016,0.022,0.027,0.033,0.038,0.044,0.050,...
        0.055,0.061,0.067,0.072,0.078,0.084,0.090,0.095,0.101,0.107,...
        0.113,0.119,0.125,0.131,0.137,0.143,0.149,0.155,0.161,0.167,...
        0.173,0.179,0.185,0.191,0.197,0.204,0.210,0.216,0.222,0.229,...
        0.235,0.241,0.248,0.254,0.260,0.267,0.273,0.280,0.286,0.292,...
        0.299,0.305,0.312,0.319,0.325,0.332,0.338,0.345,0.352,0.358,...
        0.365,0.372,0.378,0.385,0.392,0.399,0.405,0.412,0.419,0.426,...
        0.433,0.440,0.446,0.453,0.460,0.467,0.474,0.481,0.488,0.495,...
        0.502,0.509,0.516,0.523,0.530,0.538,0.545,0.552,0.559,0.566,...
        0.573,0.580,0.588,0.595,0.602,0.609,0.617,0.624,0.631,0.639,...
        0.646,0.653,0.661,0.668,0.675,0.683,0.690,0.698,0.705,0.713,...
        0.720,0.727,0.735,0.743,0.750,0.758,0.765,0.773,0.780,0.788,...
        0.795,0.803,0.811,0.818,0.826,0.834,0.841,0.849,0.857,0.865,...
        0.872,0.880,0.888,0.896,0.903,0.911,0.919,0.927,0.935,0.942,...
        0.950,0.958,0.966,0.974,0.982,0.990,0.998,1.006,1.013,1.021,...
        1.029,1.037,1.045,1.053,1.061,1.069,1.077,1.085,1.094,1.102,...
        1.110,1.118,1.126,1.134,1.142,1.150,1.158,1.167,1.175,1.183,...
        1.191,1.199,1.207,1.216,1.224,1.232,1.240,1.249,1.257,1.265,...
        1.273,1.282,1.290,1.298,1.307,1.315,1.323,1.332,1.340,1.348,...
        1.357,1.365,1.373,1.382,1.390,1.399,1.407,1.415,1.424,1.432,...
        1.441,1.449,1.458,1.466,1.475,1.483,1.492,1.500,1.509,1.517,...
        1.526,1.534,1.543,1.551,1.560,1.569,1.577,1.586,1.594,1.603,...
        1.612,1.620,1.629,1.638,1.646,1.655,1.663,1.672,1.681,1.690,...
        1.698,1.707,1.716,1.724,1.733,1.742,1.751,1.759,1.768,1.777,...
        1.786,1.794,1.803,1.812,1.821,1.829,1.838,1.847,1.856,1.865,...
        1.874,1.882,1.891,1.900,1.909,1.918,1.927,1.936,1.944,1.953,...
        1.962,1.971,1.980,1.989,1.998,2.007,2.016,2.025,2.034,2.043,...
        2.052,2.061,2.070,2.078,2.087,2.096,2.105,2.114,2.123,2.132,...
        2.141,2.151,2.160,2.169,2.178,2.187,2.196,2.205,2.214,2.223,...
        2.232,2.241,2.250,2.259,2.268,2.277,2.287,2.296,2.305,2.314,...
        2.323,2.332,2.341,2.350,2.360,2.369,2.378,2.387,2.396,2.405,...
        2.415,2.424,2.433,2.442,2.451,2.461,2.470,2.479,2.488,2.497,...
        2.507,2.516,2.525,2.534,2.544,2.553,2.562,2.571,2.581,2.590,...
        2.599,2.609,2.618,2.627,2.636,2.646,2.655,2.664,2.674,2.683,...
        2.692,2.702,2.711,2.720,2.730,2.739,2.748,2.758,2.767,2.776,...
        2.786,2.795,2.805,2.814,2.823,2.833,2.842,2.851,2.861,2.870,...
        2.880,2.889,2.899,2.908,2.917,2.927,2.936,2.946,2.955,2.965,...
        2.974,2.983,2.993,3.002,3.012,3.021,3.031,3.040,3.050,3.059,...
        3.069,3.078,3.088,3.097,3.107,3.116,3.126,3.135,3.145,3.154,...
        3.164,3.173,3.183,3.192,3.202,3.212,3.221,3.231,3.240,3.250,...
        3.259,3.269,3.279,3.288,3.298,3.307,3.317,3.326,3.336,3.346,...
        3.355,3.365,3.374,3.384,3.394,3.403,3.413,3.423,3.432,3.442,...
        3.451,3.461,3.471,3.480,3.490,3.500,3.509,3.519,3.529,3.538,...
        3.548,3.558,3.567,3.577,3.587,3.596,3.606,3.616,3.626,3.635,...
        3.645,3.655,3.664,3.674,3.684,3.694,3.703,3.713,3.723,3.732,...
        3.742,3.752,3.762,3.771,3.781,3.791,3.801,3.810,3.820,3.830,...
        3.840,3.850,3.859,3.869,3.879,3.889,3.898,3.908,3.918,3.928,...
        3.938,3.947,3.957,3.967,3.977,3.987,3.997,4.006,4.016,4.026,...
        4.036,4.046,4.056,4.065,4.075,4.085,4.095,4.105,4.115,4.125,...
        4.134,4.144,4.154,4.164,4.174,4.184,4.194,4.204,4.213,4.223,...
        4.233,4.243,4.253,4.263,4.273,4.283,4.293,4.303,4.313,4.323,...
        4.332,4.342,4.352,4.362,4.372,4.382,4.392,4.402,4.412,4.422,...
        4.432,4.442,4.452,4.462,4.472,4.482,4.492,4.502,4.512,4.522,...
        4.532,4.542,4.552,4.562,4.572,4.582,4.592,4.602,4.612,4.622,...
        4.632,4.642,4.652,4.662,4.672,4.682,4.692,4.702,4.712,4.722,...
        4.732,4.742,4.752,4.762,4.772,4.782,4.793,4.803,4.813,4.823,...
        4.833,4.843,4.853,4.863,4.873,4.883,4.893,4.904,4.914,4.924,...
        4.934,4.944,4.954,4.964,4.974,4.984,4.995,5.005,5.015,5.025,...
        5.035,5.045,5.055,5.066,5.076,5.086,5.096,5.106,5.116,5.127,...
        5.137,5.147,5.157,5.167,5.178,5.188,5.198,5.208,5.218,5.228,...
        5.239,5.249,5.259,5.269,5.280,5.290,5.300,5.310,5.320,5.331,...
        5.341,5.351,5.361,5.372,5.382,5.392,5.402,5.413,5.423,5.433,...
        5.443,5.454,5.464,5.474,5.485,5.495,5.505,5.515,5.526,5.536,...
        5.546,5.557,5.567,5.577,5.588,5.598,5.608,5.618,5.629,5.639,...
        5.649,5.660,5.670,5.680,5.691,5.701,5.712,5.722,5.732,5.743,...
        5.753,5.763,5.774,5.784,5.794,5.805,5.815,5.826,5.836,5.846,...
        5.857,5.867,5.878,5.888,5.898,5.909,5.919,5.930,5.940,5.950,...
        5.961,5.971,5.982,5.992,6.003,6.013,6.024,6.034,6.044,6.055,...
        6.065,6.076,6.086,6.097,6.107,6.118,6.128,6.139,6.149,6.160,...
        6.170,6.181,6.191,6.202,6.212,6.223,6.233,6.244,6.254,6.265,...
        6.275,6.286,6.296,6.307,6.317,6.328,6.338,6.349,6.360,6.370,...
        6.381,6.391,6.402,6.412,6.423,6.434,6.444,6.455,6.465,6.476,...
        6.486,6.497,6.508,6.518,6.529,6.539,6.550,6.561,6.571,6.582,...
        6.593,6.603,6.614,6.624,6.635,6.646,6.656,6.667,6.678,6.688,...
        6.699,6.710,6.720,6.731,6.742,6.752,6.763,6.774,6.784,6.795,...
        6.806,6.817,6.827,6.838,6.849,6.859,6.870,6.881,6.892,6.902,...
        6.913,6.924,6.934,6.945,6.956,6.967,6.977,6.988,6.999,7.010,...
        7.020,7.031,7.042,7.053,7.064,7.074,7.085,7.096,7.107,7.117,...
        7.128,7.139,7.150,7.161,7.172,7.182,7.193,7.204,7.215,7.226,...
        7.236,7.247,7.258,7.269,7.280,7.291,7.302,7.312,7.323,7.334,...
        7.345,7.356,7.367,7.378,7.388,7.399,7.410,7.421,7.432,7.443,...
        7.454,7.465,7.476,7.487,7.497,7.508,7.519,7.530,7.541,7.552,...
        7.563,7.574,7.585,7.596,7.607,7.618,7.629,7.640,7.651,7.662,...
        7.673,7.684,7.695,7.706,7.717,7.728,7.739,7.750,7.761,7.772,...
        7.783,7.794,7.805,7.816,7.827,7.838,7.849,7.860,7.871,7.882,...
        7.893,7.904,7.915,7.926,7.937,7.948,7.959,7.970,7.981,7.992,...
        8.003,8.014,8.026,8.037,8.048,8.059,8.070,8.081,8.092,8.103,...
        8.114,8.125,8.137,8.148,8.159,8.170,8.181,8.192,8.203,8.214,...
        8.226,8.237,8.248,8.259,8.270,8.281,8.293,8.304,8.315,8.326,...
        8.337,8.348,8.360,8.371,8.382,8.393,8.404,8.416,8.427,8.438,...
        8.449,8.460,8.472,8.483,8.494,8.505,8.517,8.528,8.539,8.550,...
        8.562,8.573,8.584,8.595,8.607,8.618,8.629,8.640,8.652,8.663,...
        8.674,8.685,8.697,8.708,8.719,8.731,8.742,8.753,8.765,8.776,...
        8.787,8.798,8.810,8.821,8.832,8.844,8.855,8.866,8.878,8.889,...
        8.900,8.912,8.923,8.935,8.946,8.957,8.969,8.980,8.991,9.003,...
        9.014,9.025,9.037,9.048,9.060,9.071,9.082,9.094,9.105,9.117,...
        9.128,9.139,9.151,9.162,9.174,9.185,9.197,9.208,9.219,9.231,...
        9.242,9.254,9.265,9.277,9.288,9.300,9.311,9.323,9.334,9.345,...
        9.357,9.368,9.380,9.391,9.403,9.414,9.426,9.437,9.449,9.460,...
        9.472,9.483,9.495,9.506,9.518,9.529,9.541,9.552,9.564,9.576,...
        9.587,9.599,9.610,9.622,9.633,9.645,9.656,9.668,9.680,9.691,...
        9.703,9.714,9.726,9.737,9.749,9.761,9.772,9.784,9.795,9.807,...
        9.819,9.830,9.842,9.853,9.865,9.877,9.888,9.900,9.911,9.923,...
        9.935,9.946,9.958,9.970,9.981,9.993,10.005,10.016,10.028,10.040,...
        10.051,10.063,10.075,10.086,10.098,10.110,10.121,10.133,10.145,10.156,...
        10.168,10.180,10.191,10.203,10.215,10.227,10.238,10.250,10.262,10.273,...
        10.285,10.297,10.309,10.320,10.332,10.344,10.356,10.367,10.379,10.391,...
        10.403,10.414,10.426,10.438,10.450,10.461,10.473,10.485,10.497,10.509,...
        10.520,10.532,10.544,10.556,10.567,10.579,10.591,10.603,10.615,10.626,...
        10.638,10.650,10.662,10.674,10.686,10.697,10.709,10.721,10.733,10.745,...
        10.757,10.768,10.780,10.792,10.804,10.816,10.828,10.839,10.851,10.863,...
        10.875,10.887,10.899,10.911,10.922,10.934,10.946,10.958,10.970,10.982,...
        10.994,11.006,11.017,11.029,11.041,11.053,11.065,11.077,11.089,11.101,...
        11.113,11.125,11.136,11.148,11.160,11.172,11.184,11.196,11.208,11.220,...
        11.232,11.244,11.256,11.268,11.280,11.291,11.303,11.315,11.327,11.339,...
        11.351,11.363,11.375,11.387,11.399,11.411,11.423,11.435,11.447,11.459,...
        11.471,11.483,11.495,11.507,11.519,11.531,11.542,11.554,11.566,11.578,...
        11.590,11.602,11.614,11.626,11.638,11.650,11.662,11.674,11.686,11.698,...
        11.710,11.722,11.734,11.746,11.758,11.770,11.782,11.794,11.806,11.818,...
        11.830,11.842,11.854,11.866,11.878,11.890,11.902,11.914,11.926,11.939,...
        11.951,11.963,11.975,11.987,11.999,12.011,12.023,12.035,12.047,12.059,...
        12.071,12.083,12.095,12.107,12.119,12.131,12.143,12.155,12.167,12.179,...
        12.191,12.203,12.216,12.228,12.240,12.252,12.264,12.276,12.288,12.300,...
        12.312,12.324,12.336,12.348,12.360,12.372,12.384,12.397,12.409,12.421,...
        12.433,12.445,12.457,12.469,12.481,12.493,12.505,12.517,12.529,12.542,...
        12.554,12.566,12.578,12.590,12.602,12.614,12.626,12.638,12.650,12.662,...
        12.675,12.687,12.699,12.711,12.723,12.735,12.747,12.759,12.771,12.783,...
        12.796,12.808,12.820,12.832,12.844,12.856,12.868,12.880,12.892,12.905,...
        12.917,12.929,12.941,12.953,12.965,12.977,12.989,13.001,13.014,13.026,...
        13.038,13.050,13.062,13.074,13.086,13.098,13.111,13.123,13.135,13.147,...
        13.159,13.171,13.183,13.195,13.208,13.220,13.232,13.244,13.256,13.268,...
        13.280,13.292,13.305,13.317,13.329,13.341,13.353,13.365,13.377,13.390,...
        13.402,13.414,13.426,13.438,13.450,13.462,13.474,13.487,13.499,13.511,...
        13.523,13.535,13.547,13.559,13.572,13.584,13.596,13.608,13.620,13.632,...
        13.644,13.657,13.669,13.681,13.693,13.705,13.717,13.729,13.742,13.754,...
        13.766,13.778,13.790,13.802,13.814,13.826,13.839,13.851,13.863,13.875,...
        13.887,13.899,13.911,13.924,13.936,13.948,13.960,13.972,13.984,13.996,...
        14.009,14.021,14.033,14.045,14.057,14.069,14.081,14.094,14.106,14.118,...
        14.130,14.142,14.154,14.166,14.178,14.191,14.203,14.215,14.227,14.239,...
        14.251,14.263,14.276,14.288,14.300,14.312,14.324,14.336,14.348,14.360,...
        14.373,14.385,14.397,14.409,14.421,14.433,14.445,14.457,14.470,14.482,...
        14.494,14.506,14.518,14.530,14.542,14.554,14.567,14.579,14.591,14.603,...
        14.615,14.627,14.639,14.651,14.664,14.676,14.688,14.700,14.712,14.724,...
        14.736,14.748,14.760,14.773,14.785,14.797,14.809,14.821,14.833,14.845,...
        14.857,14.869,14.881,14.894,14.906,14.918,14.930,14.942,14.954,14.966,...
        14.978,14.990,15.002,15.015,15.027,15.039,15.051,15.063,15.075,15.087,...
        15.099,15.111,15.123,15.135,15.148,15.160,15.172,15.184,15.196,15.208,...
        15.220,15.232,15.244,15.256,15.268,15.280,15.292,15.304,15.317,15.329,...
        15.341,15.353,15.365,15.377,15.389,15.401,15.413,15.425,15.437,15.449,...
        15.461,15.473,15.485,15.497,15.509,15.521,15.534,15.546,15.558,15.570,...
        15.582,15.594,15.606,15.618,15.630,15.642,15.654,15.666,15.678,15.690,...
        15.702,15.714,15.726,15.738,15.750,15.762,15.774,15.786,15.798,15.810,...
        15.822,15.834,15.846,15.858,15.870,15.882,15.894,15.906,15.918,15.930,...
        15.942,15.954,15.966,15.978,15.990,16.002,16.014,16.026,16.038,16.050,...
        16.062,16.074,16.086,16.098,16.110,16.122,16.134,16.146,16.158,16.170,...
        16.182,16.194,16.205,16.217,16.229,16.241,16.253,16.265,16.277,16.289,...
        16.301,16.313,16.325,16.337,16.349,16.361,16.373,16.385,16.396,16.408,...
        16.420,16.432,16.444,16.456,16.468,16.480,16.492,16.504,16.516,16.527,...
        16.539,16.551,16.563,16.575,16.587,16.599,16.611,16.623,16.634,16.646,...
        16.658,16.670,16.682,16.694,16.706,16.718,16.729,16.741,16.753,16.765,...
        16.777,16.789,16.801,16.812,16.824,16.836,16.848,16.860,16.872,16.883,...
        16.895,16.907,16.919,16.931,16.943,16.954,16.966,16.978,16.990,17.002,...
        17.013,17.025,17.037,17.049,17.061,17.072,17.084,17.096,17.108,17.120,...
        17.131,17.143,17.155,17.167,17.178,17.190,17.202,17.214,17.225,17.237,...
        17.249,17.261,17.272,17.284,17.296,17.308,17.319,17.331,17.343,17.355,...
        17.366,17.378,17.390,17.401,17.413,17.425,17.437,17.448,17.460,17.472,...
        17.483,17.495,17.507,17.518,17.530,17.542,17.553,17.565,17.577,17.588,...
        17.600,17.612,17.623,17.635,17.647,17.658,17.670,17.682,17.693,17.705,...
        17.717,17.728,17.740,17.751,17.763,17.775,17.786,17.798,17.809,17.821,...
        17.832,17.844,17.855,17.867,17.878,17.890,17.901,17.913,17.924,17.936,...
        17.947,17.959,17.970,17.982,17.993,18.004,18.016,18.027,18.039,18.050,...
        18.061,18.073,18.084,18.095,18.107,18.118,18.129,18.140,18.152,18.163,...
        18.174,18.185,18.196,18.208,18.219,18.230,18.241,18.252,18.263,18.274,...
        18.285,18.297,18.308,18.319,18.330,18.341,18.352,18.362,18.373,18.384,...
        18.395,18.406,18.417,18.428,18.439,18.449,18.460,18.471,18.482,18.493,...
        18.503,18.514,18.525,18.535,18.546,18.557,18.567,18.578,18.588,18.599,...
        18.609,18.620,18.630,18.641,18.651,18.661,18.672,18.682,18.693];
        X=t;
        Y=U;
        a=7;
    case "TCT" then;
        //Temperatur t[°C]
        t=[-270:1:400];
        //Spannung U[mV]
        U=[-6.258,-6.256,-6.255,-6.253,-6.251,-6.248,-6.245,-6.242,-6.239,-6.236,-6.232,...
        -6.228,-6.223,-6.219,-6.214,-6.209,-6.204,-6.198,-6.193,-6.187,-6.180,...
        -6.174,-6.167,-6.160,-6.153,-6.146,-6.138,-6.130,-6.122,-6.114,-6.105,...
        -6.096,-6.087,-6.078,-6.068,-6.059,-6.049,-6.038,-6.028,-6.017,-6.007,...
        -5.996,-5.985,-5.973,-5.962,-5.950,-5.938,-5.926,-5.914,-5.901,-5.888,...
        -5.876,-5.863,-5.850,-5.836,-5.823,-5.809,-5.795,-5.782,-5.767,-5.753,...
        -5.739,-5.724,-5.710,-5.695,-5.680,-5.665,-5.650,-5.634,-5.619,-5.603,...
        -5.587,-5.571,-5.555,-5.539,-5.523,-5.506,-5.489,-5.473,-5.456,-5.439,...
        -5.421,-5.404,-5.387,-5.369,-5.351,-5.334,-5.316,-5.297,-5.279,-5.261,...
        -5.242,-5.224,-5.205,-5.186,-5.167,-5.148,-5.128,-5.109,-5.089,-5.070,...
        -5.050,-5.030,-5.010,-4.989,-4.969,-4.949,-4.928,-4.907,-4.886,-4.865,...
        -4.844,-4.823,-4.802,-4.780,-4.759,-4.737,-4.715,-4.693,-4.671,-4.648,...
        -4.626,-4.604,-4.581,-4.558,-4.535,-4.512,-4.489,-4.466,-4.443,-4.419,...
        -4.395,-4.372,-4.348,-4.324,-4.300,-4.275,-4.251,-4.226,-4.202,-4.177,...
        -4.152,-4.127,-4.102,-4.077,-4.052,-4.026,-4.000,-3.975,-3.949,-3.923,...
        -3.897,-3.871,-3.844,-3.818,-3.791,-3.765,-3.738,-3.711,-3.684,-3.657,...
        -3.629,-3.602,-3.574,-3.547,-3.519,-3.491,-3.463,-3.435,-3.407,-3.379,...
        -3.350,-3.322,-3.293,-3.264,-3.235,-3.206,-3.177,-3.148,-3.118,-3.089,...
        -3.059,-3.030,-3.000,-2.970,-2.940,-2.910,-2.879,-2.849,-2.818,-2.788,...
        -2.757,-2.726,-2.695,-2.664,-2.633,-2.602,-2.571,-2.539,-2.507,-2.476,...
        -2.444,-2.412,-2.380,-2.348,-2.316,-2.283,-2.251,-2.218,-2.186,-2.153,...
        -2.120,-2.087,-2.054,-2.021,-1.987,-1.954,-1.920,-1.887,-1.853,-1.819,...
        -1.785,-1.751,-1.717,-1.683,-1.648,-1.614,-1.579,-1.545,-1.510,-1.475,...
        -1.440,-1.405,-1.370,-1.335,-1.299,-1.264,-1.228,-1.192,-1.157,-1.121,...
        -1.085,-1.049,-1.013,-0.976,-0.940,-0.904,-0.867,-0.830,-0.794,-0.757,...
        -0.720,-0.683,-0.646,-0.608,-0.571,-0.534,-0.496,-0.459,-0.421,-0.383,...
        -0.345,-0.307,-0.269,-0.231,-0.193,-0.154,-0.116,-0.077,-0.039,...
        0.000,0.039,0.078,0.117,0.156,0.195,0.234,0.273,0.312,0.352,...
        0.391,0.431,0.470,0.510,0.549,0.589,0.629,0.669,0.709,0.749,...
        0.790,0.830,0.870,0.911,0.951,0.992,1.033,1.074,1.114,1.155,...
        1.196,1.238,1.279,1.320,1.362,1.403,1.445,1.486,1.528,1.570,...
        1.612,1.654,1.696,1.738,1.780,1.823,1.865,1.908,1.950,1.993,...
        2.036,2.079,2.122,2.165,2.208,2.251,2.294,2.338,2.381,2.425,...
        2.468,2.512,2.556,2.600,2.643,2.687,2.732,2.776,2.820,2.864,...
        2.909,2.953,2.998,3.043,3.087,3.132,3.177,3.222,3.267,3.312,...
        3.358,3.403,3.448,3.494,3.539,3.585,3.631,3.677,3.722,3.768,...
        3.814,3.860,3.907,3.953,3.999,4.046,4.092,4.138,4.185,4.232,...
        4.279,4.325,4.372,4.419,4.466,4.513,4.561,4.608,4.655,4.702,...
        4.750,4.798,4.845,4.893,4.941,4.988,5.036,5.084,5.132,5.180,...
        5.228,5.277,5.325,5.373,5.422,5.470,5.519,5.567,5.616,5.665,...
        5.714,5.763,5.812,5.861,5.910,5.959,6.008,6.057,6.107,6.156,...
        6.206,6.255,6.305,6.355,6.404,6.454,6.504,6.554,6.604,6.654,...
        6.704,6.754,6.805,6.855,6.905,6.956,7.006,7.057,7.107,7.158,...
        7.209,7.260,7.310,7.361,7.412,7.463,7.515,7.566,7.617,7.668,...
        7.720,7.771,7.823,7.874,7.926,7.977,8.029,8.081,8.133,8.185,...
        8.237,8.289,8.341,8.393,8.445,8.497,8.550,8.602,8.654,8.707,...
        8.759,8.812,8.865,8.917,8.970,9.023,9.076,9.129,9.182,9.235,...
        9.288,9.341,9.395,9.448,9.501,9.555,9.608,9.662,9.715,9.769,...
        9.822,9.876,9.930,9.984,10.038,10.092,10.146,10.200,10.254,10.308,...
        10.362,10.417,10.471,10.525,10.580,10.634,10.689,10.743,10.798,10.853,...
        10.907,10.962,11.017,11.072,11.127,11.182,11.237,11.292,11.347,11.403,...
        11.458,11.513,11.569,11.624,11.680,11.735,11.791,11.846,11.902,11.958,...
        12.013,12.069,12.125,12.181,12.237,12.293,12.349,12.405,12.461,12.518,...
        12.574,12.630,12.687,12.743,12.799,12.856,12.912,12.969,13.026,13.082,...
        13.139,13.196,13.253,13.310,13.366,13.423,13.480,13.537,13.595,13.652,...
        13.709,13.766,13.823,13.881,13.938,13.995,14.053,14.110,14.168,14.226,...
        14.283,14.341,14.399,14.456,14.514,14.572,14.630,14.688,14.746,14.804,...
        14.862,14.920,14.978,15.036,15.095,15.153,15.211,15.270,15.328,15.386,...
        15.445,15.503,15.562,15.621,15.679,15.738,15.797,15.856,15.914,15.973,...
        16.032,16.091,16.150,16.209,16.268,16.327,16.387,16.446,16.505,16.564,...
        16.624,16.683,16.742,16.802,16.861,16.921,16.980,17.040,17.100,17.159,...
        17.219,17.279,17.339,17.399,17.458,17.518,17.578,17.638,17.698,17.759,...
        17.819,17.879,17.939,17.999,18.060,18.120,18.180,18.241,18.301,18.362,...
        18.422,18.483,18.543,18.604,18.665,18.725,18.786,18.847,18.908,18.969,...
        19.030,19.091,19.152,19.213,19.274,19.335,19.396,19.457,19.518,19.579,...
        19.641,19.702,19.763,19.825,19.886,19.947,20.009,20.070,20.132,20.193,...
        20.255,20.317,20.378,20.440,20.502,20.563,20.625,20.687,20.748,20.810,20.872];
        X=t;
        Y=U;
        a=8;
    case "PT100" then;
        //Temperatur t[°C]
        t=[-200:1:850];
        //Resistance R[Ohm]
        R=[18.52,18.95,19.38,19.82,20.25,20.68,21.11,21.54,21.97,22.40,...
        22.83,23.25,23.68,24.11,24.54,24.97,25.39,25.82,26.24,26.67,...
        27.10,27.52,27.95,28.37,28.80,29.22,29.64,30.07,30.49,30.91,...
        31.34,31.76,32.18,32.60,33.02,33.44,33.86,34.28,34.70,35.12,...
        35.54,35.96,36.38,36.80,37.22,37.64,38.05,38.47,38.89,39.31,...
        39.72,40.14,40.56,40.97,41.39,41.80,42.22,42.63,43.05,43.46,...
        43.88,44.29,44.70,45.12,45.53,45.94,46.36,46.77,47.18,47.59,...
        48.00,48.42,48.83,49.24,49.65,50.06,50.47,50.88,51.29,51.70,...
        52.11,52.52,52.93,53.34,53.75,54.15,54.56,54.97,55.38,55.79,...
        56.19,56.60,57.01,57.41,57.82,58.23,58.63,59.04,59.44,59.85,...
        60.26,60.66,61.07,61.47,61.88,62.28,62.68,63.09,63.49,63.90,...
        64.30,64.70,65.11,65.51,65.91,66.31,66.72,67.12,67.52,67.92,...
        68.33,68.73,69.13,69.53,69.93,70.33,70.73,71.13,71.53,71.93,...
        72.33,72.73,73.13,73.53,73.93,74.33,74.73,75.13,75.53,75.93,...
        76.33,76.73,77.12,77.52,77.92,78.32,78.72,79.11,79.51,79.91,...
        80.31,80.70,81.10,81.50,81.89,82.29,82.69,83.08,83.48,83.87,...
        84.27,84.67,85.06,85.46,85.85,86.25,86.64,87.04,87.43,87.83,...
        88.22,88.62,89.01,89.40,89.80,90.19,90.59,90.98,91.37,91.77,...
        92.16,92.55,92.95,93.34,93.73,94.12,94.52,94.91,95.30,95.69,...
        96.09,96.48,96.87,97.26,97.65,98.04,98.44,98.83,99.22,99.61,...
        100.00,100.39,100.78,101.17,101.56,101.95,102.34,102.73,103.12,103.51,...
        103.90,104.29,104.68,105.07,105.46,105.85,106.24,106.63,107.02,107.40,...
        107.79,108.18,108.57,108.96,109.35,109.73,110.12,110.51,110.90,111.29,...
        111.67,112.06,112.45,112.83,113.22,113.61,114.00,114.38,114.77,115.15,...
        115.54,115.93,116.31,116.70,117.08,117.47,117.86,118.24,118.63,119.01,...
        119.40,119.78,120.17,120.55,120.94,121.32,121.71,122.09,122.47,122.86,...
        123.24,123.63,124.01,124.39,124.78,125.16,125.54,125.93,126.31,126.69,...
        127.08,127.46,127.84,128.22,128.61,128.99,129.37,129.75,130.13,130.52,...
        130.90,131.28,131.66,132.04,132.42,132.80,133.18,133.57,133.95,134.33,...
        134.71,135.09,135.47,135.85,136.23,136.61,136.99,137.37,137.75,138.13,...
        138.51,138.88,139.26,139.64,140.02,140.40,140.78,141.16,141.54,141.91,...
        142.29,142.67,143.05,143.43,143.80,144.18,144.56,144.94,145.31,145.69,...
        146.07,146.44,146.82,147.20,147.57,147.95,148.33,148.70,149.08,149.46,...
        149.83,150.21,150.58,150.96,151.33,151.71,152.08,152.46,152.83,153.21,...
        153.58,153.96,154.33,154.71,155.08,155.46,155.83,156.20,156.58,156.95,...
        157.33,157.70,158.07,158.45,158.82,159.19,159.56,159.94,160.31,160.68,...
        161.05,161.43,161.80,162.17,162.54,162.91,163.29,163.66,164.03,164.40,...
        164.77,165.14,165.51,165.89,166.26,166.63,167.00,167.37,167.74,168.11,...
        168.48,168.85,169.22,169.59,169.96,170.33,170.70,171.07,171.43,171.80,...
        172.17,172.54,172.91,173.28,173.65,174.02,174.38,174.75,175.12,175.49,...
        175.86,176.22,176.59,176.96,177.33,177.69,178.06,178.43,178.79,179.16,...
        179.53,179.89,180.26,180.63,180.99,181.36,181.72,182.09,182.46,182.82,...
        183.19,183.55,183.92,184.28,184.65,185.01,185.38,185.74,186.11,186.47,...
        186.84,187.20,187.56,187.93,188.29,188.66,189.02,189.38,189.75,190.11,...
        190.47,190.84,191.20,191.56,191.92,192.29,192.65,193.01,193.37,193.74,...
        194.10,194.46,194.82,195.18,195.55,195.91,196.27,196.63,196.99,197.35,...
        197.71,198.07,198.43,198.79,199.15,199.51,199.87,200.23,200.59,200.95,...
        201.31,201.67,202.03,202.39,202.75,203.11,203.47,203.83,204.19,204.55,...
        204.90,205.26,205.62,205.98,206.34,206.70,207.05,207.41,207.77,208.13,...
        208.48,208.84,209.20,209.56,209.91,210.27,210.63,210.98,211.34,211.70,...
        212.05,212.41,212.76,213.12,213.48,213.83,214.19,214.54,214.90,215.25,...
        215.61,215.96,216.32,216.67,217.03,217.38,217.74,218.09,218.44,218.80,...
        219.15,219.51,219.86,220.21,220.57,220.92,221.27,221.63,221.98,222.33,...
        222.68,223.04,223.39,223.74,224.09,224.45,224.80,225.15,225.50,225.85,...
        226.21,226.56,226.91,227.26,227.61,227.96,228.31,228.66,229.02,229.37,...
        229.72,230.07,230.42,230.77,231.12,231.47,231.82,232.17,232.52,232.87,...
        233.21,233.56,233.91,234.26,234.61,234.96,235.31,235.66,236.00,236.35,...
        236.70,237.05,237.40,237.74,238.09,238.44,238.79,239.13,239.48,239.83,...
        240.18,240.52,240.87,241.22,241.56,241.91,242.26,242.60,242.95,243.29,...
        243.64,243.99,244.33,244.68,245.02,245.37,245.71,246.06,246.40,246.75,...
        247.09,247.44,247.78,248.13,248.47,248.81,249.16,249.50,249.85,250.19,...
        250.53,250.88,251.22,251.56,251.91,252.25,252.59,252.93,253.28,253.62,...
        253.96,254.30,254.65,254.99,255.33,255.67,256.01,256.35,256.70,257.04,...
        257.38,257.72,258.06,258.40,258.74,259.08,259.42,259.76,260.10,260.44,...
        260.78,261.12,261.46,261.80,262.14,262.48,262.82,263.16,263.50,263.84,...
        264.18,264.52,264.86,265.20,265.53,265.87,266.21,266.55,266.89,267.22,...
        267.56,267.90,268.24,268.57,268.91,269.25,269.59,269.92,270.26,270.60,...
        270.93,271.27,271.61,271.94,272.28,272.61,272.95,273.29,273.62,273.96,...
        274.29,274.63,274.96,275.30,275.63,275.97,276.30,276.64,276.97,277.31,...
        277.64,277.98,278.31,278.64,278.98,279.31,279.64,279.98,280.31,280.64,...
        280.98,281.31,281.64,281.98,282.31,282.64,282.97,283.31,283.64,283.97,...
        284.30,284.63,284.97,285.30,285.63,285.96,286.29,286.62,286.95,287.29,...
        287.62,287.95,288.28,288.61,288.94,289.27,289.60,289.93,290.26,290.59,...
        290.92,291.25,291.58,291.91,292.24,292.56,292.89,293.22,293.55,293.88,...
        294.21,294.54,294.86,295.19,295.52,295.85,296.18,296.50,296.83,297.16,...
        297.49,297.81,298.14,298.47,298.80,299.12,299.45,299.78,300.10,300.43,...
        300.75,301.08,301.41,301.73,302.06,302.38,302.71,303.03,303.36,303.69,...
        304.01,304.34,304.66,304.98,305.31,305.63,305.96,306.28,306.61,306.93,...
        307.25,307.58,307.90,308.23,308.55,308.87,309.20,309.52,309.84,310.16,...
        310.49,310.81,311.13,311.45,311.78,312.10,312.42,312.74,313.06,313.39,...
        313.71,314.03,314.35,314.67,314.99,315.31,315.64,315.96,316.28,316.60,...
        316.92,317.24,317.56,317.88,318.20,318.52,318.84,319.16,319.48,319.80,...
        320.12,320.43,320.75,321.07,321.39,321.71,322.03,322.35,322.67,322.98,...
        323.30,323.62,323.94,324.26,324.57,324.89,325.21,325.53,325.84,326.16,...
        326.48,326.79,327.11,327.43,327.74,328.06,328.38,328.69,329.01,329.32,...
        329.64,329.96,330.27,330.59,330.90,331.22,331.53,331.85,332.16,332.48,...
        332.79,333.11,333.42,333.74,334.05,334.36,334.68,334.99,335.31,335.62,...
        335.93,336.25,336.56,336.87,337.18,337.50,337.81,338.12,338.44,338.75,...
        339.06,339.37,339.69,340.00,340.31,340.62,340.93,341.24,341.56,341.87,...
        342.18,342.49,342.80,343.11,343.42,343.73,344.04,344.35,344.66,344.97,...
        345.28,345.59,345.90,346.21,346.52,346.83,347.14,347.45,347.76,348.07,...
        348.38,348.69,348.99,349.30,349.61,349.92,350.23,350.54,350.84,351.15,...
        351.46,351.77,352.08,352.38,352.69,353.00,353.30,353.61,353.92,354.22,...
        354.53,354.84,355.14,355.45,355.76,356.06,356.37,356.67,356.98,357.28,...
        357.59,357.90,358.20,358.51,358.81,359.12,359.42,359.72,360.03,360.33,...
        360.64,360.94,361.25,361.55,361.85,362.16,362.46,362.76,363.07,363.37,...
        363.67,363.98,364.28,364.58,364.89,365.19,365.49,365.79,366.10,366.40,...
        366.70,367.00,367.30,367.60,367.91,368.21,368.51,368.81,369.11,369.41,...
        369.71,370.01,370.31,370.61,370.91,371.21,371.51,371.81,372.11,372.41,...
        372.71,373.01,373.31,373.61,373.91,374.21,374.51,374.81,375.11,375.41,...
        375.70,376.00,376.30,376.60,376.90,377.19,377.49,377.79,378.09,378.39,...
        378.68,378.98,379.28,379.57,379.87,380.17,380.46,380.76,381.06,381.35,...
        381.65,381.95,382.24,382.54,382.83,383.13,383.42,383.72,384.01,384.31,...
        384.60,384.90,385.19,385.49,385.78,386.08,386.37,386.67,386.96,387.25,...
        387.55,387.84,388.14,388.43,388.72,389.02,389.31,389.60,389.90,390.19,390.48];
        X=t;
        Y=R;
        a=9;
    case "PT1000" then;
        //Temperatur t[°C]
        t=[-200:1:850];
        //Resistance R[Ohm]
        R=[185.2,189.5,193.8,198.2,202.5,206.8,211.1,215.4,219.7,224.0,...
        228.3,232.5,236.8,241.1,245.4,249.7,253.9,258.2,262.4,266.7,...
        271.0,275.2,279.5,283.7,288.0,292.2,296.4,300.7,304.9,309.1,...
        313.4,317.6,321.8,326.0,330.2,334.4,338.6,342.8,347.0,351.2,...
        355.4,359.6,363.8,368.0,372.2,376.4,380.5,384.7,388.9,393.1,...
        397.2,401.4,405.6,409.7,413.9,418.0,422.2,426.3,430.5,434.6,...
        438.8,442.9,447.0,451.2,455.3,459.4,463.6,467.7,471.8,475.9,...
        480.0,484.2,488.3,492.4,496.5,500.6,504.7,508.8,512.9,517.0,...
        521.1,525.2,529.3,533.4,537.5,541.5,545.6,549.7,553.8,557.9,...
        561.9,566.0,570.1,574.1,578.2,582.3,586.3,590.4,594.4,598.5,...
        602.6,606.6,610.7,614.7,618.8,622.8,626.8,630.9,634.9,639.0,...
        643.0,647.0,651.1,655.1,659.1,663.1,667.2,671.2,675.2,679.2,...
        683.3,687.3,691.3,695.3,699.3,703.3,707.3,711.3,715.3,719.3,...
        723.3,727.3,731.3,735.3,739.3,743.3,747.3,751.3,755.3,759.3,...
        763.3,767.3,771.2,775.2,779.2,783.2,787.2,791.1,795.1,799.1,...
        803.1,807.0,811.0,815.0,818.9,822.9,826.9,830.8,834.8,838.7,...
        842.7,846.7,850.6,854.6,858.5,862.5,866.4,870.4,874.3,878.3,...
        882.2,886.2,890.1,894.0,898.0,901.9,905.9,909.8,913.7,917.7,...
        921.6,925.5,929.5,933.4,937.3,941.2,945.2,949.1,953.0,956.9,...
        960.9,964.8,968.7,972.6,976.5,980.4,984.4,988.3,992.2,996.1,...
        1000.0,1003.9,1007.8,1011.7,1015.6,1019.5,1023.4,1027.3,1031.2,1035.1,...
        1039.0,1042.9,1046.8,1050.7,1054.6,1058.5,1062.4,1066.3,1070.2,1074.0,...
        1077.9,1081.8,1085.7,1089.6,1093.5,1097.3,1101.2,1105.1,1109.0,1112.9,...
        1116.7,1120.6,1124.5,1128.3,1132.2,1136.1,1140.0,1143.8,1147.7,1151.5,...
        1155.4,1159.3,1163.1,1167.0,1170.8,1174.7,1178.6,1182.4,1186.3,1190.1,...
        1194.0,1197.8,1201.7,1205.5,1209.4,1213.2,1217.1,1220.9,1224.7,1228.6,...
        1232.4,1236.3,1240.1,1243.9,1247.8,1251.6,1255.4,1259.3,1263.1,1266.9,...
        1270.8,1274.6,1278.4,1282.2,1286.1,1289.9,1293.7,1297.5,1301.3,1305.2,...
        1309.0,1312.8,1316.6,1320.4,1324.2,1328.0,1331.8,1335.7,1339.5,1343.3,...
        1347.1,1350.9,1354.7,1358.5,1362.3,1366.1,1369.9,1373.7,1377.5,1381.3,...
        1385.1,1388.8,1392.6,1396.4,1400.2,1404.0,1407.8,1411.6,1415.4,1419.1,...
        1422.9,1426.7,1430.5,1434.3,1438.0,1441.8,1445.6,1449.4,1453.1,1456.9,...
        1460.7,1464.4,1468.2,1472.0,1475.7,1479.5,1483.3,1487.0,1490.8,1494.6,...
        1498.3,1502.1,1505.8,1509.6,1513.3,1517.1,1520.8,1524.6,1528.3,1532.1,...
        1535.8,1539.6,1543.3,1547.1,1550.8,1554.6,1558.3,1562.0,1565.8,1569.5,...
        1573.3,1577.0,1580.7,1584.5,1588.2,1591.9,1595.6,1599.4,1603.1,1606.8,...
        1610.5,1614.3,1618.0,1621.7,1625.4,1629.1,1632.9,1636.6,1640.3,1644.0,...
        1647.7,1651.4,1655.1,1658.9,1662.6,1666.3,1670.0,1673.7,1677.4,1681.1,...
        1684.8,1688.5,1692.2,1695.9,1699.6,1703.3,1707.0,1710.7,1714.3,1718.0,...
        1721.7,1725.4,1729.1,1732.8,1736.5,1740.2,1743.8,1747.5,1751.2,1754.9,...
        1758.6,1762.2,1765.9,1769.6,1773.3,1776.9,1780.6,1784.3,1787.9,1791.6,...
        1795.3,1798.9,1802.6,1806.3,1809.9,1813.6,1817.2,1820.9,1824.6,1828.2,...
        1831.9,1835.5,1839.2,1842.8,1846.5,1850.1,1853.8,1857.4,1861.1,1864.7,...
        1868.4,1872.0,1875.6,1879.3,1882.9,1886.6,1890.2,1893.8,1897.5,1901.1,...
        1904.7,1908.4,1912.0,1915.6,1919.2,1922.9,1926.5,1930.1,1933.7,1937.4,...
        1941.0,1944.6,1948.2,1951.8,1955.5,1959.1,1962.7,1966.3,1969.9,1973.5,...
        1977.1,1980.7,1984.3,1987.9,1991.5,1995.1,1998.7,2002.3,2005.9,2009.5,...
        2013.1,2016.7,2020.3,2023.9,2027.5,2031.1,2034.7,2038.3,2041.9,2045.5,...
        2049.0,2052.6,2056.2,2059.8,2063.4,2067.0,2070.5,2074.1,2077.7,2081.3,...
        2084.8,2088.4,2092.0,2095.6,2099.1,2102.7,2106.3,2109.8,2113.4,2117.0,...
        2120.5,2124.1,2127.6,2131.2,2134.8,2138.3,2141.9,2145.4,2149.0,2152.5,...
        2156.1,2159.6,2163.2,2166.7,2170.3,2173.8,2177.4,2180.9,2184.4,2188.0,...
        2191.5,2195.1,2198.6,2202.1,2205.7,2209.2,2212.7,2216.3,2219.8,2223.3,...
        2226.8,2230.4,2233.9,2237.4,2240.9,2244.5,2248.0,2251.5,2255.0,2258.5,...
        2262.1,2265.6,2269.1,2272.6,2276.1,2279.6,2283.1,2286.6,2290.2,2293.7,...
        2297.2,2300.7,2304.2,2307.7,2311.2,2314.7,2318.2,2321.7,2325.2,2328.7,...
        2332.1,2335.6,2339.1,2342.6,2346.1,2349.6,2353.1,2356.6,2360.0,2363.5,...
        2367.0,2370.5,2374.0,2377.4,2380.9,2384.4,2387.9,2391.3,2394.8,2398.3,...
        2401.8,2405.2,2408.7,2412.2,2415.6,2419.1,2422.6,2426.0,2429.5,2432.9,...
        2436.4,2439.9,2443.3,2446.8,2450.2,2453.7,2457.1,2460.6,2464.0,2467.5,...
        2470.9,2474.4,2477.8,2481.3,2484.7,2488.1,2491.6,2495.0,2498.5,2501.9,...
        2505.3,2508.8,2512.2,2515.6,2519.1,2522.5,2525.9,2529.3,2532.8,2536.2,...
        2539.6,2543.0,2546.5,2549.9,2553.3,2556.7,2560.1,2563.5,2567.0,2570.4,...
        2573.8,2577.2,2580.6,2584.0,2587.4,2590.8,2594.2,2597.6,2601.0,2604.4,...
        2607.8,2611.2,2614.6,2618.0,2621.4,2624.8,2628.2,2631.6,2635.0,2638.4,...
        2641.8,2645.2,2648.6,2652.0,2655.3,2658.7,2662.1,2665.5,2668.9,2672.2,...
        2675.6,2679.0,2682.4,2685.7,2689.1,2692.5,2695.9,2699.2,2702.6,2706.0,...
        2709.3,2712.7,2716.1,2719.4,2722.8,2726.1,2729.5,2732.9,2736.2,2739.6,...
        2742.9,2746.3,2749.6,2753.0,2756.3,2759.7,2763.0,2766.4,2769.7,2773.1,...
        2776.4,2779.8,2783.1,2786.4,2789.8,2793.1,2796.4,2799.8,2803.1,2806.4,...
        2809.8,2813.1,2816.4,2819.8,2823.1,2826.4,2829.7,2833.1,2836.4,2839.7,...
        2843.0,2846.3,2849.7,2853.0,2856.3,2859.6,2862.9,2866.2,2869.5,2872.9,...
        2876.2,2879.5,2882.8,2886.1,2889.4,2892.7,2896.0,2899.3,2902.6,2905.9,...
        2909.2,2912.5,2915.8,2919.1,2922.4,2925.6,2928.9,2932.2,2935.5,2938.8,...
        2942.1,2945.4,2948.6,2951.9,2955.2,2958.5,2961.8,2965.0,2968.3,2971.6,...
        2974.9,2978.1,2981.4,2984.7,2988.0,2991.2,2994.5,2997.8,3001.0,3004.3,...
        3007.5,3010.8,3014.1,3017.3,3020.6,3023.8,3027.1,3030.3,3033.6,3036.9,...
        3040.1,3043.4,3046.6,3049.8,3053.1,3056.3,3059.6,3062.8,3066.1,3069.3,...
        3072.5,3075.8,3079.0,3082.3,3085.5,3088.7,3092.0,3095.2,3098.4,3101.6,...
        3104.9,3108.1,3111.3,3114.5,3117.8,3121.0,3124.2,3127.4,3130.6,3133.9,...
        3137.1,3140.3,3143.5,3146.7,3149.9,3153.1,3156.4,3159.6,3162.8,3166.0,...
        3169.2,3172.4,3175.6,3178.8,3182.0,3185.2,3188.4,3191.6,3194.8,3198.0,...
        3201.2,3204.3,3207.5,3210.7,3213.9,3217.1,3220.3,3223.5,3226.7,3229.8,...
        3233.0,3236.2,3239.4,3242.6,3245.7,3248.9,3252.1,3255.3,3258.4,3261.6,...
        3264.8,3267.9,3271.1,3274.3,3277.4,3280.6,3283.8,3286.9,3290.1,3293.2,...
        3296.4,3299.6,3302.7,3305.9,3309.0,3312.2,3315.3,3318.5,3321.6,3324.8,...
        3327.9,3331.1,3334.2,3337.4,3340.5,3343.6,3346.8,3349.9,3353.1,3356.2,...
        3359.3,3362.5,3365.6,3368.7,3371.8,3375.0,3378.1,3381.2,3384.4,3387.5,...
        3390.6,3393.7,3396.9,3400.0,3403.1,3406.2,3409.3,3412.4,3415.6,3418.7,...
        3421.8,3424.9,3428.0,3431.1,3434.2,3437.3,3440.4,3443.5,3446.6,3449.7,...
        3452.8,3455.9,3459.0,3462.1,3465.2,3468.3,3471.4,3474.5,3477.6,3480.7,...
        3483.8,3486.9,3489.9,3493.0,3496.1,3499.2,3502.3,3505.4,3508.4,3511.5,...
        3514.6,3517.7,3520.8,3523.8,3526.9,3530.0,3533.0,3536.1,3539.2,3542.2,...
        3545.3,3548.4,3551.4,3554.5,3557.6,3560.6,3563.7,3566.7,3569.8,3572.8,...
        3575.9,3579.0,3582.0,3585.1,3588.1,3591.2,3594.2,3597.2,3600.3,3603.3,...
        3606.4,3609.4,3612.5,3615.5,3618.5,3621.6,3624.6,3627.6,3630.7,3633.7,...
        3636.7,3639.8,3642.8,3645.8,3648.9,3651.9,3654.9,3657.9,3661.0,3664.0,...
        3667.0,3670.0,3673.0,3676.0,3679.1,3682.1,3685.1,3688.1,3691.1,3694.1,...
        3697.1,3700.1,3703.1,3706.1,3709.1,3712.1,3715.1,3718.1,3721.1,3724.1,...
        3727.1,3730.1,3733.1,3736.1,3739.1,3742.1,3745.1,3748.1,3751.1,3754.1,...
        3757.0,3760.0,3763.0,3766.0,3769.0,3771.9,3774.9,3777.9,3780.9,3783.9,...
        3786.8,3789.8,3792.8,3795.7,3798.7,3801.7,3804.6,3807.6,3810.6,3813.5,...
        3816.5,3819.5,3822.4,3825.4,3828.3,3831.3,3834.2,3837.2,3840.1,3843.1,...
        3846.0,3849.0,3851.9,3854.9,3857.8,3860.8,3863.7,3866.7,3869.6,3872.5,...
        3875.5,3878.4,3881.4,3884.3,3887.2,3890.2,3893.1,3896.0,3899.0,3901.9,3904.8];
        X=t;
        Y=R;
        a=10;
    case "NI100" then;
        //Temperatur t[°C]
        t=[-60:1:250];
        //Resistance R[Ohm]
        R=[69.520,69.987,70.456,70.926,71.397,71.870,72.344,72.820,73.297,73.775,...
        74.255,74.736,75.219,75.703,76.189,76.676,77.164,77.654,78.145,78.637,...
        79.131,79.626,80.123,80.621,81.121,81.621,82.123,82.627,83.132,83.638,...
        84.146,84.655,85.165,85.677,86.190,86.704,87.220,87.737,88.256,88.775,...
        89.296,89.819,90.343,90.868,91.394,91.922,92.451,92.982,93.514,94.047,...
        94.582,95.117,95.655,96.193,96.733,97.274,97.817,98.360,98.906,99.452,...
        100.000,100.549,101.100,101.651,102.205,102.759,103.315,103.872,104.431,104.990,...
        105.552,106.114,106.678,107.243,107.809,108.377,108.946,109.517,110.089,110.662,...
        111.236,111.812,112.390,112.968,113.548,114.129,114.712,115.296,115.881,116.468,...
        117.056,117.645,118.236,118.828,119.421,120.016,120.613,121.210,121.809,122.409,...
        123.011,123.614,124.219,124.825,125.432,126.041,126.651,127.262,127.875,128.489,...
        129.105,129.722,130.341,130.961,131.582,132.205,132.829,133.455,134.082,134.710,...
        135.340,135.972,136.605,137.239,137.875,138.512,139.151,139.791,140.433,141.076,...
        141.721,142.367,143.015,143.664,144.315,144.967,145.621,146.276,146.933,147.592,...
        148.251,148.913,149.576,150.240,150.907,151.574,152.244,152.914,153.587,154.261,...
        154.937,155.614,156.293,156.973,157.655,158.339,159.024,159.711,160.400,161.090,...
        161.783,162.476,163.172,163.869,164.567,165.268,165.970,166.674,167.379,168.087,...
        168.796,169.507,170.219,170.933,171.649,172.367,173.087,173.808,174.532,175.257,...
        175.984,176.712,177.443,178.175,178.909,179.646,180.384,181.123,181.865,182.609,...
        183.354,184.102,184.851,185.602,186.356,187.111,187.868,188.627,189.388,190.151,...
        190.917,191.684,192.453,193.224,193.997,194.773,195.550,196.329,197.111,197.895,...
        198.680,199.468,200.258,201.050,201.844,202.641,203.440,204.240,205.043,205.848,...
        206.656,207.465,208.277,209.091,209.908,210.727,211.548,212.371,213.196,214.024,...
        214.855,215.687,216.522,217.359,218.199,219.041,219.886,220.733,221.582,222.434,...
        223.289,224.145,225.005,225.867,226.731,227.598,228.467,229.339,230.214,231.091,...
        231.971,232.854,233.739,234.626,235.517,236.410,237.306,238.204,239.105,240.009,...
        240.916,241.825,242.738,243.653,244.571,245.491,246.415,247.342,248.271,249.203,...
        250.138,251.076,252.017,252.961,253.908,254.858,255.811,256.767,257.726,258.688,...
        259.654,260.622,261.593,262.568,263.546,264.527,265.511,266.498,267.488,268.482,...
        269.479,270.479,271.483,272.490,273.500,274.514,275.531,276.551,277.575,278.602,...
        279.633,280.667,281.704,282.745,283.790,284.838,285.890,286.945,288.004,289.067,290.133];
        X=t;
        Y=R;
        a=11;
    case "NI1000" then;
        //Temperatur t[°C]
        t=[-60:1:250];
        //Resistance R[Ohm]
        R=[695.20,699.87,704.56,709.26,713.97,718.70,723.44,728.20,732.97,737.75,...
        742.55,747.36,752.19,757.03,761.89,766.76,771.64,776.54,781.45,786.37,...
        791.31,796.26,801.23,806.21,811.21,816.21,821.23,826.27,831.32,836.38,...
        841.46,846.55,851.65,856.77,861.90,867.04,872.20,877.37,882.56,887.75,...
        892.96,898.19,903.43,908.68,913.94,919.22,924.51,929.82,935.14,940.47,...
        945.82,951.17,956.55,961.93,967.33,972.74,978.17,983.60,989.06,994.52,...
        1000.00,1005.49,1011.00,1016.51,1022.05,1027.59,1033.15,1038.72,1044.31,1049.90,...
        1055.52,1061.14,1066.78,1072.43,1078.09,1083.77,1089.46,1095.17,1100.89,1106.62,...
        1112.36,1118.12,1123.90,1129.68,1135.48,1141.29,1147.12,1152.96,1158.81,1164.68,...
        1170.56,1176.45,1182.36,1188.28,1194.21,1200.16,1206.13,1212.10,1218.09,1224.09,...
        1230.11,1236.14,1242.19,1248.25,1254.32,1260.41,1266.51,1272.62,1278.75,1284.89,...
        1291.05,1297.22,1303.41,1309.61,1315.82,1322.05,1328.29,1334.55,1340.82,1347.10,...
        1353.40,1359.72,1366.05,1372.39,1378.75,1385.12,1391.51,1397.91,1404.33,1410.76,...
        1417.21,1423.67,1430.15,1436.64,1443.15,1449.67,1456.21,1462.76,1469.33,1475.92,...
        1482.51,1489.13,1495.76,1502.40,1509.07,1515.74,1522.44,1529.14,1535.87,1542.61,...
        1549.37,1556.14,1562.93,1569.73,1576.55,1583.39,1590.24,1597.11,1604.00,1610.90,...
        1617.83,1624.76,1631.72,1638.69,1645.67,1652.68,1659.70,1666.74,1673.79,1680.87,...
        1687.96,1695.07,1702.19,1709.33,1716.49,1723.67,1730.87,1738.08,1745.32,1752.57,...
        1759.84,1767.12,1774.43,1781.75,1789.09,1796.46,1803.84,1811.23,1818.65,1826.09,...
        1833.54,1841.02,1848.51,1856.02,1863.56,1871.11,1878.68,1886.27,1893.88,1901.51,...
        1909.17,1916.84,1924.53,1932.24,1939.97,1947.73,1955.50,1963.29,1971.11,1978.95,...
        1986.80,1994.68,2002.58,2010.50,2018.44,2026.41,2034.40,2042.40,2050.43,2058.48,...
        2066.56,2074.65,2082.77,2090.91,2099.08,2107.27,2115.48,2123.71,2131.96,2140.24,...
        2148.55,2156.87,2165.22,2173.59,2181.99,2190.41,2198.86,2207.33,2215.82,2224.34,...
        2232.89,2241.45,2250.05,2258.67,2267.31,2275.98,2284.67,2293.39,2302.14,2310.91,...
        2319.71,2328.54,2337.39,2346.26,2355.17,2364.10,2373.06,2382.04,2391.05,2400.09,...
        2409.16,2418.25,2427.38,2436.53,2445.71,2454.91,2464.15,2473.42,2482.71,2492.03,...
        2501.38,2510.76,2520.17,2529.61,2539.08,2548.58,2558.11,2567.67,2577.26,2586.88,...
        2596.54,2606.22,2615.93,2625.68,2635.46,2645.27,2655.11,2664.98,2674.88,2684.82,...
        2694.79,2704.79,2714.83,2724.90,2735.00,2745.14,2755.31,2765.51,2775.75,2786.02,...
        2796.33,2806.67,2817.04,2827.45,2837.90,2848.38,2858.90,2869.45,2880.04,2890.67,2901.33];
        X=t;
        Y=R;
        a=12;
    case "TK5000" then;
        //Temperatur t[°C]
        t=[-50:1:200,202:2:698];
        //Resistance R[Ohm]
        R=[790.880,794.840,798.800,802.780,806.760,810.750,814.750,818.760,822.780,826.800,...
        830.840,834.880,838.940,843.000,847.070,851.150,855.240,859.340,863.450,867.570,...
        871.690,875.830,879.980,884.130,888.300,892.470,896.650,900.850,905.050,909.260,...
        913.480,917.720,921.960,926.210,930.470,934.740,939.020,943.310,947.610,951.920,...
        956.240,960.570,964.910,969.260,973.620,977.990,982.370,986.770,991.170,995.580,...
        1000.000,1004.430,1008.870,1013.330,1017.790,1022.260,1026.750,1031.240,1035.750,...
        1040.270,1044.790,1049.330,1053.880,1058.440,1063.010,1067.590,1072.180,1076.780,...
        1081.390,1086.020,1090.650,1095.300,1099.960,1104.620,1109.300,1113.990,1118.700,...
        1123.410,1128.130,1132.870,1137.620,1142.370,1147.140,1151.920,1156.720,1161.520,...
        1166.340,1171.160,1176.000,1180.850,1185.710,1190.590,1195.470,1200.370,1205.280,...
        1210.200,1215.130,1220.070,1225.030,1230.000,1234.980,1239.970,1244.970,1249.990,...
        1255.020,1260.060,1265.110,1270.180,1275.250,1280.340,1285.450,1290.560,1295.690,...
        1300.830,1305.980,1311.140,1316.320,1321.510,1326.710,1331.920,1337.150,1342.390,...
        1347.640,1352.910,1358.180,1363.470,1368.780,1374.090,1379.420,1384.770,1390.120,...
        1395.490,1400.870,1406.260,1411.670,1417.090,1422.530,1427.970,1433.430,1438.910,...
        1444.390,1449.900,1455.410,1460.940,1466.480,1472.030,1477.600,1483.180,1488.770,...
        1494.380,1500.010,1505.640,1511.290,1516.950,1522.630,1528.320,1534.030,1539.750,...
        1545.480,1551.220,1556.980,1562.760,1568.550,1574.350,1580.170,1586.000,1591.840,...
        1597.700,1603.580,1609.470,1615.370,1621.280,1627.220,1633.160,1639.120,1645.100,...
        1651.080,1657.090,1663.110,1669.140,1675.190,1681.250,1687.330,1693.420,1699.520,...
        1705.650,1711.780,1717.930,1724.100,1730.280,1736.480,1742.690,1748.910,1755.150,...
        1761.410,1767.680,1773.970,1780.270,1786.590,1792.920,1799.270,1805.630,1812.010,...
        1818.410,1824.820,1831.240,1837.680,1844.140,1850.610,1857.100,1863.600,1870.120,...
        1876.650,1883.200,1889.770,1896.350,1902.950,1909.560,1916.190,1922.840,1929.500,...
        1936.180,1942.870,1949.580,1956.310,1963.050,1969.810,1976.580,1983.370,1990.180,...
        1997.000,2003.840,2010.700,2017.570,2024.460,2031.370,2038.290,2045.230,2052.190,...
        2059.160,2066.150,2073.150,2080.170,2087.210,2094.270,2101.340,2108.430,2115.540,...
        2122.660,2129.800,2136.960,2151.330,2165.760,2180.260,2194.840,2209.480,2224.190,...
        2238.970,2253.820,2268.740,2283.730,2298.800,2313.930,2329.140,2344.410,2359.760,...
        2375.180,2390.680,2406.240,2421.880,2437.590,2453.380,2469.240,2485.170,2501.180,...
        2517.270,2533.420,2549.660,2565.960,2582.350,2598.810,2615.350,2631.960,2648.650,...
        2665.410,2682.260,2699.180,2716.180,2733.260,2750.410,2767.650,2784.960,2802.350,...
        2819.820,2837.380,2855.010,2872.720,2890.510,2908.390,2926.340,2944.380,2962.490,...
        2980.690,2998.970,3017.340,3035.780,3054.310,3072.920,3091.620,3110.400,3129.260,...
        3148.210,3167.240,3186.360,3205.560,3224.850,3244.220,3263.680,3283.230,3302.860,...
        3322.580,3342.380,3362.270,3382.250,3402.320,3422.480,3442.720,3463.050,3483.470,...
        3503.990,3524.580,3545.270,3566.050,3586.920,3607.880,3628.930,3650.080,3671.310,...
        3692.630,3714.050,3735.560,3757.160,3778.850,3800.640,3822.520,3844.490,3866.550,...
        3888.710,3910.970,3933.320,3955.760,3978.300,4000.930,4023.660,4046.490,4069.410,...
        4092.420,4115.540,4138.750,4162.060,4185.460,4208.970,4232.570,4256.270,4280.060,...
        4303.960,4327.950,4352.050,4376.240,4400.540,4424.930,4449.430,4474.020,4498.720,...
        4523.510,4548.410,4573.410,4598.520,4623.720,4649.030,4674.440,4699.950,4725.570,...
        4751.290,4777.110,4803.040,4829.070,4855.200,4881.450,4907.790,4934.250,4960.800,...
        4987.470,5014.240,5041.110,5068.100,5095.190,5122.390,5149.690,5177.100,5204.630,...
        5232.250,5259.990,5287.840,5315.800,5343.860,5372.040,5400.320,5428.720,5457.230,...
        5485.840,5514.570,5543.410,5572.360,5601.430,5630.600,5659.890,5689.290,5718.800,...
        5748.430,5778.170,5808.030,5837.990,5868.080,5898.270,5928.580,5959.010,5989.550,...
        6020.210,6050.980,6081.870,6112.880,6144.000,6175.240,6206.600,6238.080,6269.670,...
        6301.380,6333.210,6365.160,6397.220,6429.410,6461.710,6494.140,6526.680,6559.340,...
        6592.130,6625.040,6658.060,6691.210,6724.480,6757.870,6791.380,6825.020,6858.780,...
        6892.660,6926.660,6960.790,6995.040,7029.420,7063.920,7098.540,7133.290,7168.170,...
        7203.160,7238.290,7273.540,7308.920,7344.420,7380.050,7415.810,7451.690,7487.700,...
        7523.840,7560.110,7596.500,7633.020,7669.680,7706.460,7743.370,7780.410,7817.580,...
        7854.880,7892.310,7929.870,7967.560,8005.390,8043.340,8081.430,8119.640,8158.000,...
        8196.480,8235.090,8273.840,8312.730,8351.740,8390.890,8430.180,8469.590,8509.150];
        X=t;
        Y=R;
        a=13;
            case "NTC10K3A1" then;
        //Temperatur t[°C]
        t=[-40:1:125];
        //Resistance R[Ohm]
        R=[336098,314553,294524,275897,258563,242427,227398,213394,200339,188163,176803,...
        166198,156294,147042,138393,130306,122741,115661,109032,102824,97006,91553,86439,...
        81641,77138,72911,68940,65209,61703,58405,55304,52385,49638,47050,44613,42317,40151,...
        38110,36184,34366,32651,31031,29500,28054,26687,25395,24172,23016,21921,20885,19903,...
        18973,18092,17257,16465,15714,15001,14324,13682,13073,12493,11943,11420,10923,10450,...
        10000,9572,9165,8777,8408,8056,7721,7402,7097,6807,6530,6266,6014,5774,5544,5325,5116,...
        4916,4724,4542,4367,4200,4040,3887,3741,3601,3467,3339,3216,3098,2985,2877,2773,2674,...
        2579,2487,2399,2315,2234,2157,2082,2011,1942,1876,1813,1752,1693,1637,1582,1530,1480,...
        1432,1385,1341,1298,1256,1216,1178,1141,1105,1070,1037,1005,974,945,916,888,862,836,811,...
        787,764,741,720,699,678,659,640,622,604,587,571,555,539,524,510,496,482,469,457,444,432,...
        421,410,399,388,378,368,359,350,341];
        X=t;
        Y=R;
        a=14;
    else disp("False Input");
    end;
    b=['$Thermoelectric\ Voltage\ U\ [mV]$','$Thermoelectric\ Resistance\ R\ [Ohm]$'];
    c=['$TC\ Type\ B$','$TC\ Type\ E$','$TC\ Type\ J$','$TC\ Type\ K$','$TC\ Type\ N$','$TC\ Type\ R$','$TC\ Type\ S$','$TC\ Type\ T$','$RTD\ PT100$','$RTD\ PT1000$','$RTD\ NI100$','$RTD\ NI1000$','$RTD\ TK5000$','$NTC\ 10K3A1$'];
    if a<=8 then d=b(1);
        elseif a>8 then d=b(2);
    end;
    //Darstellung
    figure("figure_name",gettext("Temperaturkennlinien"),"Position",[50,50,500,500],"BackgroundColor",[1.0,1.0,1.0]);
    title('$Table\ for\ $'+c(a),'color','black','fontsize',4);
    plot2d(X,[Y],[5]);
    xgrid();
    xlabel('$Temperature\ t\ [^\circ C]$',"fontsize",3);
    ylabel(d,"fontsize",3);
    legends([c(a)],[5],opt="lr");
endfunction;

function [Y]=Polynoms(Kennlinie,X);
    select Kennlinie;
    case "TCB" then;
        t=X;
        //name: reference function on ITS-90
        //type: B
        //temperature units: °C
        //emf units: mV
        //range: 0.000 to 630.615°C
        C0=0.000000000000E+00;
        C1=-0.246508183460E-03;
        C2=0.590404211710E-05;
        C3=-0.132579316360E-08;
        C4=0.156682919010E-11;
        C5=-0.169445292400E-14;
        C6=0.629903470940E-18;
        //range: 630.615 to 1820.000°C
        C7=-0.389381686210E+01;
        C8=0.285717474700E-01;
        C9=-0.848851047850E-04;
        C10=0.157852801640E-06;
        C11=-0.168353448640E-09;
        C12=0.111097940130E-12;
        C13=-0.445154310330E-16;
        C14=0.989756408210E-20;
        C15=-0.937913302890E-24;
        if t>=0 & t<=630.615 then;
            U=C0+C1*t+C2*t^2+C3*t^3+C4*t^4+C5*t^5+C6*t^6;
        elseif t>630.615 & t<=1820.000 then;
            U=C7+C8*t+C9*t^2+C10*t^3+C11*t^4+C12*t^5+C13*t^6+C14*t^7+C15*t^8;
        else disp("Out of range");
        end;
        Y=U;
    case "INVTCB" then;
        U=X;
        //Inverse coefficients for type B:
        //Temperature range: 250 to 700°C
        //Voltage range: 0.291 to 2.431mV
        //Error range: -0.02 to 0.03
        D0=9.8423321E+01;
        D1=6.9971500E+02;
        D2=-8.4765304E+02;
        D3=1.0052644E+03;
        D4=-8.3345952E+02;
        D5=4.5508542E+02;
        D6=-1.5523037E+02;
        D7=2.9886750E+01;
        D8=-2.4742860E+00;
        //Temperature range: 700 to 1820°C
        //Voltage range: 2.431 to 13.820mV
        //Error range: -0.01 to 0.02
        D9=2.1315071E+02;
        D10=2.8510504E+02;
        D11=-5.2742887E+01;
        D12=9.9160804E+00;
        D13=-1.2965303E+00; 
        D14=1.1195870E-01;
        D15=-6.0625199E-03; 
        D16=1.8661696E-04;
        D17=-2.4878585E-06; 
        if U>=-0.291 & U<=2.431 then;
            t=D0+D1*U+D2*U^2+D3*U^3+D4*U^4+D5*U^5+D6*U^6+D7*U^7+D8*U^8;
        elseif U>2.431 & U<=13.820 then;
            t=D9+D10*U+D11*U^2+D12*U^3+D13*U^4+D14*U^5+D15*U^6+D16*U^7+D17*U^8;
        else disp("Out of range");
        end;
        Y=t;
    case "TCE" then;
        t=X;
        //name: reference function on ITS-90
        //type: E
        //temperature units: °C
        //emf units: mV
        //range: -270.000 to 0.000°C
        C0=0.000000000000E+00;
        C1=0.586655087080E-01;
        C2=0.454109771240E-04;
        C3=-0.779980486860E-06;
        C4=-0.258001608430E-07;
        C5=-0.594525830570E-09;
        C6=-0.932140586670E-11;
        C7=-0.102876055340E-12;
        C8=-0.803701236210E-15;
        C9=-0.439794973910E-17;
        C10=-0.164147763550E-19;
        C11=-0.396736195160E-22;
        C12=-0.558273287210E-25;
        C13=-0.346578420130E-28;
        //range: 0.000 to 1000.000°C
        C14=0.000000000000E+00;
        C15=0.586655087100E-01;
        C16=0.450322755820E-04;
        C17=0.289084072120E-07;
        C18=-0.330568966520E-09;
        C19=0.650244032700E-12;
        C20=-0.191974955040E-15;
        C21=-0.125366004970E-17;
        C22=0.214892175690E-20;
        C23=-0.143880417820E-23;
        C24=0.359608994810E-27;
        if t>=-270.000 & t<=0.000 then;
            U=C0+C1*t+C2*t^2+C3*t^3+C4*t^4+C5*t^5+C6*t^6+C7*t^7+C8*t^8+C9*t^9+C10*t^10+C11*t^11+C12*t^12+C13*t^13;
        elseif t>0.000 & t<=1000.000 then;
            U=C14+C15*t+C16*t^2+C17*t^3+C18*t^4+C19*t^5+C20*t^6+C21*t^7+C22*t^8+C23*t^9+C24*t^10;
        else disp("Out of range");
        end;
        Y=U;
    case "INVTCE" then;
        U=X;
        //Inverse coefficients for type E:
        //Temperature range: -200 to 0°C
        //Voltage range: -8.825 to 0.000mV
        //Error range: -0.01 to 0.03
        D0=0.0000000E+00;
        D1=1.6977288E+01;
        D2=-4.3514970E-01;
        D3=-1.5859697E-01;
        D4=-9.2502871E-02;
        D5=-2.6084314E-02;
        D6=-4.1360199E-03;
        D7=-3.4034030E-04;
        D8=-1.1564890E-05;
        D9=0.0000000E+00;
        //Temperature range: 0 to 1000°C
        //Voltage range: 0.000 to 76.373mV
        //Error range: -0.02 to 0.02
        D10=0.0000000E+00;
        D11=1.7057035E+01;
        D12=-2.3301759E-01;
        D13=6.5435585E-03;
        D14=-7.3562749E-05;
        D15=-1.7896001E-06;
        D16=8.4036165E-08;
        D17=-1.3735879E-09;
        D18=1.0629823E-11;
        D19=-3.2447087E-14;
        if U>=-8.825 & U<=0.000 then;
            t=D0+D1*U+D2*U^2+D3*U^3+D4*U^4+D5*U^5+D6*U^6+D7*U^7+D8*U^8+D9*U^9;
        elseif U>0.000 & U<=76.373 then;
            t=D10+D11*U+D12*U^2+D13*U^3+D14*U^4+D15*U^5+D16*U^6+D17*U^7+D18*U^8+D19*U^9;
        else disp("Out of range");
        end;
        Y=t;
    case "TCJ" then;
        t=X;
        //name: reference function on ITS-90
        //type: J
        //temperature units: °C
        //emf units: mV
        //range: -210.000 to 760.000°C
        C0=0.000000000000E+00;
        C1=0.503811878150E-01;
        C2=0.304758369300E-04;
        C3=-0.856810657200E-07;
        C4=0.132281952950E-09;
        C5=-0.170529583370E-12;
        C6=0.209480906970E-15;
        C7=-0.125383953360E-18;
        C8=0.156317256970E-22;
        //range: 760.000 to 1200.000°C
        C9=0.296456256810E+03;
        C10=-0.149761277860E+01;
        C11=0.317871039240E-02;
        C12=-0.318476867010E-05;
        C13=0.157208190040E-08;
        C14=-0.306913690560E-12;
        if t>=-210.000 & t<=760.000 then;
            E=C0+C1*t+C2*t^2+C3*t^3+C4*t^4+C5*t^5+C6*t^6+C7*t^7+C8*t^8;
        elseif t>760.000 & t<=1200.000 then;
            E=C9+C10*t+C11*t^2+C12*t^3+C13*t^4+C14*t^5;
        else disp("Out of range");
        end;
        Y=U;
    case "INVTCJ" then;
        U=X;
        //Inverse coefficients for type J:
        //Temperature range: -210 to 0°C
        //Voltage range: -8.095 to 0.000mV
        //Error range: -0.05 to 0.03
        D0=0.0000000E+00;
        D1=1.9528268E+01;
        D2=-1.2286185E+00;
        D3=-1.0752178E+00;
        D4=-5.9086933E-01;
        D5=-1.7256713E-01;
        D6=-2.8131513E-02;
        D7=-2.3963370E-03;
        D8=-8.3823321E-05;
        //Temperature range: 0 to 760°C
        //Voltage range: 0.000 to 42.919mV
        //Error range: -0.04 to 0.04
        D9=0.000000E+00;
        D10=1.978425E+01;
        D11=-2.001204E-01;
        D12=1.036969E-02;
        D13=-2.549687E-04;
        D14=3.585153E-06;
        D15=-5.344285E-08;
        D16=5.099890E-10;
        D17=0.000000E+00;
        //Temperature range: 760 to 1200°C
        //Voltage range: 42.919 to 69.553mV
        //Error range: -0.04 to 0.03
        D18=-3.11358187E+03;
        D19=3.00543684E+02;
        D20=-9.94773230E+00;
        D21=1.70276630E-01;
        D22=-1.43033468E-03;
        D23=4.73886084E-06;
        D24=0.00000000E+00;
        D25=0.00000000E+00;
        D26=0.00000000E+00;
        if U>=-8.095 & U<=0.000 then;
            t=D0+D1*U+D2*U^2+D3*U^3+D4*U^4+D5*U^5+D6*U^6+D7*U^7+D8*U^8;
        elseif U>0.000 & U<=42.919 then;
            t=D9+D10*U+D11*U^2+D12*U^3+D13*U^4+D14*U^5+D15*U^6+D16*U^7+D17*U^8;
        elseif U>42.919 & U<=69.553 then;
            t=D18+D19*U+D20*U^2+D21*U^3+D22*U^4+D23*U^5+D24*U^6+D25*U^7+D26*U^8;
        else disp("Out of range");
        end;
        Y=t;
    case "TCK" then;
        t=X;
        //name: reference function on ITS-90
        //type: K
        //temperature units: °C
        //emf units: mV
        //range: -270.000 to 0.000°C
        C0=0.000000000000E+00;
        C1=0.394501280250E-01;
        C2=0.236223735980E-04;
        C3=-0.328589067840E-06;
        C4=-0.499048287770E-08;
        C5=-0.675090591730E-10;
        C6=-0.574103274280E-12;
        C7=-0.310888728940E-14;
        C8=-0.104516093650E-16;
        C9=-0.198892668780E-19;
        C10=-0.163226974860E-22;
        //range: 0.000 to 1372.000°C
        C11=-0.176004136860E-01;
        C12=0.389212049750E-01;
        C13=0.185587700320E-04;
        C14=-0.994575928740E-07;
        C15=0.318409457190E-09;
        C16=-0.560728448890E-12;
        C17=0.560750590590E-15;
        C18=-0.320207200030E-18;
        C19=0.971511471520E-22;
        C20=-0.121047212750E-25;
        //exponential:
        A0=0.118597600000E+00;
        A1=-0.118343200000E-03;
        A2=0.126968600000E+03;
        if t>=-270.000 & t<=0.000 then;
            U=C0+C1*t+C2*t^2+C3*t^3+C4*t^4+C5*t^5+C6*t^6+C7*t^7+C8*t^8+C9*t^9+C10*t^10+A0*exp(A1*(t-A2)^2);
        elseif t>0.000 & t<=1372.000 then;
            U=C11+C12*t+C13*t^2+C14*t^3+C15*t^4+C16*t^5+C17*t^6+C18*t^7+C19*t^8+C20*t^9+A0*exp(A1*(t-A2)^2);
        else disp("Out of range");
        end;
        Y=U;
    case "INVTCK" then;
        U=X;
        //Inverse coefficients for type K:
        //Temperature range: -200 to 0°C
        //Voltage range: -5.891 to 0.000mV
        //Error range: -0.02 to 0.04
        D0=0.0000000E+00;
        D1=2.5173462E+01;
        D2=-1.1662878E+00;
        D3=-1.0833638E+00;
        D4=-8.9773540E-01;
        D5=-3.7342377E-01;
        D6=-8.6632643E-02;
        D7=-1.0450598E-02;
        D8=-5.1920577E-04;
        D9=0.0000000E+00;
        //Temperature range: 0 to 500°C
        //Voltage range: 0.000 to 20.644mV
        //Error range: -0.05 to 0.04
        D10=0.000000E+00
        D11=2.508355E+01
        D12=7.860106E-02
        D13=-2.503131E-01
        D14=8.315270E-02
        D15=-1.228034E-02
        D16=9.804036E-04
        D17=-4.413030E-05
        D18=1.057734E-06
        D19=-1.052755E-08
        //Temperature range: 500 to 1372°C
        //Voltage range: 20.644 to 54.886mV
        //Error range: -0.05 to 0.06
        D20=-1.318058E+02;
        D21=4.830222E+01;
        D22=-1.646031E+00;
        D23=5.464731E-02;
        D24=-9.650715E-04;
        D25=8.802193E-06;
        D26=-3.110810E-08;
        D27=0.000000E+00;
        D28=0.000000E+00;
        D29=0.000000E+00;
        if U>=-5.891 & U<=0.000 then;
            t=D0+D1*U+D2*U^2+D3*U^3+D4*U^4+D5*U^5+D6*U^6+D7*U^7+D8*U^8+D9*U^9;
        elseif U>0.000 & U<=20.644 then;
            t=D10+D11*U+D12*U^2+D13*U^3+D14*U^4+D15*U^5+D16*U^6+D17*U^7+D18*U^8+D19*U^9;
        elseif U>20.644 & U<=54.886 then;
            t=D20+D21*U+D22*U^2+D23*U^3+D24*U^4+D25*U^5+D26*U^6+D27*U^7+D28*U^8+D29*U^9;
        else disp("Out of range");
        end;
        Y=t;
    case "TCN" then;
        t=X;
        //name: reference function on ITS-90
        //type: N
        //temperature units: °C
        //emf units: mV
        //range: -270.000 to 0.000°C
        C0=0.000000000000E+00;
        C1=0.261591059620E-01;
        C2=0.109574842280E-04;
        C3=-0.938411115540E-07;
        C4=-0.464120397590E-10;
        C5=-0.263033577160E-11;
        C6=-0.226534380030E-13;
        C7=-0.760893007910E-16;
        C8=-0.934196678350E-19;
        //range: 0.000 t0 1300.000°C
        C9=0.000000000000E+00;
        C10=0.259293946010E-01;
        C11=0.157101418800E-04;
        C12=0.438256272370E-07;
        C13=-0.252611697940E-09;
        C14=0.643118193390E-12;
        C15=-0.100634715190E-14;
        C16=0.997453389920E-18;
        C17=-0.608632456070E-21;
        C18=0.208492293390E-24;
        C19=-0.306821961510E-28;
        if t>=-270.000 & t<=0.000 then;
            U=C0+C1*t+C2*t^2+C3*t^3+C4*t^4+C5*t^5+C6*t^6+C7*t^7+C8*t^8;
        elseif t>0.000 & t<=1300.000 then;
            U=C9+C10*t+C11*t^2+C12*t^3+C13*t^4+C14*t^5+C15*t^6+C16*t^7+C17*t^8+C18*t^9+C19*t^10;
        else disp("Out of range");
        end;
        Y=U;
    case "INVTCN" then;
        U=X;
        //Inverse coefficients for type N:
        //Temperature range: -200 to 0°C
        //Voltage range: -3.990 to 0.000mV
        //Error range: -0.02 to 0.03
        D0=0.0000000E+00;
        D1=3.8436847E+01;
        D2=1.1010485E+00;
        D3=5.2229312E+00;

        D4=7.2060525E+00;
        D5=5.8488586E+00;
        D6=2.7754916E+00;
        D7=7.7075166E-01;
        D8=1.1582665E-01;
        D9=7.3138868E-03;
        //Temperature range: 0 to 600°C
        //Voltage range: 0.000 to 20.613mV
        //Error range: -0.02 to 0.03
        D10=0.00000E+00;
        D11=3.86896E+01;
        D12=-1.08267E+00;
        D13=4.70205E-02;
        D14=-2.12169E-06;
        D15=-1.17272E-04;
        D16=5.39280E-06;
        D17=-7.98156E-08;
        D18=0.00000E+00;
        D19=0.00000E+00;
        //Temperature range: 600 to 1300°C
        //Voltage range: 20.613 to 47.513mV
        //Error range: -0.04 to 0.02
        D20=1.972485E+01;
        D21=3.300943E+01;
        D22=-3.915159E-01;
        D23=9.855391E-03;
        D24=-1.274371E-04;
        D25=7.767022E-07;
        D26=0.000000E+00;
        D27=0.000000E+00;
        D28=0.000000E+00;
        D29=0.000000E+00;
        if U>=-3.990 & U<=0.000 then;
            t=D0+D1*U+D2*U^2+D3*U^3+D4*U^4+D5*U^5+D6*U^6+D7*U^7+D8*U^8+D9*U^9;
        elseif U>0.000 & U<=20.613 then;
            t=D10+D11*U+D12*U^2+D13*U^3+D14*U^4+D15*U^5+D16*U^6+D17*U^7+D18*U^8+D19*U^9;
        elseif U>20.613 & U<=47.513 then;
            t=D20+D21*U+D22*U^2+D23*U^3+D24*U^4+D25*U^5+D26*U^6+D27*U^7+D28*U^8+D29*U^9;
        else disp("Out of range");
        end;
        Y=t;
    case "TCR" then;
        t=X;
        //name: reference function on ITS-90
        //type: R
        //temperature units: °C
        //emf units: mV
        //range: -50.000 to 1064.180°C
        C0=0.000000000000E+00;
        C1=0.528961729765E-02;
        C2=0.139166589782E-04;
        C3=-0.238855693017E-07;
        C4=0.356916001063E-10;
        C5=-0.462347666298E-13;
        C6=0.500777441034E-16;
        C7=-0.373105886191E-19;
        C8=0.157716482367E-22;
        C9=-0.281038625251E-26;
        //range: 1064.180 to 1664.500°C
        C10=0.295157925316E+01;
        C11=-0.252061251332E-02;
        C12=0.159564501865E-04;
        C13=-0.764085947576E-08;
        C14=0.205305291024E-11;
        C15=-0.293359668173E-15;
        //range: 1664.5 to 1768.1°C
        C16=0.152232118209E+03;
        C17=-0.268819888545E+00;
        C18=0.171280280471E-03;
        C19=-0.345895706453E-07;
        C20=-0.934633971046E-14;
        if t>=-50.000 & t<=1064.180 then;
            U=C0+C1*t+C2*t^2+C3*t^3+C4*t^4+C5*t^5+C6*t^6+C7*t^7+C8*t^8+C9*t^9;
        elseif t>1064.180 & t<=1664.500 then;
            U=C10+C11*t+C12*t^2+C13*t^3+C14*t^4+C15*t^5;
        elseif t>1664.500 & t<=1768.100 then;
            U=C16+C17*t+C18*t^2+C19*t^3+C20*t^4;
        else disp("Out of range");
        end;
        Y=U;
    case "INVTCR" then;
        U=t;
        //Inverse coefficients for type R:
        //Temperature range: -50 to 250°C
        //Voltage range: -0.226 to 1.923mV
        //Error range: -0.02 to 0.02
        D0=0.0000000E+00;
        D1=1.8891380E+02;
        D2=-9.3835290E+01;
        D3=1.3068619E+02;
        D4=-2.2703580E+02;
        D5=3.5145659E+02;
        D6=-3.8953900E+02;
        D7=2.8239471E+02;
        D8=-1.2607281E+02;
        D9=3.1353611E+01;
        D10=-3.3187769E+00;
        //Temperature range: 250 to 1200°C
        //Voltage range: 1.923 to 13.228mV
        //Error range: -0.005 to 0.005
        D11=1.334584505E+01;
        D12=1.472644573E+02;
        D13=-1.844024844E+01;
        D14=4.031129726E+00;
        D15=-6.249428360E-01;
        D16=6.468412046E-02;
        D17=-4.458750426E-03;
        D18=1.994710149E-04;
        D19=-5.313401790E-06;
        D20=6.481976217E-08;
        D21=0.000000000E+00;
        //Temperature range: 1064 to 1664.5°C
        //Voltage range: 11.361 to 19.739mV
        //Error range: -0.0005 to 0.001
        D22=-8.199599416E+01;
        D23=1.553962042E+02;
        D24=-8.342197663E+00;
        D25=4.279433549E-01;
        D26=-1.191577910E-02;
        D27=1.492290091E-04;
        D28=0.000000000E+00;
        D29=0.000000000E+00;
        D30=0.000000000E+00;
        D31=0.000000000E+00;
        D32=0.000000000E+00;
        //Temperature range: 1664.5 to 1768.1°C
        //Voltage range: 19.739 to 21.103mV
        //Error range: -0.001 to 0.002
        D33=3.406177836E+04;
        D34=-7.023729171E+03;
        D35=5.582903813E+02;
        D36=-1.952394635E+01;
        D37=2.560740231E-01;
        D38=0.000000000E+00;
        D39=0.000000000E+00;
        D40=0.000000000E+00;
        D41=0.000000000E+00;
        D42=0.000000000E+00;
        D43=0.000000000E+00;
        if U>=-0.226 & U<=1.923 then;
            t=D0+D1*U+D2*U^2+D3*U^3+D4*U^4+D5*U^5+D6*U^6+D7*U^7+D8*U^8+D9*U^9+D10*U^10;
        elseif U>1.923 & U<=13.228 then;
            t=D11+D12*U+D13*U^2+D14*U^3+D15*U^4+D16*U^5+D17*U^6+D18*U^7+D19*U^8+D20*U^9+D21*U^10;
        elseif U>11.361 & U<=19.739 then;
            t=D22+D23*U+D24*U^2+D25*U^3+D26*U^4+D27*U^5+D28*U^6+D29*U^7+D30*U^8+D31*U^9+D32*U^10;
        elseif U>19.739 & U<=21.103 then;
            t=D33+D34*U+D35*U^2+D36*U^3+D37*U^4+D38*U^5+D39*U^6+D40*U^7+D41*U^8+D42*U^9+D43*U^10;
        else disp("Out of range");
        end;
        Y=t;
    case "TCS" then;
        t=X;
        //name: reference function on ITS-90
        //type: S
        //temperature units: °C
        //emf units: mV
        //range: -50.000 to 1064.180°C
        C0=0.000000000000E+00;
        C1=0.540313308631E-02;
        C2=0.125934289740E-04;
        C3=-0.232477968689E-07;
        C4=0.322028823036E-10;
        C5=-0.331465196389E-13;
        C6=0.255744251786E-16;
        C7=-0.125068871393E-19;
        C8=0.271443176145E-23;
        //range: 1064.180 to 1664.500°C
        C9=0.132900444085E+01;
        C10=0.334509311344E-02;
        C11=0.654805192818E-05;
        C12=-0.164856259209E-08;
        C13=0.129989605174E-13;
        //range: 1664.5 to 1768.1°C
        C14=0.146628232636E+03;
        C15=-0.258430516752E+00;
        C16=0.163693574641E-03;
        C17=-0.330439046987E-07;
        C18=-0.943223690612E-14;
        if t>=-50.000 & t<=1064.180 then;
            U=C0+C1*t+C2*t^2+C3*t^3+C4*t^4+C5*t^5+C6*t^6+C7*t^7+C8*t^8;
        elseif t>1064.180 & t<=1664.500 then;
            U=C9+C10*t+C11*t^2+C12*t^3+C13*t^4;
        elseif t>1664.500 & t<=1768.100 then;
            U=C14+C15*t+C16*t^2+C17*t^3+C18*t^4;
        else disp("Out of range");
        end;
        Y=U;
    case "INVTCS" then;
        U=X;
        //Inverse coefficients for type S:
        //Temperature range: -50 to 250°C
        //Voltage range: -0.235 to 1.874mV
        //Error range: -0.02 to 0.02
        D0=0.00000000E+00;
        D1=1.84949460E+02;
        D2=-8.00504062E+01;
        D3=1.02237430E+02;
        D4=-1.52248592E+02;
        D5=1.88821343E+02;
        D6=-1.59085941E+02;
        D7=8.23027880E+01;
        D8=-2.34181944E+01;
        D9=2.79786260E+00;
        //Temperature range: 250 to 1200°C
        //Voltage range: 1.874 to 11.950mV
        //Error range: -0.01 to 0.01
        D10=1.291507177E+01;
        D11=1.466298863E+02;
        D12=-1.534713402E+01;
        D13=3.145945973E+00;
        D14=-4.163257839E-01;
        D15=3.187963771E-02;
        D16=-1.291637500E-03;
        D17=2.183475087E-05;
        D18=-1.447379511E-07;
        D19=8.211272125E-09;
        //Temperature range: 1064 to 1664.5°C
        //Voltage range: 10.332 to 17.536mV
        //Error range: -0.0002 to 0.0002
        D20=-8.087801117E+01;
        D21=1.621573104E+02;
        D22=-8.536869453E+00;
        D23=4.719686976E-01;
        D24=-1.441693666E-02;
        D25=2.081618890E-04;
        D26=0.000000000E+00;
        D27=0.000000000E+00;
        D28=0.000000000E+00;
        D29=0.000000000E+00;
        //Temperature range: 1664.5 to 1768.1°C
        //Voltage range: 17.536 to 18.693mV
        //Error range: -0.002 to 0.002
        D30=5.333875126E+04;
        D31=-1.235892298E+04;
        D32=1.092657613E+03;
        D33=-4.265693686E+01;
        D34=6.247205420E-01;
        D35=0.000000000E+00;
        D36=0.000000000E+00;
        D37=0.000000000E+00;
        D38=0.000000000E+00;
        D39=0.000000000E+00;
        if U>=-0.235 & U<=1.874 then;
            t=D0+D1*U+D2*U^2+D3*U^3+D4*U^4+D5*U^5+D6*U^6+D7*U^7+D8*U^8+D9*U^9;
        elseif U>1.874 & U<=11.950 then;
            t=D10+D11*U+D12*U^2+D13*U^3+D14*U^4+D15*U^5+D16*U^6+D17*U^7+D18*U^8+D19*U^9;
        elseif U>10.332 & U<=17.536 then;
            t=D20+D21*U+D22*U^2+D23*U^3+D24*U^4+D25*U^5+D26*U^6+D27*U^7+D28*U^8+D29*U^9;
        elseif U>17.536 & U<=18.693 then;
            t=D30+D31*U+D32*U^2+D33*U^3+D34*U^4+D35*U^5+D36*U^6+D37*U^7+D38*U^8+D39*U^9;
        else disp("Out of range");
        end;
        Y=t;
    case "TCT" then;
        t=X;
        //name: reference function on ITS-90
        //type: T
        //temperature units: °C
        //emf units: mV
        //range: -270.000 to 0.000°C
        C0=0.000000000000E+00;
        C1=0.387481063640E-01;
        C2=0.441944343470E-04;
        C3=0.118443231050E-06;
        C4=0.200329735540E-07;
        C5=0.901380195590E-09;
        C6=0.226511565930E-10;
        C7=0.360711542050E-12;
        C8=0.384939398830E-14;
        C9=0.282135219250E-16;
        C10=0.142515947790E-18;
        C11=0.487686622860E-21;
        C12=0.107955392700E-23;
        C13=0.139450270620E-26;
        C14=0.797951539270E-30;
        //range: 0.000 to 400.000°C
        C15=0.000000000000E+00;
        C16=0.387481063640E-01;
        C17=0.332922278800E-04;
        C18=0.206182434040E-06;
        C19=-0.218822568460E-08;
        C20=0.109968809280E-10;
        C21=-0.308157587720E-13;
        C22=0.454791352900E-16;
        C23=-0.275129016730E-19;
        if t>=-270.000 & t<=0.000 then;
            U=C0+C1*t+C2*t^2+C3*t^3+C4*t^4+C5*t^5+C6*t^6+C7*t^7+C8*t^8+C9*t^9+C10*t^10+C11*t^11+C12*t^12+C13*t^13+C14*t^14;
        elseif t>0.000 & t<=400.000 then;
            U=C15+C16*t+C17*t^2+C18*t^3+C19*t^4+C20*t^5+C21*t^6+C22*t^7+C23*t^8;
        else disp("Out of range");
        end;
        Y=U;
    case "INVTCT" then;
        U=X;
        //Inverse coefficients for type T:
        //Temperature range: -200 to 0°C
        //Voltage range: -5.603 to 0.000mV
        //Error range: -0.02 to 0.04
        D0=0.0000000E+00;
        D1=2.5949192E+01;
        D2=-2.1316967E-01;
        D3=7.9018692E-01;
        D4=4.2527777E-01;
        D5=1.3304473E-01;
        D6=2.0241446E-02;
        D7=1.2668171E-03;
        //Temperature range: 0 to 400°C
        //Voltage range: 0.000 to 20.872mV
        //Error range: -0.03 to 0.03
        D8=0.000000E+00;
        D9=2.592800E+01;
        D10=-7.602961E-01;
        D11=4.637791E-02;
        D12=-2.165394E-03;
        D13=6.048144E-05;
        D14=-7.293422E-07;
        D15=0.000000E+00;
        if U>=-5.603 & U<=0.000 then;
            t=D0+D1*U+D2*U^2+D3*U^3+D4*U^4+D5*U^5+D6*U^6+D7*U^7;
        elseif U>0.000 & U<=20.872 then;
            t=D8+D9*U+D10*U^2+D11*U^3+D12*U^4+D13*U^5+D14*U^6+D15*U^7;
        else disp("Out of range");
        end;
        Y=t;
    case "PT100" then;
        t=X;
        //name: Resistance thermometer PT100 Platinum
        //type: 404
        //temperature units: °C
        //emf units: Ohm
        //range: -200.0 to 0.0°C
        A1=3.9083E-3;
        B1=-5.775E-7;
        C1=-4.183E-12;
        //range: 0.0 to 850.0°C
        A2=3.9083E-3;
        B2=-5.775E-7;
        //Resistance at 0°C
        R0=100;
        if t>=-200.0 & t<=0.0 then;
            R=R0*(1+A1*t+B1*t^2+C1*(t-100)*t^3);
        elseif t>0.0 & t<=850.0 then;
            R=R0*(1+A2*t+B2*t^2);
        else disp("Out of range");
        end;
        Y=R;
    case "INVPT100" then;
        R=X;
        //Inverse coefficients for PT100 Platinum
        //Temperature range: -200.0 to 0.0°C
        //Ohm range: 18.52 to 100Ohm
        A2=-5.67E-6;
        B2=2.498437E-3;
        C2=2.22764;
        D2=-242.078;
        //Temperature range: 0.0 to 850°C
        //Ohm range: 100 to 390.48Ohm
        A1=3.9083E-3;
        B1=-5.775E-7;
        //Resistance at 0°C
        R0=100;
        //Error range: Class AA
        tgAA=0.1+0.0017*t;
        tgA=0.15+0.002*t;
        tgB=0.30+0.005*t;
        tgC=0.6+0.01*t;
        if R>=18.52 & R<=100.0 then;
            t=A2*R^3+B2*R^2+C2*R+D2;
        elseif R>100.0 & R<=390.48 then;
            t=(-A1*R0+sqrt((A1*R0)^2-4*B1*R0*(R0-R)))/(2*B1*R0);
        else disp("Out of range");
        end;
        Y=t;
    case "PT1000" then;
        t=X;
        //name: Resistance thermometer PT1000 Platinum
        //temperature units: °C
        //emf units: Ohm
        //range: -200.0 to 0.0°C
        A1=3.9083E-3;
        B1=-5.775E-7;
        C1=-4.183E-12;
        //range: 0.0 to 850.0°C
        A2=3.9083E-3;
        B2=-5.775E-7;
        //Resistance at 0°C
        R0=1000;
        if t>=-200.0 & t<=0.0 then;
            R=R0*(1+A1*t+B1*t^2+C1*(t-100)*t^3);
        elseif t>0.0 & t<=850.0 then;
            R=R0*(1+A2*t+B2*t^2);
        else disp("Out of range");
        end;
        Y=R;
    case "INVPT1000" then;
        R=X;
        //Inverse coefficients for PT1000 Platinum
        //Temperature range: -200.0 to 0.0°C
        //Ohm range: 185.2 to 1000Ohm
        A2=-5.67E-6;
        B2=2.498437E-3;
        C2=2.22764;
        D2=-242.078;
        //Temperature range: 0.0 to 850°C
        //Ohm range: 185.2 to 3904.8hm
        A1=3.9083E-3;
        B1=-5.775E-7;
        //Resistance at 0°C
        R0=1000;
        //Error range: Class AA
        tgAA=0.1+0.0017*t;
        tgA=0.15+0.002*t;
        tgB=0.30+0.005*t;
        tgC=0.6+0.01*t;
        if R>=185.2 & R<=1000.0 then;
            t=A2*R^3+B2*R^2+C2*R+D2;
        elseif R>1000.0 & R<=3904.8 then;
            t=(-A1*R0+sqrt((A1*R0)^2-4*B1*R0*(R0-R)))/(2*B1*R0);
        else disp("Out of range");
        end;
        Y=t;
    case "NI100" then;
        t=X;
        //name: Resistance thermometer NI100 Nickel
        //temperature units: °C
        //emf units: Ohm
        //range: -60.0 to 250.0°C
        A1=5.485E-3;
        B1=6.65E-6;
        C1=2.805E-11;
        D1=2.111E-17;
        //Resistance at 0°C
        R0=100;
        if t>=-60.0 & t<=250.0 then;
            R=R0*(1+A1*t+B1*t^2+C1*t^4+D1*t^6);
        else disp("Out of range");
        end;
        Y=R;
    case "INVNI100" then;
        R=X;
        //Inverse coefficients for NI100 Nickel
        //Temperature range: -60.0 to 250.0°C
        //Ohm range: 69.52 to 290.133Ohm
        A2=4.0E-6;
        B2=-4.7E-3;
        C2=2.6315;
        D2=-221.0;
        //Resistance at 0°C
        R0=100;
        //Error range:
        //-60°C <= t <= 0°C
        tg1=0.4+0.028*t;
        //0°C <= t <= 250°C
        tg2=0.4+0.007*t;
        if R>=69.52 & R<=290.133 then;
            t=A2*R^3+B2*R^2+C2*R+D2;
        else disp("Out of range");
        end;
        Y=t;
    case "NI1000" then;
        t=X;
        //name: Resistance thermometer NI1000 Nickel
        //temperature units: °C
        //emf units: Ohm
        //range: -60.0 to 250.0°C
        A1=5.485E-3;
        B1=6.65E-6;
        C1=2.805E-11;
        D1=2.111E-17;
        //Resistance at 0°C
        R0=1000;
        if t>=-60.0 & t<=250.0 then;
            R=R0*(1+A1*t+B1*t^2+C1*t^4+D1*t^6);
        else disp("Out of range");
        end;
        Y=R;
    case "INVNI1000" then;
        R=X;
        //Inverse coefficients for NI100 Nickel
        //Temperature range: -60.0 to 250.0°C
        //Ohm range: 695.2 to 2901.33Ohm
        A2=4.0E-6;
        B2=-4.7E-3;
        C2=2.6315;
        D2=-221.0;
        //Resistance at 0°C
        R0=1000;
        //Error range:
        //-60°C <= t <= 0°C
        tg1=0.4+0.028*t;
        //0°C <= t <= 250°C
        tg2=0.4+0.007*t;
        if R>=695.2 & R<=2901.33 then;
            t=A2*R^3+B2*R^2+C2*R+D2;
        else disp("Out of range");
        end;
        Y=t;
    case "TK5000" then;
        t=X;
        //name: Resistance thermometer TK5000
        //temperature units: °C
        //emf units: Ohm
        //range: -50.0 to 698.0°C
        A1=1.0000E+3;
        B1=4.4270E+0;
        C1=5.1720E-3;
        D1=5.5849E-06;
        E1=7.2869E-14;
        //Resistance at 0°C
        R0=1000;
        //Error range: None
        if t>=-50.0 & t<=698.0 then;
            R=A1+B1*t^1+C1*t^2+D1*t^3+E1*t^4;
        else disp("Out of range");
        end;
        Y=R;
    case "INVTK5000" then;
        R=X;
        //Inverse coefficients for TK5000
        //Temperature range: -50.0 to 698.0°C
        //Ohm range: 790.88 to 8509.15Ohm
        A2=-2.5929E+2;
        B2=3.0985E-1;
        C2=-5.6041E-5;
        D2=6.0381E-9;
        E2=-2.5685E-13;
        //Resistance at 0°C
        R0=1000;
        //Error range: None
        if R>=790.88 & R<=8509.15 then;
            t=A2+B2*t^1+C2*t^2+D2*t^3+E2*t^4;
        else disp("Out of range");
        end;
        Y=t;
    case "NTC10K3A1" then;
        t=X;
        //name: Resistance thermometer NTC10K3A1
        //temperature units: °C
        //emf units: Ohm
        //range: -40.0 to 125.0°C
        A1=3.5747E+4;
        B1=-4.0936E-2;
        //Resistance at 0°C
        R0=32651;
        //Error range: None
        if t>=-40.0 & t<=125.0 then;
            R=A1*exp(B1*t);
        else disp("Out of range");
        end;
        Y=R;
    case "INVNTC10K3A1" then;
        R=X;
        //Inverse coefficients for NTC10K3A1
        //Temperature range: -40.0 to 125.0°C
        //Ohm range: 336098 to 341Ohm
        A2=-2.4066E+1;
        B2=2.4295E+2;
        //Resistance at 0°C
        R0=32651;
        //Error range: None
        if R>=341.0 & R<=336098.0 then;
            t=A2*log(R)+B2;
        else disp("Out of range");
        end;
        Y=t;
    else disp("False Input");
    end;
endfunction;


//create the *.bin files in libdir
libdir = TMPDIR;
save(libdir + '/Table.bin','Table');
save(libdir + '/Polynoms.bin','Polynoms');

mputl(['Table';'Polynoms'],TMPDIR+'/names');

//build the library
mylibfoo = lib(libdir+'/');

// check the library
mylibfoo;
[n,p] = libraryinfo('mylibfoo');
