muniprasad Posted March 19, 2013 Posted March 19, 2013 I have 2 OPC channels. I create a graph like as X vs Y Graph. I take latest 10 values from 2 channels. I give it values like as Channel1[0,9] and Channel2[0,9]. But my graph showing reverse order Suppose Channel1 contains values like this 9 - 150 8 - 250 7 - 250 6- 350 5 - 450 4- 550 3 - 650 2 - 750 1 - 850 0- 950 I get graph starting from 950. but i want to graph like as start from 150. How can i accomplish?
AzeoTech Posted April 2, 2013 Posted April 2, 2013 You would need to invert the array. There isn't a built in function, but you can trick it by using sorttime(): sortTime(insertTime(Channel1[0,9],0,1)) Note that you'll need to turn Align off (set to negative number) in the graph.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.