User Manual

i.LON SmartServer 2.0 Programming Tools User’s Guide 73
disk. See
Chapter 3 for more information on generating an updated resource file set and uploading the
updated resource files to the SmartServer.
After you generate and copy your updated resource files set to the SmartServer, you can manually
import one to all of the data point declarations.
Manually Importing All Data Point Declarations
In the source file (.cpp extension) of your FPM, you can add new data points that has been created in
the UFPT, and you can update all the existing data points that have been modified in the UFPT. To do
this, follow these steps:
1. In the LonMark Resource View, right-click the UFPT from which the FPM project was created,
and then click Import All Declarations on the shortcut menu. Alternatively, you can click the
UFPT and then click the Import Declare() for All Data Points icon (
) at the top of the
LonMark Resource View.
Note: Verify that you are currently working in the source file (.cpp extension) before importing
the data point declarations (the tab of the current code view is highlighted blue or white depending
on whether it has focus). If you add the data point declarations to a different file, your FPM will
not function and the file in which the data point declarations were imported may also not function.
2. Updated DECLARE statements for each data point defined in the UFPT are added to the data point
declaration section just below the namespace declaration.