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:
  • component
    is 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.
  • /G
    is a reserved parameter that specifies the log groups, for example,
    /G
    GroupName
    .
  • /T
    is a reserved parameter that specifies the exact tag, for example,
    /T
    TagName
    .
    You can use comma (,) as a separator to specify multiple tags, for example,
    /T
    Tag1,Tag2,Tag3
    .
  • DataLogSnapshot DataLogPro
    logs a snapshot for the current HMI server.
  • DataLogSnapshot /area::DataLogPro
    logs 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*
      and
      DataLogSnapshot DataLogPro *
      logs a snapshot for all tags including ungrouped tags.
    • DataLogSnapshot /Area1::DataLogPro *
      logs a snapshot for the area
      Area1
      .
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
Have questions or feedback about this documentation? Please submit your feedback here.
Normal