09-27-2011 07:05 PM
Im trying to plot time in the X axis and a 1-D array in the Y axis. When i probe the values from the wire connecting the XY Graph, i see the values, as perfect as i need them. But i dont see the values on the graph.
Im able to do the same with a waveform chart, but an XY graph gives me some more flexibility and advantages...
Gokul Krishna S
Solved! Go to Solution.
09-27-2011 07:29 PM
I don't have LV2011 so I can't look at your code (if you save for 2010 I will), but check if your XY Graph is set to Autoscale on the X axis.
Also the X axis should be set to absolute time.
Also check the XY Graph help - the examples show the different data types that you can use.
09-28-2011 11:43 AM
There's a subVI you did not attach with that VI, and I cannot run it.
Part of your problem is that your x-axis has a single value rather than an array of values. If you right click on your chart and go to Properties, then navigate tot he Plots tab, you can change the marker displays. If you make it something larger than a single pixel, you should be able to see it on the display.
Please also take a look at this community example on making XY graphs.
09-28-2011 12:20 PM
I attached the sub-VI...its the read function for Agilent 34970-A.
And, i found the marker function in Create>>Property Node>>X Scale>>Marker. It doesnt seem to help me solve the problem...
09-28-2011 04:34 PM
I figured what the problem was and was able to fix it...
The i/p for the X axis is the time in seconds, from the Elapsed Time...i did not convert it to an array and then to Dynamic Data type...this simple one was giving me a hard time...
Thank you very much for your tips...
09-28-2011 06:08 PM
09-28-2011 08:50 PM
I apologize for this mistake, only after reading your response, i was prompted to take a closer look at Lisa's response.
When i read Lisa's response for the 1st time, i directly juped into the highlighted link and i did not read the entire text carefully.
Even though i figured out the problem and fixed, technically, Lisa pointed it out and i did not notice it.
I will immediately change the "mark as solution".
Once again, i am really sorry about this, and it was not in my best intention.