Hi, Tom

Version 4.35f
I want to use long constant 2D array string with dependence of RPM on PWM frequency of my spindle. When I paste it in C editor window Kmotion stops working. When I try to #include file with it to my code it does not compile. Looks like there is a length limit.

Is there any other way to use this array?

This is the string:
double spindle_pwm=((5,0.000000),(6,0.000000),(7,0.000000 ),(8,0.000000),(9,0.000000),(10,0.000000),(11,172. 981068),(12,306.17),(13,315.544674),(14,344.282368 ),(15,373.545116),(16,392.323716),(17,427.690896), (18,458.933405),(19,485.601278),(20,530.027746),(2 1,582.118407),(22,606.341335),(23,630.459399),(24, 658.837122),(25,680.600429),(26,702.888783),(27,72 8.641898),(28,752.564990),(29,785.052337),(30,804. 895657),(31,837.743215),(32,857.601289),(33,883.02 4128),(34,914.521600),(35,935.684902),(36,965.9224 56),(37,990.040797),(38,1013.364194),(39,1036.3423 21),(40,1058.900796),(41,1085.073498),(42,1111.471 371),(43,1139.338853),(44,1167.416256),(45,1190.07 9484),(46,1214.827498),(47,1236.140787),(48,1257.9 64363),(49,1291.367026),(50,1314.240124),(51,1335. 013332),(52,1366.586028),(53,1388.154170),(54,1410 .307175),(55,1437.154654),(56,1462.727601),(57,148 8.390542),(58,1516.453289),(59,1534.407247),(60,15 61.960449),(61,1583.678749),(62,1610.136608),(63,1 632.154852),(64,1659.962635),(65,1681.920446),(66, 1708.017914),(67,1739.875010),(68,1760.228372),(69 ,1783.296659),(70,1805.120590),(71,1836.783535),(7 2,1857.166687),(73,1880.609890),(74,1905.448060),( 75,1935.700647),(76,1952.378810),(77,1981.130994), (78,2001.949324),(79,2027.357284),(80,2051.040383) ,(81,2071.199304),(82,2096.217722),(83,2119.960954 ),(84,2147.513757),(85,2170.177037),(86,2185.31074 3),(87,2221.0),(88,2257.0),(89,2294.590836),(90,22 98.220591),(91,2323.358574),(92,2339.018253),(93,2 369.945831),(94,2393.569041),(95,2410.502835),(96, 2443.980117),(97,2459.608871),(98,2499.984601),(99 ,2519.782762),(100,2537.376299),(101,2559.485088), (102,2581.322720),(103,2605.351572),(104,2631.3301 78),(105,2654.623320),(106,2679.146579),(107,2711. 948749),(108,2734.326418),(109,2750.764939),(110,2 774.822293),(111,2803.395448),(112,2828.638030),(1 13,2855.590810),(114,2881.374490),(115,2899.343806 ),(116,2907.548152),(117,2937.170790),(118,2967.36 3026),(119,2989.711600),(120,3001.574874),(121,304 0.645958),(122,3063.519122),(123,3086.647266),(124 ,3090.351968));