@raymond1982
I have the same answer as yours in Script console,
If I run code as below,
myList = ['9.4,-104.55', '10,-89.09', '10.6,-74.55', '11.2,-62.73', '11.8,-50.00', '12.4,-37.27', '13,-20.91', '13.6,-7.27', '14.2,7.27', '14.8,20.91', '15.4,41.82', '16,58.18', '16.6,78.18', '17.2,100.00', '17.8,121.82', '18.4,141.82', '19,158.18', '19.6,174.55', '20.2,184.55', '20.8,193.21', '21.4,198.08', '22,203.66', '22.6,208.94', '23.2,213.01', '23.7,215.82', '24.3,217.35', '24.9,217.59', '25.5,216.56', '26.1,218.91', '26.7,219.09', '27.3,219.09', '27.9,217.27', '28.5,213.64', '29.1,213.64', '29.7,217.27', '30.3,219.09', '30.9,219.09', '31.5,217.27', '32.1,213.64', '32.7,218.18', '33.3,220.91', '33.9,221.82', '34.5,220.91', '35.1,218.18', '35.7,218.18', '36.3,220.91', '36.9,221.82', '37.5,220.91', '38.1,222.73', '38.7,221.82', '39.3,223.64', '39.9,223.64', '40.5,223.53', '41.1,225.77', '41.7,224.94', '42.3,226.59', '42.9,230.68', '43.4,231.62', '44,229.39', '44.6,234.26', '45.2,235.92', '45.8,234.46', '46.4,234.55', '47,232.73', '47.6,232.73', '48.2,234.55', '48.8,232.73', '49.4,232.73', '50,234.55', '50.6,232.73', '51.2,237.27', '51.8,238.18', '52.4,235.45', '53,239.09', '53.6,239.09', '54.2,240.00', '54.8,241.82', '55.4,244.55', '56,242.73', '56.6,246.36', '57.2,245.45', '57.8,250.00', '58.4,250.00', '59,250.00', '59.6,250.00', '60.2,250.00', '60.8,250.00', '61.4,250.00', '62,250.00', '62.6,250.00', '63.2,251.90', '63.8,253.40', '64.4,259.20', '65,259.08', '65.6,263.23', '66.1,266.04', '66.7,267.48', '67.3,267.59', '67.9,270.96', '68.5,267.48', '69.1,267.27', '69.7,267.27', '70.3,270.00', '70.9,275.45', '71.5,273.64', '72.1,274.55', '72.7,278.18', '73.3,279.09', '73.9,281.82', '74.5,286.36', '75.1,287.27', '75.7,289.09', '76.3,291.82', '76.9,295.45', '77.5,300.00', '78.1,300.00', '78.7,300.00', '79.3,300.00', '79.9,300.00', '80.5,300.00', '81.1,300.00', '81.7,300.00', '82.3,300.00', '82.9,304.55', '83.5,310.42', '84.1,315.06', '84.7,318.39', '85.3,320.33', '85.9,320.84', '86.4,319.90', '87,317.52', '87.6,318.41', '88.2,316.97', '88.8,313.27', '89.4,312.73', '90,313.64', '90.6,313.64', '91.2,312.73', '91.8,310.91', '92.4,308.18', '93,304.55', '93.6,300.00', '94.2,300.00', '94.8,300.00', '95.4,300.00', '96,300.00', '96.6,300.00', '97.2,300.00', '97.8,300.00', '98.4,295.45', '99,291.82', '99.6,289.09', '100.2,287.27', '100.8,286.36', '101.4,286.36', '102,282.73', '102.6,280.91', '103.2,280.91', '103.8,278.18', '104.4,278.18', '105,275.45', '105.6,270.00', '106.2,269.27', '106.8,266.33', '107.4,266.63', '108,265.62', '108.6,263.22', '109.1,259.47', '109.7,260.00', '110.3,254.54', '110.9,253.39', '111.5,251.83', '112.1,245.45', '112.7,246.36', '113.3,242.73', '113.9,240.00', '114.5,238.18', '115.1,237.27', '115.7,232.73', '116.3,230.00', '116.9,224.55', '117.5,226.36', '118.1,225.45', '118.7,221.82', '119.3,220.91', '119.9,218.18', '120.5,213.64', '121.1,212.73', '121.7,210.91', '122.3,208.18', '122.9,204.55', '123.5,200.00', '124.1,195.45', '124.7,191.82', '125.3,189.09', '125.9,187.27', '126.5,186.36', '127.1,186.36', '127.7,182.73', '128.3,180.91', '128.9,180.91', '129.5,178.18', '130.1,178.18', '130.7,175.45', '131.3,170.00', '131.9,167.27', '132.5,167.27', '133.1,165.45', '133.7,167.27', '134.3,162.73', '134.9,161.82', '135.5,160.00', '136.1,157.27', '136.7,153.64', '137.3,154.55', '137.9,150.00', '138.5,145.45', '139.1,146.36', '139.7,142.73', '140.3,144.55', '140.9,141.82', '141.5,140.00', '142.1,139.09', '142.7,139.09', '143.3,135.45', '143.9,133.64', '144.5,133.64', '145.1,130.00', '145.7,128.18', '146.3,123.64', '146.9,126.36', '147.5,126.36', '148.1,123.64', '148.7,123.64', '149.3,121.82', '149.9,118.18', '150.5,112.73', '151.1,110.91', '151.7,108.18', '152.3,109.09', '152.9,108.18', '153.5,110.91', '154.1,112.73', '154.7,113.64', '155.3,113.64', '155.9,112.73', '156.5,110.91', '157.1,108.18', '157.7,100.00', '158.3,92.57', '158.9,90.38', '159.5,88.93', '160.1,88.26', '160.7,88.39', '161.2,89.33', '161.8,91.06', '162.4,93.57', '163,92.17', '163.6,92.47', '164.2,89.09', '164.8,87.27', '165.4,86.36', '166,81.82', '166.6,79.09', '167.2,78.18', '167.8,79.09', '168.4,77.27', '169,78.18', '169.6,76.36', '170.2,76.36', '170.8,73.64', '171.4,73.64', '172,76.36', '172.6,71.82', '173.2,70.00', '173.8,70.91', '174.4,70.00', '175,67.27', '175.6,62.73', '176.2,61.82', '176.8,64.55', '177.4,60.91', '180.4,63.93', '180.4,63.93']
print myList
print map(type, myList[:20])
ds =[map(float, i.split(',')) for i in myList]
print ds
print map(type, ds[:20])
I get this,
>>>
['9.4,-104.55', '10,-89.09', '10.6,-74.55', '11.2,-62.73', '11.8,-50.00', '12.4,-37.27', '13,-20.91', '13.6,-7.27', '14.2,7.27', '14.8,20.91', '15.4,41.82', '16,58.18', '16.6,78.18', '17.2,100.00', '17.8,121.82', '18.4,141.82', '19,158.18', '19.6,174.55', '20.2,184.55', '20.8,193.21', '21.4,198.08', '22,203.66', '22.6,208.94', '23.2,213.01', '23.7,215.82', '24.3,217.35', '24.9,217.59', '25.5,216.56', '26.1,218.91', '26.7,219.09', '27.3,219.09', '27.9,217.27', '28.5,213.64', '29.1,213.64', '29.7,217.27', '30.3,219.09', '30.9,219.09', '31.5,217.27', '32.1,213.64', '32.7,218.18', '33.3,220.91', '33.9,221.82', '34.5,220.91', '35.1,218.18', '35.7,218.18', '36.3,220.91', '36.9,221.82', '37.5,220.91', '38.1,222.73', '38.7,221.82', '39.3,223.64', '39.9,223.64', '40.5,223.53', '41.1,225.77', '41.7,224.94', '42.3,226.59', '42.9,230.68', '43.4,231.62', '44,229.39', '44.6,234.26', '45.2,235.92', '45.8,234.46', '46.4,234.55', '47,232.73', '47.6,232.73', '48.2,234.55', '48.8,232.73', '49.4,232.73', '50,234.55', '50.6,232.73', '51.2,237.27', '51.8,238.18', '52.4,235.45', '53,239.09', '53.6,239.09', '54.2,240.00', '54.8,241.82', '55.4,244.55', '56,242.73', '56.6,246.36', '57.2,245.45', '57.8,250.00', '58.4,250.00', '59,250.00', '59.6,250.00', '60.2,250.00', '60.8,250.00', '61.4,250.00', '62,250.00', '62.6,250.00', '63.2,251.90', '63.8,253.40', '64.4,259.20', '65,259.08', '65.6,263.23', '66.1,266.04', '66.7,267.48', '67.3,267.59', '67.9,270.96', '68.5,267.48', '69.1,267.27', '69.7,267.27', '70.3,270.00', '70.9,275.45', '71.5,273.64', '72.1,274.55', '72.7,278.18', '73.3,279.09', '73.9,281.82', '74.5,286.36', '75.1,287.27', '75.7,289.09', '76.3,291.82', '76.9,295.45', '77.5,300.00', '78.1,300.00', '78.7,300.00', '79.3,300.00', '79.9,300.00', '80.5,300.00', '81.1,300.00', '81.7,300.00', '82.3,300.00', '82.9,304.55', '83.5,310.42', '84.1,315.06', '84.7,318.39', '85.3,320.33', '85.9,320.84', '86.4,319.90', '87,317.52', '87.6,318.41', '88.2,316.97', '88.8,313.27', '89.4,312.73', '90,313.64', '90.6,313.64', '91.2,312.73', '91.8,310.91', '92.4,308.18', '93,304.55', '93.6,300.00', '94.2,300.00', '94.8,300.00', '95.4,300.00', '96,300.00', '96.6,300.00', '97.2,300.00', '97.8,300.00', '98.4,295.45', '99,291.82', '99.6,289.09', '100.2,287.27', '100.8,286.36', '101.4,286.36', '102,282.73', '102.6,280.91', '103.2,280.91', '103.8,278.18', '104.4,278.18', '105,275.45', '105.6,270.00', '106.2,269.27', '106.8,266.33', '107.4,266.63', '108,265.62', '108.6,263.22', '109.1,259.47', '109.7,260.00', '110.3,254.54', '110.9,253.39', '111.5,251.83', '112.1,245.45', '112.7,246.36', '113.3,242.73', '113.9,240.00', '114.5,238.18', '115.1,237.27', '115.7,232.73', '116.3,230.00', '116.9,224.55', '117.5,226.36', '118.1,225.45', '118.7,221.82', '119.3,220.91', '119.9,218.18', '120.5,213.64', '121.1,212.73', '121.7,210.91', '122.3,208.18', '122.9,204.55', '123.5,200.00', '124.1,195.45', '124.7,191.82', '125.3,189.09', '125.9,187.27', '126.5,186.36', '127.1,186.36', '127.7,182.73', '128.3,180.91', '128.9,180.91', '129.5,178.18', '130.1,178.18', '130.7,175.45', '131.3,170.00', '131.9,167.27', '132.5,167.27', '133.1,165.45', '133.7,167.27', '134.3,162.73', '134.9,161.82', '135.5,160.00', '136.1,157.27', '136.7,153.64', '137.3,154.55', '137.9,150.00', '138.5,145.45', '139.1,146.36', '139.7,142.73', '140.3,144.55', '140.9,141.82', '141.5,140.00', '142.1,139.09', '142.7,139.09', '143.3,135.45', '143.9,133.64', '144.5,133.64', '145.1,130.00', '145.7,128.18', '146.3,123.64', '146.9,126.36', '147.5,126.36', '148.1,123.64', '148.7,123.64', '149.3,121.82', '149.9,118.18', '150.5,112.73', '151.1,110.91', '151.7,108.18', '152.3,109.09', '152.9,108.18', '153.5,110.91', '154.1,112.73', '154.7,113.64', '155.3,113.64', '155.9,112.73', '156.5,110.91', '157.1,108.18', '157.7,100.00', '158.3,92.57', '158.9,90.38', '159.5,88.93', '160.1,88.26', '160.7,88.39', '161.2,89.33', '161.8,91.06', '162.4,93.57', '163,92.17', '163.6,92.47', '164.2,89.09', '164.8,87.27', '165.4,86.36', '166,81.82', '166.6,79.09', '167.2,78.18', '167.8,79.09', '168.4,77.27', '169,78.18', '169.6,76.36', '170.2,76.36', '170.8,73.64', '171.4,73.64', '172,76.36', '172.6,71.82', '173.2,70.00', '173.8,70.91', '174.4,70.00', '175,67.27', '175.6,62.73', '176.2,61.82', '176.8,64.55', '177.4,60.91', '180.4,63.93', '180.4,63.93']
[<type 'str'>, <type 'str'>, <type 'str'>, <type 'str'>, <type 'str'>, <type 'str'>, <type 'str'>, <type 'str'>, <type 'str'>, <type 'str'>, <type 'str'>, <type 'str'>, <type 'str'>, <type 'str'>, <type 'str'>, <type 'str'>, <type 'str'>, <type 'str'>, <type 'str'>, <type 'str'>]
[[9.4, -104.55], [10.0, -89.09], [10.6, -74.55], [11.2, -62.73], [11.8, -50.0], [12.4, -37.27], [13.0, -20.91], [13.6, -7.27], [14.2, 7.27], [14.8, 20.91], [15.4, 41.82], [16.0, 58.18], [16.6, 78.18], [17.2, 100.0], [17.8, 121.82], [18.4, 141.82], [19.0, 158.18], [19.6, 174.55], [20.2, 184.55], [20.8, 193.21], [21.4, 198.08], [22.0, 203.66], [22.6, 208.94], [23.2, 213.01], [23.7, 215.82], [24.3, 217.35], [24.9, 217.59], [25.5, 216.56], [26.1, 218.91], [26.7, 219.09], [27.3, 219.09], [27.9, 217.27], [28.5, 213.64], [29.1, 213.64], [29.7, 217.27], [30.3, 219.09], [30.9, 219.09], [31.5, 217.27], [32.1, 213.64], [32.7, 218.18], [33.3, 220.91], [33.9, 221.82], [34.5, 220.91], [35.1, 218.18], [35.7, 218.18], [36.3, 220.91], [36.9, 221.82], [37.5, 220.91], [38.1, 222.73], [38.7, 221.82], [39.3, 223.64], [39.9, 223.64], [40.5, 223.53], [41.1, 225.77], [41.7, 224.94], [42.3, 226.59], [42.9, 230.68], [43.4, 231.62], [44.0, 229.39], [44.6, 234.26], [45.2, 235.92], [45.8, 234.46], [46.4, 234.55], [47.0, 232.73], [47.6, 232.73], [48.2, 234.55], [48.8, 232.73], [49.4, 232.73], [50.0, 234.55], [50.6, 232.73], [51.2, 237.27], [51.8, 238.18], [52.4, 235.45], [53.0, 239.09], [53.6, 239.09], [54.2, 240.0], [54.8, 241.82], [55.4, 244.55], [56.0, 242.73], [56.6, 246.36], [57.2, 245.45], [57.8, 250.0], [58.4, 250.0], [59.0, 250.0], [59.6, 250.0], [60.2, 250.0], [60.8, 250.0], [61.4, 250.0], [62.0, 250.0], [62.6, 250.0], [63.2, 251.9], [63.8, 253.4], [64.4, 259.2], [65.0, 259.08], [65.6, 263.23], [66.1, 266.04], [66.7, 267.48], [67.3, 267.59], [67.9, 270.96], [68.5, 267.48], [69.1, 267.27], [69.7, 267.27], [70.3, 270.0], [70.9, 275.45], [71.5, 273.64], [72.1, 274.55], [72.7, 278.18], [73.3, 279.09], [73.9, 281.82], [74.5, 286.36], [75.1, 287.27], [75.7, 289.09], [76.3, 291.82], [76.9, 295.45], [77.5, 300.0], [78.1, 300.0], [78.7, 300.0], [79.3, 300.0], [79.9, 300.0], [80.5, 300.0], [81.1, 300.0], [81.7, 300.0], [82.3, 300.0], [82.9, 304.55], [83.5, 310.42], [84.1, 315.06], [84.7, 318.39], [85.3, 320.33], [85.9, 320.84], [86.4, 319.9], [87.0, 317.52], [87.6, 318.41], [88.2, 316.97], [88.8, 313.27], [89.4, 312.73], [90.0, 313.64], [90.6, 313.64], [91.2, 312.73], [91.8, 310.91], [92.4, 308.18], [93.0, 304.55], [93.6, 300.0], [94.2, 300.0], [94.8, 300.0], [95.4, 300.0], [96.0, 300.0], [96.6, 300.0], [97.2, 300.0], [97.8, 300.0], [98.4, 295.45], [99.0, 291.82], [99.6, 289.09], [100.2, 287.27], [100.8, 286.36], [101.4, 286.36], [102.0, 282.73], [102.6, 280.91], [103.2, 280.91], [103.8, 278.18], [104.4, 278.18], [105.0, 275.45], [105.6, 270.0], [106.2, 269.27], [106.8, 266.33], [107.4, 266.63], [108.0, 265.62], [108.6, 263.22], [109.1, 259.47], [109.7, 260.0], [110.3, 254.54], [110.9, 253.39], [111.5, 251.83], [112.1, 245.45], [112.7, 246.36], [113.3, 242.73], [113.9, 240.0], [114.5, 238.18], [115.1, 237.27], [115.7, 232.73], [116.3, 230.0], [116.9, 224.55], [117.5, 226.36], [118.1, 225.45], [118.7, 221.82], [119.3, 220.91], [119.9, 218.18], [120.5, 213.64], [121.1, 212.73], [121.7, 210.91], [122.3, 208.18], [122.9, 204.55], [123.5, 200.0], [124.1, 195.45], [124.7, 191.82], [125.3, 189.09], [125.9, 187.27], [126.5, 186.36], [127.1, 186.36], [127.7, 182.73], [128.3, 180.91], [128.9, 180.91], [129.5, 178.18], [130.1, 178.18], [130.7, 175.45], [131.3, 170.0], [131.9, 167.27], [132.5, 167.27], [133.1, 165.45], [133.7, 167.27], [134.3, 162.73], [134.9, 161.82], [135.5, 160.0], [136.1, 157.27], [136.7, 153.64], [137.3, 154.55], [137.9, 150.0], [138.5, 145.45], [139.1, 146.36], [139.7, 142.73], [140.3, 144.55], [140.9, 141.82], [141.5, 140.0], [142.1, 139.09], [142.7, 139.09], [143.3, 135.45], [143.9, 133.64], [144.5, 133.64], [145.1, 130.0], [145.7, 128.18], [146.3, 123.64], [146.9, 126.36], [147.5, 126.36], [148.1, 123.64], [148.7, 123.64], [149.3, 121.82], [149.9, 118.18], [150.5, 112.73], [151.1, 110.91], [151.7, 108.18], [152.3, 109.09], [152.9, 108.18], [153.5, 110.91], [154.1, 112.73], [154.7, 113.64], [155.3, 113.64], [155.9, 112.73], [156.5, 110.91], [157.1, 108.18], [157.7, 100.0], [158.3, 92.57], [158.9, 90.38], [159.5, 88.93], [160.1, 88.26], [160.7, 88.39], [161.2, 89.33], [161.8, 91.06], [162.4, 93.57], [163.0, 92.17], [163.6, 92.47], [164.2, 89.09], [164.8, 87.27], [165.4, 86.36], [166.0, 81.82], [166.6, 79.09], [167.2, 78.18], [167.8, 79.09], [168.4, 77.27], [169.0, 78.18], [169.6, 76.36], [170.2, 76.36], [170.8, 73.64], [171.4, 73.64], [172.0, 76.36], [172.6, 71.82], [173.2, 70.0], [173.8, 70.91], [174.4, 70.0], [175.0, 67.27], [175.6, 62.73], [176.2, 61.82], [176.8, 64.55], [177.4, 60.91], [180.4, 63.93], [180.4, 63.93]]
[<type 'list'>, <type 'list'>, <type 'list'>, <type 'list'>, <type 'list'>, <type 'list'>, <type 'list'>, <type 'list'>, <type 'list'>, <type 'list'>, <type 'list'>, <type 'list'>, <type 'list'>, <type 'list'>, <type 'list'>, <type 'list'>, <type 'list'>, <type 'list'>, <type 'list'>, <type 'list'>]
>>>
Which completely makes sense and that’s what we need.
But, when I run below code in property change script of timer,
Curve1data = ['9.4,-104.55', '10,-89.09', '10.6,-74.55', '11.2,-62.73', '11.8,-50.00', '12.4,-37.27', '13,-20.91', '13.6,-7.27', '14.2,7.27', '14.8,20.91', '15.4,41.82', '16,58.18', '16.6,78.18', '17.2,100.00', '17.8,121.82', '18.4,141.82', '19,158.18', '19.6,174.55', '20.2,184.55', '20.8,193.21', '21.4,198.08', '22,203.66', '22.6,208.94', '23.2,213.01', '23.7,215.82', '24.3,217.35', '24.9,217.59', '25.5,216.56', '26.1,218.91', '26.7,219.09', '27.3,219.09', '27.9,217.27', '28.5,213.64', '29.1,213.64', '29.7,217.27', '30.3,219.09', '30.9,219.09', '31.5,217.27', '32.1,213.64', '32.7,218.18', '33.3,220.91', '33.9,221.82', '34.5,220.91', '35.1,218.18', '35.7,218.18', '36.3,220.91', '36.9,221.82', '37.5,220.91', '38.1,222.73', '38.7,221.82', '39.3,223.64', '39.9,223.64', '40.5,223.53', '41.1,225.77', '41.7,224.94', '42.3,226.59', '42.9,230.68', '43.4,231.62', '44,229.39', '44.6,234.26', '45.2,235.92', '45.8,234.46', '46.4,234.55', '47,232.73', '47.6,232.73', '48.2,234.55', '48.8,232.73', '49.4,232.73', '50,234.55', '50.6,232.73', '51.2,237.27', '51.8,238.18', '52.4,235.45', '53,239.09', '53.6,239.09', '54.2,240.00', '54.8,241.82', '55.4,244.55', '56,242.73', '56.6,246.36', '57.2,245.45', '57.8,250.00', '58.4,250.00', '59,250.00', '59.6,250.00', '60.2,250.00', '60.8,250.00', '61.4,250.00', '62,250.00', '62.6,250.00', '63.2,251.90', '63.8,253.40', '64.4,259.20', '65,259.08', '65.6,263.23', '66.1,266.04', '66.7,267.48', '67.3,267.59', '67.9,270.96', '68.5,267.48', '69.1,267.27', '69.7,267.27', '70.3,270.00', '70.9,275.45', '71.5,273.64', '72.1,274.55', '72.7,278.18', '73.3,279.09', '73.9,281.82', '74.5,286.36', '75.1,287.27', '75.7,289.09', '76.3,291.82', '76.9,295.45', '77.5,300.00', '78.1,300.00', '78.7,300.00', '79.3,300.00', '79.9,300.00', '80.5,300.00', '81.1,300.00', '81.7,300.00', '82.3,300.00', '82.9,304.55', '83.5,310.42', '84.1,315.06', '84.7,318.39', '85.3,320.33', '85.9,320.84', '86.4,319.90', '87,317.52', '87.6,318.41', '88.2,316.97', '88.8,313.27', '89.4,312.73', '90,313.64', '90.6,313.64', '91.2,312.73', '91.8,310.91', '92.4,308.18', '93,304.55', '93.6,300.00', '94.2,300.00', '94.8,300.00', '95.4,300.00', '96,300.00', '96.6,300.00', '97.2,300.00', '97.8,300.00', '98.4,295.45', '99,291.82', '99.6,289.09', '100.2,287.27', '100.8,286.36', '101.4,286.36', '102,282.73', '102.6,280.91', '103.2,280.91', '103.8,278.18', '104.4,278.18', '105,275.45', '105.6,270.00', '106.2,269.27', '106.8,266.33', '107.4,266.63', '108,265.62', '108.6,263.22', '109.1,259.47', '109.7,260.00', '110.3,254.54', '110.9,253.39', '111.5,251.83', '112.1,245.45', '112.7,246.36', '113.3,242.73', '113.9,240.00', '114.5,238.18', '115.1,237.27', '115.7,232.73', '116.3,230.00', '116.9,224.55', '117.5,226.36', '118.1,225.45', '118.7,221.82', '119.3,220.91', '119.9,218.18', '120.5,213.64', '121.1,212.73', '121.7,210.91', '122.3,208.18', '122.9,204.55', '123.5,200.00', '124.1,195.45', '124.7,191.82', '125.3,189.09', '125.9,187.27', '126.5,186.36', '127.1,186.36', '127.7,182.73', '128.3,180.91', '128.9,180.91', '129.5,178.18', '130.1,178.18', '130.7,175.45', '131.3,170.00', '131.9,167.27', '132.5,167.27', '133.1,165.45', '133.7,167.27', '134.3,162.73', '134.9,161.82', '135.5,160.00', '136.1,157.27', '136.7,153.64', '137.3,154.55', '137.9,150.00', '138.5,145.45', '139.1,146.36', '139.7,142.73', '140.3,144.55', '140.9,141.82', '141.5,140.00', '142.1,139.09', '142.7,139.09', '143.3,135.45', '143.9,133.64', '144.5,133.64', '145.1,130.00', '145.7,128.18', '146.3,123.64', '146.9,126.36', '147.5,126.36', '148.1,123.64', '148.7,123.64', '149.3,121.82', '149.9,118.18', '150.5,112.73', '151.1,110.91', '151.7,108.18', '152.3,109.09', '152.9,108.18', '153.5,110.91', '154.1,112.73', '154.7,113.64', '155.3,113.64', '155.9,112.73', '156.5,110.91', '157.1,108.18', '157.7,100.00', '158.3,92.57', '158.9,90.38', '159.5,88.93', '160.1,88.26', '160.7,88.39', '161.2,89.33', '161.8,91.06', '162.4,93.57', '163,92.17', '163.6,92.47', '164.2,89.09', '164.8,87.27', '165.4,86.36', '166,81.82', '166.6,79.09', '167.2,78.18', '167.8,79.09', '168.4,77.27', '169,78.18', '169.6,76.36', '170.2,76.36', '170.8,73.64', '171.4,73.64', '172,76.36', '172.6,71.82', '173.2,70.00', '173.8,70.91', '174.4,70.00', '175,67.27', '175.6,62.73', '176.2,61.82', '176.8,64.55', '177.4,60.91', '180.4,63.93', '180.4,63.93']
ds = [map(float, i.split(',')) for i in Curve1data]
print ds
I get below error in my console,
Traceback (most recent call last):
File "<event:propertyChange>", line 145, in <module>
File "<event:propertyChange>", line 18, in ReadFile
File "<event:propertyChange>", line 137, in CheckData
ValueError: invalid literal for __float__: ['10'
at org.python.core.Py.ValueError(Py.java:309)
at org.python.core.PyString.atof(PyString.java:1545)
at org.python.core.PyString.__float__(PyString.java:772)
at org.python.core.PyFloat.float_new(PyFloat.java:61)
at org.python.core.PyFloat$exposed___new__.new_impl(Unknown Source)
at org.python.core.PyType.invokeNew(PyType.java:466)
at org.python.core.PyType.type___call__(PyType.java:1558)
at org.python.core.PyType.__call__(PyType.java:1548)
at org.python.core.PyObject.__call__(PyObject.java:357)
at org.python.core.__builtin__.map(__builtin__.java:756)
at org.python.core.BuiltinFunctions.fancyCall(__builtin__.java:253)
at org.python.core.BuiltinFunctions.__call__(__builtin__.java:172)
at org.python.core.PyObject.__call__(PyObject.java:408)
at org.python.pycode._pyx2499.CheckData$2(<event:propertyChange>:138)
at org.python.pycode._pyx2499.call_function(<event:propertyChange>)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyBaseCode.call(PyBaseCode.java:134)
at org.python.core.PyFunction.__call__(PyFunction.java:317)
at org.python.pycode._pyx2499.ReadFile$1(<event:propertyChange>:20)
at org.python.pycode._pyx2499.call_function(<event:propertyChange>)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyBaseCode.call(PyBaseCode.java:120)
at org.python.core.PyFunction.__call__(PyFunction.java:307)
at org.python.pycode._pyx2499.f$0(<event:propertyChange>:145)
at org.python.pycode._pyx2499.call_function(<event:propertyChange>)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1275)
at com.inductiveautomation.ignition.common.script.ScriptManager.runCode(ScriptManager.java:631)
at com.inductiveautomation.factorypmi.application.binding.action.ActionAdapter.runActions(ActionAdapter.java:168)
at com.inductiveautomation.factorypmi.application.binding.action.ActionAdapter.access$000(ActionAdapter.java:40)
at com.inductiveautomation.factorypmi.application.binding.action.ActionAdapter$ActionRunner.run(ActionAdapter.java:280)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Please let me know if you want me to send you the whole code.
Thanks @raymond1982