Issue
- Can't import Xenta Server (5XX/7XX/9XX) XIF file into LonMaker.
- Get error message "The conversion of the file [path to file] into a XFB failed. Please verify that the file is a valid XIF. The utility XIF32BIN can be used to verify the contents of the file." when importing XIF file in LonMaker
Product Line
TAC Vista
Environment
- TAC XBuilder
- LonMaker
- Xenta 511, 527, 701, 711, 721, 731, 913
Cause
If the sum of the all the characters in the names of the node objects that you add are exactly 60, XBuilder generates a faulty XIF file which will not work in LonMaker.
Example of faulty XIF file:
File generated by TAC XBuilder version 5.1.5, XIF Version 4
Copyright (c) 2000 by TAC AB
All Rights Reserved. Run on 0000-00-00 00:00
90:00:13:47:00:06:04:C3
2 15 1 8 1 5 2 0 0 2 6 11 13 13 11 3 0 16 0 0 1 11 8
11 5 9 13 28 0 0 15 5 3 113 0
1 7 1 0 4 4 4 15 200 0
78125 0 0 0 0 0 0 0 0 0 0 0
90 0 240 0 0 0 40 40 0 5 8 5 12 14 15
*
"&3.2@0,5Node_Object 5708,5Node_Object 5703,5Node_Object 5704
"
The second-to-the-last line above (after the ") has 60 characters which adds an extra " in the line below, thus making it unusable.
Resolution
- Open the Xenta Server project in TAC Xbuilder
- In the Network pane, expand the "SNVTs" folder
- Under "LonMarkObjects", add or delete one character in one of the node object names
- Right-click on the Xenta Server in the network pane and choose "Generate XIF file"
- Import the new XIF file into LonMaker