dle Posted January 19, 2017 Share Posted January 19, 2017 Hi all, Let say channel "data_points" to be filled with 50,000 history value. each value equal to its array element. For example, data_points[0] = 0, data_points[1] = 1....... and data_points[49999] = 49999 If I make a for loop to ru 50,000 times will take a certain amount of time such as for (private i = 0, i < 50000, i++ data_point = i endfor Is there a quick function to perform beside using loop? data_points is a channel, not variable. Thanks. Link to comment Share on other sites More sharing options...
AzeoTech Posted January 26, 2017 Share Posted January 26, 2017 Sure: myChannel.addValue(seqAdd(0,1,50000)) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.