Complete the following steps to import the configuration file of an Switch Executive virtual device:

  1. Launch MAX with Switch Executive.
  2. Expand Devices and Interfaces.
  3. Right-click Switch Executive Virtual Devices and select . The Import dialog box opens.
  4. Select an Import Format for the virtual device configuration. Switch Executive supports the following import formats.
    Note If using the Configuration Export (.nce) file format, skip to step 7.
  5. Configuration Export File (.nce)—Recommended for import and export of complete configurations that do not need editing outside of NI Switch Executive. Allows saving of system configuration information for all devices and interfaces, including NI Switch Executive virtual devices.
  6. Switch Executive Export File (.xml)—Recommended for import and export of individual virtual device configurations that do not need editing outside of Switch Executive.
  7. Microsoft Excel Workbooks (.xls and .xlsx)—Recommended for import and export of individual virtual device configurations in a format suitable for editing. Components of the switching system (virtual devices, channels, routes, and so on) are contained in separate workbook sheets.
  8. Tab-delimited File (.txt)—Recommended for import and export of individual virtual device configurations in a format suitable for editing. When opened in a spreadsheet editing program, tab-delimited files contain the components of the switching system (virtual devices, channels, routes, and so on) in a single workbook sheet.
  9. Select the Source File to import. The source file is the file that contains the virtual device configuration you exported from the development system.
  10. Select a name for the virtual device from the Virtual Device Name drop-down listbox.
    Note To ensure that Virtual Device Name matches the virtual device name in the file, recommends that you always select (Extract name from source file).
    Note Make sure the Switch Executive virtual device name matches that used in your test code.
  11. Click Finish to import the virtual device configuration. The Switch Executive virtual device configuration is loaded into MAX.
    Note (XML file format only) If any errors occur during this process (such as an IVI device not being accessible), the virtual device is created, but the IVI switches that caused errors are not added. When the IVI switches are not added, the channels of those switches are also not added, which can break routes or route groups. You can manually add the IVI switches later.