02-11-2019 12:18 PM
I'm looking to rotate an indicator as shown below. As far as I can figure, this is not possible in Labview.
Does anybody know if this is true, or is there a 3rd party library I can use to achieve this?
I'm aware that activex controls can be used in Labview, but haven't used these much before - I'm more used to WPF development in windows where this is fairly easy, but don't think it is possible to use a WPF control in LV.
02-11-2019 12:28 PM - edited 02-11-2019 12:29 PM
@NiBoffin wrote:
I'm looking to rotate an indicator as shown below. As far as I can figure, this is not possible in Labview.
Does anybody know if this is true, or is there a 3rd party library I can use to achieve this?
I'm aware that activex controls can be used in Labview, but haven't used these much before - I'm more used to WPF development in windows where this is fairly easy, but don't think it is possible to use a WPF control in LV.
Yes.
See this thread for a collection of links to Picture control type subjects. Post #14 in that thread has an example developed by Christian Altenbach that has cod to rotate the image. You can use an "off-screen" indicator then set its value and then do an invoke node >>> Get Image, run that through the code from Christian and then update a picture control.
You did say "indicator". A control requires more work and involves trigonometry.
Ben
02-11-2019 02:10 PM
A long time ago, I made this.