11-18-2009 01:32 AM
Hi all,
I am using the waveform graph - X axis as relative time in my application. I am trying to annotate the graph dynamically as and when each test is over. (It comprises about 10 tests). I like to have my annotation shown in the graph1 - ONE.
But I get it like in graph2 - TWO.
Attached vi in LV8.6
Hope somebody helps.
Thanks
Kousy
11-18-2009 01:37 AM
11-18-2009 02:11 AM
11-19-2009 01:43 AM
Hi Kousy,
First, I would prefer you to rethink on design of your code.
1. Build array function used in a shift register which will cause drastic memory leak.
2. Local variables are used unnecessarily, which could have prevented by having an event structure with a producer-consumer architecture.
3. Clean up your block diagram. It is impossible to understand the code at first glance.
Now coming to the problem, This is issue is due to the relative time AND offset and multiplier setting of the graph. This link has already discussed about annotation label offset being misplaced. It could be helpful for you,
11-27-2009 11:39 PM
Hi Vsh,
Thanks for your support. Sorry for the delayed reply as I was not in office and busy with someother thing.
Mistakenly when I opened the vi in Lv2009, I did not find any problem. After that only i thought it could be a bug lv8.6 ver
The thread you attached also confirmed the same.
Come to suggestions, I do not know anyhting else How should I show graph using dynamic data other than building an array. How can I avoid memory leaking? Also I dont have much idea about producer-consumer architecture. Need to learn. Yeah, BD clean-up I would do better.
Thanks once again.
Kousy