Facing Issue in Opening Old Ballard XML Configuration Files with Newer Astronics Ballard MIL-1553B Drivers

Updated Jun 12, 2026

I have old ballard configuration files, when I try to open those with BTI XML Editor.exe under new Astronics Ballard MIL-1553B drivers 2024 or 2025. I face the following load error as described below:

To ensure that legacy Ballard configuration files can be successfully imported into the BTI XML Editor executable, follow these steps:

  1. Open Notepad++.
  2. Navigate to Plugins → Plugin Admin and install PythonScript.

  1. Notepad++ will restart.
  2. Navigate to Plugins → PythonScript → New Script.

  1. Paste the script below and save it as Add_IDs.py.
from Npp import *
import re

text = editor.getText()

count = 101

def repl(match):
    global count
    s = '<bti:commandMessageRef ID="%d"' % count
    count += 1
    return s

text = re.sub(
    r'<bti:commandMessageRef(?![^>]*\\bID=)',
    repl,
    text
)

editor.setText(text)

notepad.messageBox("IDs added successfully!")
  

Note: You can also place the Python script in:
C:\Users\<username>\AppData\Roaming\Notepad++\plugins\config\PythonScript\scripts

  1. Open your XML file.
  2. Run the Add_IDs.py script.

  1. Once IDs are added successfully, you will see a confirmation prompt and updated code.

  1. Save and close the XML file.

This procedure should resolve the issue and you should be able to open the XML file with newer versions (2024 or 2025) BTI XML Editor executable as shown in the below image.

Attachments