FST Template Setup
FST Template Setup
Below we'll show you how to use the FST templates outside of a pod. Once its setup, the rest of the process is continued with the Template Wizard doc.
Setting up the FST template
Example FST's: Here
1) Upload FST file
First, the user will go to Folio app → Files and select to Upload the fst file.
2) Tag FST file
The user will then select All Files after uploading the fst file.
Then select the fst file to select View Edit.
Once there, the user will see Options to select Tags.
In the Add Tag popup, the user will be adding two string tags for each fst template file. They are templateOn and funcTemplate. The filter for templateOn can be anything.
templateOn value is (vendorId == 7) and (applicationNumber == 2560)
funcTemplate value is finConnectorTemplatePackageAddDevice( $this , @$id , "<data>" )
OR
The user can instead just tag it as 'finTemplate' marker tag. Then utilize the Templates Tree Edit to add the remaining fields.
3) Upload bacnetProperties.trio file
Next, the user will upload the bacnetProperties.trio file and tag it with the bacnetProperties marker tag. Only one is needed but multiple with different properties can be added if needed.
Note: this trio file contains the list of properties that you wish to read from your device. The property tags will be applied to the connector when selecting to add the connector as a template from the discover window or when using the Template Wizard. You can use the one provided above and/or copy from and modify as needed for your template. It can also read from a point if the instance is provided. Look at screenshot below. It will look for the point that is AV4 and grab its present value and set that as the value for the applicationNumber tag.
Thats it, now the user can go ahead and use the Template Wizard to discover their devices with templates.