03-26-2014 01:30 PM
I want to build a graph with more than one y variable, same x, with 64 bit real data, not in an array, with out clearing each time it updates, in order to track data while it is being collected. It'd be nice if the different y variables could be different colors too.
03-26-2014 01:46 PM - edited 03-26-2014 01:50 PM
Use a chart.
Note I stacked the plots since they are identical so you can see them both easilly
The build arrays are only there to get the 2 scalars into a 1x2 dim array so the chart knows to put them in seperate plots. You really need a 2D array to get multiple plots.![]()
03-26-2014 03:50 PM
@masonsa3 wrote:
I want to build a graph with more than one y variable, same x, with 64 bit real data, not in an array, with out clearing each time it updates, in order to track data while it is being collected. It'd be nice if the different y variables could be different colors too.
Don't put unreasonable conditions on the solution (e.g. "not in an array"). All that counts if that it results in the graph you want, right? We also don't really need to know what is "nice". We need to know what you want! Do you want different colors for each plot? That's even the default so you get that for free anyway! What are variables?
You leave out important information, for example:
Can you attach a simplified VI containing some typical simulated data?
The "build xy graph express VI" has an option to "retain data" between calls. Charts keep an internal history of fixed size. We really need more information before we can provide a solution.