hs_create_playback_view

Description

Specifies a view from the input recording sessions that you want to include in the playback session. Also specifies the data items in each view that you want to play back.

Syntax

hs_create_playback_view view_name, 
 [data_item_name_1, data_item_stat_1 
 [,data_item_name_2, data_item_stat_2]...]

Parameters

view_name

name of a view that you want to play back. The playback view name must match the name of a corresponding view in the input session(s). If there are two or more input sessions, then the view must exist in all of the input sessions and must contain the exact same data items and filters in all of the input sessions.

Only one playback view can be defined for a given view name. An attempt to create a second playback view with the same name fails.

Use the hs_list command to list the views in an input session and the data items in each view.

data_item_name_n

the data items existing in the input view that you want to see in the playback view. (In some cases, you can introduce new data items not in the input views.) If the data item contains embedded spaces, surround it with quotation marks.

If you do not specify any data items, then the view is defined using all of the data items from the corresponding view in the input session(s). However, if a data item from that corresponding view is not valid in the playback view, an error results.

See Table C-2 for more information about designing playback views.

data_item_stat_n

statistic types for the respective data items. The statistic types do not necessarily need to be the same as the statistic types used in the input view. See Table C-2 to determine valid statistic types for data items in playback views.

Surround statistic types with quotation marks.

Examples

Example 1

  1. This example creates a playback view based on the view device_view from the input session(s). The playback view includes all of the data items from the input view, with the same combinations of data items and statistic types:

    hs_create_playback_view device_view 
    
  2. This example creates a playback view that returns a timestamp and two data items from the input session(s):

    hs_create_playback_view device_view,"Timestamp","Value for Sample","Device Name", "Value for Sample", "Device Reads","Rate for Sample"
    

Usage