DataLogSnapshot
Logs one snapshot of data to DataLogPro or the data log file for the specified model or all models.
Syntax
DataLogSnapshot <
parameter
>
where
<parameter>
specifies the data log model or DataLogPro.For data log models,
<parameter>
can be one of the following options:- componentis a relative or absolute reference to the name of the data log model that is to log a snapshot. If the model name has a space in it, enclose the name in quotes; for example, "Recipe Log".
- /area::*logs a snapshot for all models that are currently running.
For DataLogPro,
component
is a relative or absolute reference to DataLogPro that is to log a snapshot. You must also specify the log groups or tags for DataLogPro.- /Gis a reserved parameter that specifies the log groups, for example,./GGroupName
- /Tis a reserved parameter that specifies the exact tag, for example,./TTagNameYou can use comma (,) as a separator to specify multiple tags, for example,./TTag1,Tag2,Tag3
- DataLogSnapshot DataLogPrologs a snapshot for the current HMI server.
- DataLogSnapshot /area::DataLogPrologs a snapshot for the HMI server in the specified area.
- Wildcard characters?and*are also supported.?replaces one character, while*replaces multiple characters.
- DataLogSnapshot DataLogPro /G*logs a snapshot for all groups except for ungrouped tags.
- DataLogSnapshot DataLogPro /T*andDataLogSnapshot DataLogPro *logs a snapshot for all tags including ungrouped tags.
- DataLogSnapshot /Area1::DataLogPro *logs a snapshot for the areaArea1.
Remarks
The data log model and DataLogPro must be running before the DataLogSnapshot command is given. By default, DataLogPro automatically starts logging when a project is started.
This command can be issued from the
FactoryTalk View SE
Client, FactoryTalk View Studio
, or HMI server, but is always run on the HMI server.Provide Feedback