Converting a NL220 database to LonMaker

NOTICE

POTENTIAL FOR DATA LOSS.
The steps detailed in the resolution of this article may result in a loss of critical data if not performed properly. Before beginning these steps, make sure all important data is backed up in the event of data loss. If you are unsure, please contact Product Support Services prior to attempting the procedure below.

Issue

How to convert a NL220 database into a LonMaker database.

Product Line

TAC Vista

Environment

  • NL220
  • LonMaker
  • LNS

Cause

There are a number of steps that must be taken to convert a NL220 database to LonMaker. 

Resolution

Note: Before beginning this process make sure that the NL220 database has all devices underneath one root system (In this example, everything was moved into the InfraStructure root system). If this is not done, the controllers will not appear in the LonMaker Visio drawing. Make a backup of the NL220 database before doing anything else.
 

  1. Create a new LonMaker database and open it up (For this example it was named NLtoLM). Note: You do not need to register any plug-ins or go OnNet at this time.
  2. Now close the LonMaker project. 
  3. Go to the location of the NL220 database and copy all of the folders and files in the database that you want to convert. In most cases you can find the database files here; C:\NLprj\PROJECT NAME.
  4. Go to the location of the LonMaker database that you just created and delete all of the files located in the project folder. In most cases it will be located here; C:\Lm\DB\PROJECT NAME.
  5. Paste the project folders and files from the NL220 database into the LonMaker database folder.
  6. Now go back to LonMaker and create the Visio drawing for the new LonMaker database. Make sure to select the project you created in the Drawing directory field and to select "" in the Drawing name field. Click Create Drawing.
  7. You may get a Database error. Click OK.


    The LonMaker database has now been created with the Visio drawing. The drawing may be a mess and will require additional time to move nodes around and clean up the appearance of the database. If there are subsystems in the project it will create each subsystem layer in a separate Visio drawing. In order to combine the subsystems back into one drawing follow steps 8 through 13.
     
  8. On the main Visio drawing, click and drag a new subsystem to the Visio drawing. Give the new subsystem a name that is not used in the database.

  9. Go to the subsystem that you want to move and select everything on the page. Right click and go to Move Device > Change Subsystem...
  10. Navigate to the new subsystem that was created in step 8 and click OK. Repeat steps 8 through 10 for each subsystem you want to move.
  11. Go back to the main Visio drawing and delete the original subsystems that were on the page.
  12. Now the new subsystems can be renamed to the original subsystem names by right clicking and going to Properties.
  13. You now have one LonMaker Visio drawing for your entire database.