Warning
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 or unfamiliar with any complex steps detailed in this article, please contact Product Support Services for assistance.
Issue
How to convert a NL220 database into a LonMaker database.
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.
-
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.
- Now close the LonMaker project.
-
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.
-
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.
-
Paste the project folders and files from the NL220 database into the LonMaker database folder.
-
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.
-
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.
-
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.
-
Go to the subsystem that you want to move and select everything on the page. Right click and go to Move Device > Change Subsystem...
-
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.
-
Go back to the main Visio drawing and delete the original subsystems that were on the page.
-
Now the new subsystems can be renamed to the original subsystem names by right clicking and going to Properties.
-
You now have one LonMaker Visio drawing for your entire database.