Skip to main content

Slider Datapoint Action

  1. Navigate to HSYCO Manager

  2. Create a new project or open an existing one

  1. Go to Home page

  1. Click "add"

  1. Add a "Slider" object

  1. Go back to "edit" mode

  1. You can align the object by clicking "Align" and then "Align Vertically" and also by moving it

  1. Change the "Label" to "Dummy Dimmer 1"

  1. Check the "Display Value" checkbox so that we can see the specific value for this dimmer light

  1. Change the "Action" to "datapoint"

  1. Change the "Datapoint" to "dummy.dimmer.1"

  1. Click "add"

  1. Add a second "Slider"

  1. Click "edit"

  1. Move the object and align it next to the other

  2. Change the "Label" to "Dummy Light 1"

  1. Change the "Action" to "datapoint"

  1. Change the "Datapoint" to "dummy.light.1"

19. Change the "Range" attribute to "0,1". Because this datapoint points to a non-dimmer light, its only values are 0 and 1. By setting the "Range" between 0 and 1 we set a limit to the value of the datapoint

  1. Click "Save" to save the project

Tip: Now we can try the two sliders

  1. Click "Run" and then "Default" to launch the application

  1. The page should look like this:

  1. If we try to use the first slider, which points to a dimmer light, we'll se the actual value of it inside the object

  1. The second slider can only go up to 1, that is status ON

  1. We can also check the "Status Browser" to see the values of the datapoints

  1. As you can see, "dummy.light.1" has a value of 1

  1. "dummy.dimmer.1" has a value of "51%", as we set it through the slider