LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

U-shaped pointer slide indicator

Solved!
Go to solution

Hi there, I was wondering if it is possible to create a custom pointer slide indicator having a U-shape, going from -100 to 100.

I am not able to do it from the "Advanced<Customize..."

Any help would be much apreciated.

 

Moe

0 Kudos
Message 1 of 12
(3,841 Views)

The Advanced, Customize option should let you do what you want.

Try these steps...

1) Create an image of your 'U-shape'. PNG format seems best. Powerpoint can be handy for this.

2) Drop a slide control onto your front panel

3) Go to Advanced, Customize.

4) Click the spanner icon at the top left so that it turns into a pair of tweezers.

5) Click the slider so that it is selected

6) Right mouse click on the slider and 'Import from file...' or 'Import from file at same size'

7) Select your U shape image

😎 Sit back and bask in the glory of your custom control

 

See attached for example.

Message 2 of 12
(3,826 Views)

Nice one...

Da Helmut
Voir le profil de Maxime M. sur LinkedIn - View Maxime M.'s profile on LinkedIn
0 Kudos
Message 3 of 12
(3,821 Views)

@helmut O'Brian wrote:

Nice one...


Well if you liked that one, see Yair's Nugget on customizing controls here.

 

He showed us this

 

 

Which inspired this boolean

 

 

and latter this crazy form of a tab control.

 

Cumulus_Nebulus.PNG

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 4 of 12
(3,802 Views)

 

 

@_Ian_ wrote:

The Advanced, Customize option should let you do what you want.

Try these steps...

1) Create an image of your 'U-shape'. PNG format seems best. Powerpoint can be handy for this.

2) Drop a slide control onto your front panel

3) Go to Advanced, Customize.

4) Click the spanner icon at the top left so that it turns into a pair of tweezers.

5) Click the slider so that it is selected

6) Right mouse click on the slider and 'Import from file...' or 'Import from file at same size'

7) Select your U shape image

😎 Sit back and bask in the glory of your custom control

 

See attached for example.


 

 

thanks Ian,

but actually what I want is a U-shaped "scale" not the pointer itself. Is it possible?

0 Kudos
Message 5 of 12
(3,795 Views)

@Moobe wrote:

 

...
 

but actually what I want is a U-shaped "scale" not the pointer itself. Is it possible?


 

Please post a mocked up image so we can see what you are thinking about.

 

Will the scale range ever change?

 

Ben

 

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

 


@Ben wrote:

@Moobe wrote:

 

...
 

but actually what I want is a U-shaped "scale" not the pointer itself. Is it possible?

 


 

 

Please post a mocked up image so we can see what you are thinking about.

 

Will the scale range ever change?

 

Ben

 


 

Hey Ben,

Here what I was thinking of, with a fixed scale (-100 -> 100) and different colors for different ranges. And the black dot is the slider.

Thank you

0 Kudos
Message 7 of 12
(3,771 Views)

Turn a guage upside down (adjust the scale start stop angle) and replace the needle with a dot.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 8 of 12
(3,761 Views)

 


@Ben wrote:

Turn a guage upside down (adjust the scale start stop angle) and replace the needle with a dot.

 

Ben


 

... or use a knob and rotate the numeric display a bit. This still ends up as a circle rather than a U, but you could get creative with customisation and pop some graphics over the top to hide the upper part of the knob. Careful use of transparency in the blocking graphics could make it look reasonably effective.

 

EDIT: Apologies Ben, I just realised that I've said effectively the same thing as you! Doh.

In case anyone is wondering how to adjust the start/stop angle (I only just discovered this), put your mouse over the little line/tick marks on the first and last digits of the control. You get a little curved arrow icon which allows you to rotate and respace the numbers around the dial.

 

See attached.

 

Ian

0 Kudos
Message 9 of 12
(3,753 Views)

UShapedNumeric.png

0 Kudos
Message 10 of 12
(3,749 Views)