05-02-2016 06:09 AM
Hello,
In my testbend at the and of experiment I want to add some graphical facilities on a graph.
For example, taking a snapshot below; Iwant to visualize the locations of points Xa and Xb on the bottom graph.
After reading some posts I undestood that best solution for such kind of things is using of cursors.
If this is the case, I need to add 2 cursor (in programming way, if possible) and then control them using some indexes.
Does exist some example that show how to do it.
Thanks.
P.S. It would be also nice to put "bulbs" on point locations.
Solved! Go to Solution.
05-02-2016 08:32 AM
You can not create cursors programmatically (may be you can while vi is not running with scripting functions), you can show/hide them.
Other than that, see example
05-02-2016 08:36 AM
>> It would be also nice to put "bulbs" on point locations.
IT is the question for NI. You can select cursor point style, but you can not change it's size. When you modify cursor size, it affects only cursor line thickness and you can get only big fat vertical cross, not any style piont like you do with graphs. At least, LV2011, may be they fixed that, 5 years seems enough.
05-02-2016 09:12 AM
Ok, thanks
05-02-2016 09:39 AM
Take a look at some of the peak detector and limit examples and you'll see a good way to simulate "bulbs". Basically you just display a copy of your plot on top of your main plot and set the points to a big, red dot (or the line to a thick red line). Depending on the subset of your original plot that you choose to display from the copy it "highlights" the area of interest in your main plot.