LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Diagonal bar indicator in Labview

I'm looking to rotate an indicator as shown below. As far as I can figure, this is not possible in Labview. 

 

rotatedBarLV.png

 

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.

 

 

 

 

0 Kudos
Message 1 of 3
(2,421 Views)

@NiBoffin wrote:

I'm looking to rotate an indicator as shown below. As far as I can figure, this is not possible in Labview. 

 

rotatedBarLV.png

 

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 3
(2,406 Views)

A long time ago, I made this.

"If you weren't supposed to push it, it wouldn't be a button."
Message 3 of 3
(2,372 Views)