11-02-2010 08:10 PM
I'm working 6 waveforms on 3 different plot areas in a mixed signal graph in LV2009. When I try to pull the Cursor.PosY property from my cursor (in which Watch All Plots is True, and is set to Multi-Plot in the graph properties), it returns the value of only the first plot in the cluster of waveforms fed into the graph. I've tried changing the active plot, active plot area, nothing changes. I am able to retrieve each value via the cursor legend, but I cannot pull each of those values into another portion of my program. Also, I noticed that when setting events in an event structure, any events relating to a cursor drag aren't present as they are in a waveform graph. My workaround is to create an indicator for the Cursor.PosX property and monitor when that value changes, but I feel there should be an easier way. Any help is appreciated.
Thank you in advance!
11-03-2010 02:38 PM
Could you post a simple VI which shows this behavior?
11-03-2010 04:19 PM
Ben,
Thank you for your reply. Here's an example of what I'm dealing with. You can see that the output for the cursor y position property only returns the value of one (the first) graph, where as the cursor legend reports all y values at that x cursor value.
11-04-2010 08:44 AM
Jeanius,
I am not quite sure why the cursor pos in the Wavegraph reference does not change when you change the active plot, but if you grab a reference to the specific cursor and then change the active plot things you receive the expected behavior.
11-04-2010 02:53 PM
Thanks for the advice. Could you repost the VI for LV9? I can't open that file.
11-04-2010 03:28 PM
For LV2009.