LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Jorge_C

Slide Control Origin

Status: New

Hi all!

 

I think that it would be cool to be able to set the "origin" of a slide control. You can do that programmatically by adding a second slide and check for the control/indicator in the block diagram. Right now, if you place one of this controls on the front panel, the origin will be at the bottom of it.

 

If you open the VI, you will see what I mean. It would be cool to have a Property node where you could set the origin of the slide, just as it has been done in the code with the constant.

 

Thanks!

Applications Engineer - Certified LabVIEW Developer & Certified TestStand Developer
6 Comments
dthor
Active Participant

Sounds kind of like the default value. Set the control to the value you want, right click and select Make Current Value Default. Next time you open up the VI, it will be at the value you set.

 

If I'm misunderstanding, let me know.

Jorge_C
NI Employee (retired)

That's not it. You will change the default value, but the control will be filled from the bottom, What I think it would be cool is to be able to choose the value from which the slide gets filled. If you open the VI I attached you will see what I mean.

 

Thanks!

Applications Engineer - Certified LabVIEW Developer & Certified TestStand Developer
dthor
Active Participant

Oh ok, that makes more sense.

altenbach
Knight of NI

Graphs already have a "fill to zero", "fill to +inf", "fill to -inf" for graphs. The new option could be similar.

Jorge_C
NI Employee (retired)

Hi,

 

Yes, that's what I would like to be able to set for these controls. It would even be better if you could set the value (0, +-inf) yourself.

Applications Engineer - Certified LabVIEW Developer & Certified TestStand Developer
GEARS-Inc
Member

I am continually frustrated that I can't get a simple "Fill to zero" Slider style.

 

As a robot guy, I'm often wanting to display the power level I'm sending to a Bunch Of motors.

Typically these are bidirectional so I want a visual way to show both forward and reverse power.

(Imagine building a graphic showing 8 Underwater robot Thrusters, or 12 bipedal robot servo position offsets.

 

Before LabVIEW I was always able to use a Fill-Slide type element that would fill from Zero to the current value, PLUS I was able to select a different color for the Positive or Negative direction...    eg: Green means forward and Red means Reverse.

 

I don't need all the flexibility that Jorge_C wants, but "Fill To Zero" and a color choice seems like a no-brainer....

 

Phil

 

Get a life? This IS my life!