11-06-2011 06:15 PM
I have two waveforms charts in my vi, both plot current vs. voltage. After I build an array of data points, I send them to waveform charts. The datapoints are completely incorrect when plotting (Scale, no points, not autoscaling) although, when I export my data to excel it is perfect. Any possible solutions on how to fix this? I've attached my vi for reference (sorry if it's a bit messy). I'm using tab control and my problem is falls under the case "Ids vs. Vgs".
Solved! Go to Solution.
11-06-2011 06:24 PM
If you want current on one axis and voltage on the other, you need to be using the XY Graph. A chart is not at all appropriate. Turn on Context Help.
11-07-2011 11:42 AM
@Dennis Knutson wrote:
If you want current on one axis and voltage on the other, you need to be using the XY Graph. A chart is not at all appropriate. Turn on Context Help.
Thanks, I got it to work, BUT I'm trying to get the graph to update inside of a while loop. The problem is the cluster the XY Graph accepts needs to be placed outside of the loop for indexing purposes. Any way around this?
11-07-2011 11:52 AM
You can cheat and use the Express XY Graph or use a couple of shift registers to build the separate X and Y arrays. There is also the shipping example called XY Chart.
11-07-2011 01:44 PM
@Dennis Knutson wrote:
You can cheat and use the Express XY Graph or use a couple of shift registers to build the separate X and Y arrays. There is also the shipping example called XY Chart.
You are the man, got it. Thanks for the help!