Perspective Slider Stuck/No Labels with Floats

Hi all,
I am relatively new to Ignition and am trying to use a bidirectional slider with floating point numbers. When I use this slider, it gets stuck at the maximum value. Additionally, it does not show any of the float labels. I've checked the documentation for the Slider component, and it says that the type for the value, step, and interval properties is numeric. I've also checked the documentation for a numeric type for Ignition and a float was included. I know that floats are normally an approximate type using other tools and do not count for numeric types, which might be the problem I am having.

Does the Perspective Slider support floats? I'm leaning towards no, especially because the Vision Slider doesn't and also because I have another slider in this project that does not use floats and works perfectly. I know I can make a template to work around this issue - but I would prefer not to if I'm missing a certain property that allows the Slider to work with floats.

More info: Slider range is 1.8 - 2.2, step is 0.1, interval is 0.2. Stuck Slider is pictured below.
image

Welcome to the forum.

Right-click on the slider in the Project Browser, copy and paste it in here, formatting the code as shown in Wiki - how to post code on this forum.

[
  {
    "type": "ia.input.slider",
    "version": 0,
    "props": {
      "labels": {
        "show": true
      }
    },
    "meta": {
      "name": "Slider"
    },
    "position": {
      "x": 0.6,
      "y": 0.4,
      "height": 0.2,
      "width": 0.3
    },
    "custom": {},
    "propConfig": {
      "meta.visible": {
        "binding": {
          "config": {
            "expression": "{[default]Career Fair Mode}"
          },
          "type": "expr"
        }
      },
      "props.value": {
        "binding": {
          "type": "tag",
          "config": {
            "mode": "direct",
            "tagPath": "[default]Writeable I",
            "bidirectional": true,
            "fallbackDelay": 2.5
          }
        }
      },
      "props.min": {
        "binding": {
          "type": "expr",
          "config": {
            "expression": "{[default]Ideal I} - ({[default]Ideal I} * 0.1)"
          }
        }
      },
      "props.max": {
        "binding": {
          "type": "expr",
          "config": {
            "expression": "{[default]Ideal I} + ({[default]Ideal I} * 0.1)"
          }
        }
      },
      "props.step": {
        "binding": {
          "type": "expr",
          "config": {
            "expression": "{[default]Ideal I}/20"
          }
        }
      },
      "props.labels.interval": {
        "binding": {
          "type": "expr",
          "config": {
            "expression": "{[default]Ideal I}/10"
          }
        }
      }
    }
  }
]

You have a bidirectional tag binding on [default]Writeable I.
Is something in the PLC writing to that tag?

No, the only thing I have writing to that tag is a ValueChanged script on an expression tag. The expression tag value is not changing. It's actually written using the other slider without floats in the program that works perfectly.

It's working for me on version 8.1.41 when I disable all your bindings and use the values you provided.

Try disabling the binding on PROPS.value and see if that frees it up.

I just disabled all the bindings and it still gets stuck on my end.

Give us a screen grab - nicely cropped!

Slider stuck

Here it is with all the bindings enabled:
image

And here it is with all the bindings removed:
image

Something's got corrupted, I suspect.

  • Close the view and reopen. See if that fixes it.
  • Delete the component and recreate it adding in one binding at a time.

Thank you. I have closed and reopened it and deleted the component and readded it with no luck. I tried making it really big on its own view and it doesn't seem to get stuck at the max, but I still can't get the labels to show up. Any idea what I can do to fix that?