## functions

This section describes different functions you can perform using the .

### Renaming the assigned source

One of the primary reasons for using the is to change the default name assigned to a downstream device by the . For instance, instead of “Modbus.34”, you may want to rename that device to something more meaningful such as “SM_Bldg2_Boiler7”.

Renaming an Assigned Source typically only applies to downstream devices.

##### Renaming the assigned source for all its measurements

Switch to Basic view.

Find the source you want to rename. Enter the new name in the Updated Assigned Source column. All rows with measurements associated with the renamed source are automatically updated.

Note

If you do not want to assign the existing data in the database to the new source name, switch to Advanced View first, then clear the Update Historical Database check box for all appropriate rows.

Click File > Save.

A dialog opens showing a summary of the changes. Click Yes to continue. or No to cancel.

When the operation has completed, click OK, then Close.

##### Renaming the assigned source for one or more measurements

Switch to Advanced View.

Select the row(s) you want to rename. To select a row, click the area just to the left of the first column. The row is highlighted to indicate that it is selected.

Click Edit > Rename Source.

In the Source Rename box, type the new name for the downstream source. Click OK.

Note

By default, the Update Historical Database check box is selected for all affected rows — this applies the change to existing data in the database. To make the change only to data going into the database from this point forward, clear the Update Historical Database check box for the affected rows.

Click File > Save. A dialog open showing a summary of the changes.

Click Yes to continue or No to cancel.

When the operation has completed, click OK, then click Close.

### Cancelling changes

To undo all unsaved changes:

Click Edit > Reset, or

Click View > Refresh.

Click Yes to confirm.

### Changing the measurement mapping

automatically associates logged data with a measurement by searching for a mapping between the label and the measurement. However, in cases where no mapping exists, creates a “measurement” that is based on the register label. To manually change this measurement mapping:

Switch to Advanced View.

Click the Updated Measurement cell that you want to change, then select the new measurement you want to map from the list.

Select the Manual check box.

By default, the Update Historical Database check box is selected — this applies the change to existing data in the database (if, for example, the source and measurement mapping you are adding already exists). To make the change only to data going into the database from this point forward, clear the Update Historical Database check box.

Click File > Save. A dialog opens showing a summary of the changes. Click Yes.

If prompted, select which database to update. Click OK.

### Adding a new downstream device mapping

To add a new address mapping that associates the source and measurement to a specific logged quantity in the database:

Scroll down to the end of the table and click the last row (the one with the asterisk beside it).

Fill in the Updated Assigned Source and Physical Source columns. If the source is a physical device (i.e., not downstream), the same name must be entered exactly in both columns.

Click the Updated Measurement cell, then select the measurement from the list.

In the Handle cell, type the register handle for this measurement.

By default, the Update Historical Database check box is selected — this applies the change to existing data in the database (if, for example the source and measurement mapping you are adding already exists). To make the change only to data going into the database from this point forward, clear the Update Historical Database check box.

Click File > Save. A dialog opens showing a summary of the changes. Click Yes.

If prompted, select which database to update. Click OK.

### Updating the historical data at a later time

When you save your changes using the , a record of changes to the source-measurement definitions is saved in the folder:

...\\config\Diagnostic\\

with the following filename:

“Downstream Device DefinitionsYYYY-MM-DD_hh.mm.ss.csv”

where “YYYY-MM-DD_hh.mm.ss” means current YEAR-MONTH-DAY_hour.minute.second.

If you cleared the Update Historical Database check box when you saved your changes the first time, you can update the existing data in the database at a later time, through the use of this csv file.

##### How to use the .csv file

To update the existing data in the database with the source-measurement changes contained in the csv file:

Click Edit > Historical Data. The Update Historical Data window appears.

Click File > Import CSV.

opens the folder that contains the csv files. Select the Downstream Device Definitions file you want to use, then click Open.

Click File > Update Historical Data.

The Historical Data Update prompt displays how many source-measurement pairs will be updated. Click Yes.

Click Yes at the Historical Data Update prompt.

After the operation has completed, click OK, then Close.

You can update only one ION database at a time. To select a different database, first make sure the show connection dialog check box is selected under View > Options. You can then use the database connection dialog to specify which database you want to update.

Note

If you update address definitions that affect multiple historical databases, only the first historical database you select is automatically updated. To update the remaining historical databases, you must import the address definitions to each one, using Edit > Update Historical Data.

### Activity log

The saved changes in the are stored in a log file named “Downstream Device Historical UpdatesYYYY-MM-DD_hh.mm.ss.txt”, that contains a description of the activities carried out when was updating the source-measurement definitions.