12-20-2017 04:59 PM
I have a data set that is a function of time in ms, but it is beneficial for the user to be able to see the data point as well as it will let them later choose between which two data points they want to run a curvefit VI. So far, I've used the X-Y Graph VI, but I can't seem to get the second X axis to work, the VI won't accept a 3 element cluster. Thanks for the help
12-21-2017 12:37 PM
If you had attached your VI, along with some sample data (or code to simulate typical data), we'd (a) understand what you are talking about, (b) be able to "see the failure", and (c) probably be able to suggest a fix. At present, my crystal ball is not telling me what you are doing wrong (or even what you are doing ...).
Bob Schor
12-21-2017 12:51 PM
Bob is correct - code would help us answer... but I'll take a stab at what I think you're asking.
Instead of a cluster with 3 inputs (2 X arrays, 1 Y array), build two separate clusters. First consisting of X1, Y and second consisting of X2, Y. Then build an array of the 2 clusters and feed that into your XY graph.
You likely will also want to go to the graph on your front panel, right click your X scale and click "Duplicate Scale". Then go into the graph properties -> plots and make sure that plot 1 is associated with your duplicated X scale.