In my vi I have two xy graphs, Graph1 and Graph2, and I can plot multiple lines on each graph. The graphing part of the code is as follows for Graph1, and something similar for Graph2.
where grbuf is an array of n (time,value) clusters, n is the number of lines in that graph. Each graph is updated in a flat sequence, and grbuf is generated for each graph separately.
When I send data to only one graph, either Graph1 or Graph2, it works fine. But when I plot data on both graphs, it is messed up. I don't know how to keep the buffers used by the XY Chart Buffers subvi separate from each other. The XY Chart Butter.vi is one of Labview's vis (I can attach it if necessary)
At this stage of your LabVIEW learning, you should never use a Flat Sequence! [What, never? No, Never! What, never?? Well, hardly ever -- only if you need to connect a "Wait" function to the Error Line and you don't have the "Stall" vim handy ...].