Add a data logger
Configure a data logger to log variable values in a database.
- From the toolbar, selectOpen dashboard page
- In the editor, selectConfigure a data logger.
- SelectNew data loggers.
- (optional) InName, enter the name for the data logger.
- InSampling mode, select either:
- None. Sample variables by invoking the Log method.
- Periodicto sample all monitored variables and inSampling period, set the interval in hours, with millisecond precision, between one sampling and the next.
- Change in valueto sample all monitored variables with values that changed from the previous sampling and inPolling time, set the interval in hours, with millisecond precision, between one sampling and the next.
TIP:When you use a Data Logger that has the sampling time set toChange in valueand configurePolling time, the tag is monitored at the specified rate. If the value changes in between two readings, a new record is added to the database.When one of the tags polled by the data logger is also used on other controls such as on the user interface,Polling timedepends on the Dynamic Variable Polling Time property of the PresentationEngine, If there are multiple polling times, the fastest polling time is used. - SelectNext.The messageThe Data loggerappears.namesuccessfully created
- SelectNext.
- If there is no database for the logger, create a database:TIP: You can also right-click an existing database and selectDuplicate. Duplicating a database is useful if you want to create a database based on an existing database.
- SelectNew databaseand complete:
- Name. A name for the database.
- Type. EitherEmbeddedorODBC connection.
- SelectNext.
- Set the database properties.
- SelectNext.
- Select the database to store the logger data and selectNext.
- Select the variables that you want to log and selectNext.TIP: You can find variables by using the search field.
- SelectExit.
- (optional) Set a deadband interval.
- (optional) Store read operation codes.
- (optional) Store variable reading date and time.
data logger
Provide Feedback