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.
hs_create_playback_view view_name, [data_item_name_1, data_item_stat_1 [,data_item_name_2, data_item_stat_2]...]
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.
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.
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.
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:
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"
The hs_create_playback_view command is valid only during the definition of a playback session; that is, it must be issued after a successful hs_create_playback_session command, but before a successful hs_initiate_playback command.
A playback session must have at least one view.
Appendix C, “Specifications for Defining Playback Views” explains the requirements for designing valid playback views, including valid combinations of data items and statistic types for playback views.