examples.bindings.double.yaml Maven / Gradle / Ivy
# You can run this file with this command line to see the values printed to stdout:
# ./ebdse run driver=stdout yaml=bindings/double.yaml cycles=10
# This file demonstrates different types of timestamp recipes
# that you can use with virtdata. (The bindings used in ebdse)
# 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 by casting.
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