ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom slider background

Solved!
Go to solution

I inherited a vi that as the following indicator.   I'm able to update the min/max range  (as you can see from the value).  However, the background does not update.  It appears to be an image and thus can't adjusted.  

I've been trying to find a way to update the background but not coming up with anything.    

Any ideas how this was done?    

person that did it is no longer around for me to ask.  

 

shuttlefan_0-1690419525078.png

 

0 Kudos
Message 1 of 5
(3,009 Views)

Please share this control as ctl file or part of a VI

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution
0 Kudos
Message 2 of 5
(3,006 Views)

attached.  Thanks!

0 Kudos
Message 3 of 5
(2,985 Views)
Solution
Accepted by shuttlefan

Hi shuttlefan,

 


@shuttlefan wrote:

It appears to be an image and thus can't adjusted.  


Yes, it's an image.

 


@shuttlefan wrote:

I've been trying to find a way to update the background but not coming up with anything.


  • Replace the whole indicator by a 2DPicture indicator and draw anything on your own using the picture functions…
  • Remove the background image and make the slider background transparent. Place a 2DPicture behind that slider and only draw the blue/brown areas…

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 5
(2,964 Views)

Thanks!  Will give it a try.

0 Kudos
Message 5 of 5
(2,930 Views)