Quickstart Guide
...
Simulator
Simulator (Gen1)
4 min
review the following information for setting up and configuring the simulator (gen1) driver belden horizon data operations compatible series compatibility parameter compatible items driver type used to generate simulated data validated devices/series this driver is used to generate simulated data it supports all the standard python math functions such as math sin(x) and math cos(x) configure the list of registers when you docid\ csrurtoacnmmamyn uc5o to the connected device, use the following tag/register mapping table name value type address format min address max address description b bit ddd 0 255 boolean w int ddd 0 255 integer w float ddd 0 255 float tag parameters name select a register name from the drop down list the available options depend on the names in the register table value type select a data type from the drop down list the available options depend on the register name selected polling interval enter a value in seconds this determines how often the tag should poll the register for data tag name enter a name for the tag description (optional) enter a description for the tag address enter a tag address the value must in the decimal format, within the allowed min/max range omit the leading zeros the device might use the decimal (d), hexadecimal (h), or octal (o) address format for bit tags, append the bit address without the bit separator the lowercase letters in the address format indicate how many digits you should enter in the bit address min value enter the minimum value the tag can generate max value enter the maximum value the tag can generate formula enter the formula for the tag tag formula enter a formula for the tag to process the generated data two variables are permitted value (current tag value) and timestamp (current tag unix time in milliseconds) the following math functions are available sin cos sqrt tan power log exp only publish on change of value select the checkbox to customize nats messages to be published only when the value parameter changes from a previous value to a new one change of value only applies to boolean, numeric (such as int or float), and simple string data types it does not apply to complex types, such as json or array poll once topics will not be affected by change of value settings these topics will still only see a single message meta data metadata summarizes basic information about data this feature allows you to define key value pair data for the device output payload later on it can then be used to find, use, and reuse particular instances of data tip all simulated tags have a default range of 50 to 50 users can override or restrict these defaults using a csv upload entering in the min and max columns prevents the default constraints from being applied numeric values in the min and max columns will replace the default settings the min and max constraints apply to the defined tag formula and do not affect boolean tags