LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Cursor point style on XY graph

Is there is a way you can change the point style of a cursor on an xy graph to somthing custom, possibly an image or somthing else. Basicly Id like to have very many point styles, but more then just whats in LV, Id want some that actually look different.

Thanks,
-Mark
0 Kudos
Message 1 of 5
(5,003 Views)
Hi Mark,

You can use an event structure to detect when the mouse enters or leaves the XY graph. When the mouse enters you can set the cursor using the "Set Cursor" VI and when it leaves you can unset the cursor using the "Unset Busy" VI. You can create a reference to a custom cursor beforehand using the "Create Cursor from file" VI. Unfortunately none of the VIs that I mention here are available with the base package.

I've attached an example program written in LV7 on Windows. (note: you need a .ani or .cur file for the cursor you wish to use)

Hope this helps,
Neil
0 Kudos
Message 2 of 5
(5,003 Views)
Actually what i was looking for is making the cursor points on the graph custom, not the mouse cursor. But thanks though.

-Mark
0 Kudos
Message 3 of 5
(5,003 Views)
I don't believe that this available in LabVIEW. It would certainly be a good product suggestion to make to NI, though.
J.R. Allen
0 Kudos
Message 4 of 5
(5,003 Views)

If anyone finds this old thread using the same search I did, here's how to create something like customized cursor point styles:

 

Look at the PlotImages:Front property and the example code in labview\examples\general\graphs\Graph Pictures.llb.  This property is found in Labview 8.0 and later.

 

If you are using Labview 7.1, look at the thread at

Andrew Russell
Solar Turbines
San Diego, CA
Message 5 of 5
(4,514 Views)