Skip to content

Operational Functions

isBacnetRunning()

Check on if the simulator is still running.

Returns: bool Returns true if the simulator is still running and false if not

Run()

This function operates on its own thread separate from the main simulator thread where it is only called once.

It is used to size the object instances of the simulator on initialisation.

It can also be kept running using the isBacnetRunning function with a while loop where logic can be implemented inside.

Update()

This function will be run on every process cycle of the simulator. As this is called from the main simulator thread, there should be no logic in here that blocks execution (such as sleep).