Issue
What is the difference between XIF and NXE files in LON controllers?
Product Line
TAC Vista, TAC I/A
Environment
- LNS
- LON Controllers
- NL220
- LonMaker
Cause
Users working with LON devices may encounter both XIF and NXE files and be unsure of their respective roles and how to use them effectively.
Resolution
XIF File (External Interface File)
- Format: Text-based
- Purpose: Describes the network interface of a LON device
- Contents:
- Device type
- Network variables (NVs)
- Configuration properties (CPs)
- Functional blocks
- Usage: Used by network management tools during device integration
- Created by: Device manufacturer or LON development tools
- Editable: Yes (with caution)
Use Case:
Used during integration to map and understand the device’s capabilities.
NXE File (Neuron Executable File)
- Format: Binary
- Purpose: Contains the firmware and application logic for a LON device
- Usage: Used to download or update the device’s application
- Created by: Development tools like NodeBuilder or LonBuilder
- Editable: No (compiled code)
Use Case:
Used when deploying or updating the logic on a LON controller.
Comparison Table
| Feature | XIF File | NXE File |
|---|---|---|
| Format | Text-based | Binary |
| Purpose | Describes device interface | Contains executable application |
| Usage | Integration and configuration | Firmware/application deployment |
| Editable | Yes (with caution) | No (compiled code) |
| Created By | Manufacturer or tools | NodeBuilder, LonBuilder |
Best Practices
- Ensure the XIF file version matches the corresponding NXE file to avoid integration issues.
- Avoid manual editing of XIF files unless necessary and fully understood.
- Maintain version control for both file types to ensure traceability and consistency.