MBS Hilfe-CenterBACnet Test Framework ❭ Library für BTF Scripte

Library für BTF Scripte


 

Automatisiert und kostengünstig vorab prüfen

Library für BTF Scripte

Die verwendete Skriptsprache Python eröffnet vielfältige Möglichkeiten für den Anwender, der auch individuelle Skripte verfassen kann. Diese Prologe haben ebenfalls Zugriff auf die 370 API-Funktionen, die mit dem BTF zur Verfügung gestellt werden. 

Sie sind auf der Suche nach einem kleinen Programm, dass eine zu prüfende Hardware vor dem Start des eigentlichen Test in einen definierten Zustand bringen soll (Prolog) oder nach einem Test ggf. Einstellungen wieder zurückstellt (Epilog) ?

Dann nutzen Sie unser Python-Skripte, die im BTF als Prologe und Epiloge eingesetzt werden können.


Note: Some of the scripts provided here will require the user_mbs_iut_module script. See information in the description of these scripts.

The user_mbs_iut_module script contains a library of functions that are used by several other prolog-, make- or epilog- scripts.

As a prerequisite for scripts to access it, the script file needs to be copied to the lib directory of the BTF project, usually to: C:\BTF\Projects\<projectname>\lib .

It can be configured in some parts to match the IUT:
def get_password(self):
'''Password for RD/DCC requests''' return 'password'. Replace the text ‘password’ by the real password of the IUT (keep the quotation marks).
def get_coldstart_timeout(self):
'''Restart (coldstart) Timeout in seconds''' return 45. Replace this value with the time the IUT needs to perform a coldstart.
def get_warmstart_timeout(self):
'''Restart (Warmstart) Timeout in seconds''' return 45. Replace this value with the time the IUT needs to perform a warmstart.
Download


zip folder with all Standard-Scripts
Version: Jan/2019


zip folder with all Scripts for Alarm and Event Management
Version: Jan/2019


zip folder with all Scripts for Scheduling
Version: Jan/2019


zip folder with all Scripts for Trending
Version: Jan/2019