All Downloads are FREE. Search and download functionalities are using the official Maven repository.

examples.bindings-double.yaml Maven / Gradle / Ivy

There is a newer version: 4.15.102
Show newest version
description: examples of bindings for the double type

scenarios:
  default: run type===stdout format=readout

# If you want to control the output, uncomment and edit the statement template below
# and modify the named anchors to suit your output requirements.

#statements:
#  example1: "{fullname}\n"

bindings:

# All uncommented lines under this are indented, so they become named bindings below
# the entry above

# Normally, the value that you get with a cycle starts at 0:

  cycleNum: Identity();

# here we convert the cycle number to a double:

  id: Identity(); ToDouble()

##    Sensor value

  sensor_value: Normal(0.0,5.0); Add(100.0) -> double

#  Example output:

#  sensor_value : 97.65195455640468
#  sensor_value : 102.36957817450308
#  sensor_value : 106.1618147543308
#  sensor_value : 105.69436460281086
#  sensor_value : 95.76439295584129
#  sensor_value : 99.79975449386073
#  sensor_value : 102.3330464938251
#  sensor_value : 100.58103001489948
#  sensor_value : 99.15058382227814
#  sensor_value : 97.17512591189272




© 2015 - 2025 Weber Informatics LLC | Privacy Policy