Create Objects
Functions to create BACnet object instances on the simulator. The default values for each of these objects are also provided.
Note
Any use of x in the tables below indicates the instance number of the object
Functions
createAnalogInputs(count)
Create instances of the Analog Input object
Params
- count
number- The number of instances to create of the object type
Default Property Values
| Property | Default Value |
|---|---|
| Object Identifier | OBJECT_ANALOG_INPUT:x |
| Object Name | "analog_input_x" |
| Object Type | OBJECT_ANALOG_INPUT (0) |
| Description | "analog_input_x" |
| Present Value | x |
| Status Flags | NONE |
| Event State | NORMAL (0) |
| Out of Service | false |
| Units | PERFECT (98) |
| Cov Increment | 0.0 |
| Reliability | NO_FAULT_DETECTED |
| Time Delay | 0 |
| Notification Class | 0 |
| High Limit | 1000.0 |
| Low Limit | -1000.0 |
| Deadband | 0.0 |
| Limit Enable | LIMIT_ENABLE_ALL |
| Event Enable | EVENT_ENABLE_ALL |
| Acked Transitions | NONE |
| Notify Type | ALARM (0) |
createAnalogOutputs(count)
Create instances of the Analog Output object
Params
- count
size_t- The number of instances to create of the object type
Default Property Values
| Property | Default Value |
|---|---|
| Object Identifier | OBJECT_ANALOG_OUTPUT:x |
| Object Name | "analog_output_x" |
| Object Type | OBJECT_ANALOG_OUTPUT (1) |
| Present Value | x |
| Status Flags | NONE |
| Out of Service | false |
| Units | PERCENT (98) |
| Priority Array | null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,x |
| Relinquish Default | 0.0 |
createAnalogValues(count)
Create instances of the Analog Value object
Params
- count
size_t- The number of instances to create of the object type
Default Property Values
| Property | Default Value |
|---|---|
| Object Identifier | OBJECT_ANALOG_VALUE:x |
| Object Name | "analog_value_x" |
| Object Type | OBJECT_ANALOG_VALUE (2) |
| Description | "analog_value_x" |
| Present Value | x |
| Status Flags | NONE |
| Event State | NORMAL (0) |
| Out of Service | false |
| Units | PERCENT (98) |
| Time Delay | 0.0 |
| Notification Class | 0 |
| High Limit | 1000.0 |
| Low Limit | -1000.0 |
| Deadband | 0.0 |
| Limit Enable | LIMIT_ENABLE_ALL |
| Event Enable | EVENT_ENABLE_ALL |
| Acked Transitions | NONE |
| Notify Type | EVENT (1) |
createBinaryInputs(count)
Create instances of the Binary Input object
Params
- count
size_t- The number of instances to create of the object type
Default Property Values
| Property | Default Value |
|---|---|
| Object Identifier | OBJECT_BINARY_INPUT:x |
| Object Name | "binary_input_x" |
| Object Type | OBJECT_BINARY_INPUT (3) |
| Description | "binary_input_x" |
| Present Value | BINARY_ACTIVE (1) |
| Status Flags | NONE |
| Event State | NORMAL (0) |
| Out of Service | false |
| Polarity | NORMAL (0) |
createBinaryOutputs(count)
Create instances of the Binary Output object
Params
- count
size_t- The number of instances to create of the object type
Default Property Values
| Property | Default Value |
|---|---|
| Object Identifier | OBJECT_BINARY_OUTPUT:x |
| Object Name | "binary_output_x" |
| Object Type | OBJECT_BINARY_OUTPUT (4) |
| Description | "binary_output_x" |
| Present Value | BINARY_ACTIVE (1) |
| Status Flags | NONE |
| Event State | NORMAL (0) |
| Out of Service | false |
| Polarity | NORMAL (0) |
| Priority Array | null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,BINARY_ACTIVE |
| Relinquish Default | BINARY_INACTIVE (0) |
| Active Test | "on" |
| Inactive Text | "off" |
createBinaryValues(count)
Create instances of the Binary Value object
Params
- count
size_t- The number of instances to create of the object type
Default Property Values
| Property | Default Value |
|---|---|
| Object Identifier | OBJECT_BINARY_VALUE:x |
| Object Name | "binary_value_x" |
| Object Type | OBJECT_BINARY_VALUE (5) |
| Present Value | BINARY_ACTIVE (1) |
| Status Flags | NONE |
| Event State | NORMAL (0) |
| Out of Service | false |
| Priority Array | null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,BINARY_ACTIVE |
| Relinquish Default | BINARY_INACTIVE (0) |
createIntegerValues(count)
Create instances of the Integer Value object
Params
- count
size_t- The number of instances to create of the object type
Default Property Values
| Property | Default Value |
|---|---|
| Object Identifier | OBJECT_INTEGER_VALUE:x |
| Object Name | "integer_value_x" |
| Object Type | OBJECT_INTEGER_VALUE (45) |
| Present Value | BINARY_ACTIVE (1) |
| Status Flags | NONE |
| Out of Service | false |
| Units | POUNDS_MASS_PER_MIN (45) |
createPositiveIntegerValues(count)
Create instances of the Positive Integer Value object
Params
- count
size_t- The number of instances to create of the object type
Default Property Values
| Property | Default Value |
|---|---|
| Object Identifier | OBJECT_POSITIVE_INTEGER_VALUE:x |
| Object Name | "positive_integer_value_x" |
| Object Type | OBJECT_POSITIVE_INTEGER_VALUE (48) |
| Present Value | BINARY_ACTIVE (1) |
| Status Flags | NONE |
| Out of Service | false |
| Units | KILOWATTS (48) |
createAccumulators(count)
Create instances of the Accumulator object
Params
- count
size_t- The number of instances to create of the object type
Default Property Values
| Property | Default Value |
|---|---|
| Object Identifier | OBJECT_ACCUMULATOR:x |
| Object Name | "accumulator_x" |
| Object Type | OBJECT_ACCUMULATOR (23) |
| Description | "accumulator_x" |
| Present Value | x |
| Status Flags | NONE |
| Event State | NORMAL (0) |
| Out of Service | false |
| Units | WATT_HOURS (18) |
| Scale | INTEGER:10 |
| Max Pres Value | UINT64_MAX |
createNotificationClasses(count)
Create instances of the Notification Class object
Params
- count
size_t- The number of instances to create of the object type
Default Property Values
| Property | Default Value |
|---|---|
| Object Identifier | NOTIFICATION_CLASS:x |
| Object Name | "NOTIFICATION CLASS x" |
| Object Type | OBJECT_NOTIFICATION_CLASS (15) |
| Description | "NOTIFICATION CLASS x" |
| Priority | TO_OFF_NORMAL=255, TO_FAULT=255, TO_NORMAL=255 |
| Notification Class | 0 |
| Recipient List | Empty |