08-11-2010 10:53 PM
is there a way to programmatically set the "snap to mouse" option for a gauge/meter
08-11-2010 11:30 PM
08-12-2010 09:49 AM
I have created a set of VIs that allows the user to change some properties of an indicator during runtime (size, color, etc.). "snap to mouse" is an option for a needle in gauge/meter indicators but I don't see a property name for it.
08-12-2010 12:55 PM
There is a property for that, but for some reason NI has made it private. All hope is not lost, you can try the following.
1) Join the LabVIEW API group.
2) Ask kindly for this property to be exposed to the masses on the LV API discussion board. An NI engineer will consider your request, and if reasonable post some VIs which encapsulate this property. Sometimes there is a good reason for a property or method to be private, other times it is an oversight and perhaps you will get lucky. Personally, I do not foresee a lot of dire consequences from this one.