Saving Files

When you record a simulation or edit a Logger file, the file is in an unsaved state, which is indicated by an asterisk next to the filename in the Title bar. If you specify a name for a file before you start the recording process, it is automatically saved when you stop recording. If you have an unsaved file loaded, the Logger prompts you to save it before exiting, opening a file, closing a file, or recording a new file.

To save a file, choose File > Save. If the file already has a filename, it is saved immediately. If it does not yet have a filename, you are prompted to supply one (Save As).

File Backups

When you save a previously saved file, the Logger creates a backup file by renaming the previous version of the file to filename.bak.lgr. For example, if you edit berkeley.lgr and save the changes, the original version of berkeley.lgr is saved to berkeley.bak.lgr.

The Logger maintains only one backup for a particular Logger file. If you edit and save a file that was previously backed up, the original backup file gets replaced with a newer backup file. For example, if after saving berkeley.lgr in the previous example, you were to edit it again and save it, a new version of berkeley.bak.lgr would replace the original backup file.

You can disable automatic backup with the SetBackupOnSave command.

Saving a File to a New Name

To save a file to a new name, choose File > Save As and type a new name in the Save As dialog box.

Saving a Portion of a File to a New File

You can save a segment of a file to a new file. The timestamps of the packets in the new file are offset so the first packet is at time zero. If the segment has annotations, they get saved with the segment.

Procedure 158: Saving a Segment of a File to a New File

  1. Open the file.
  2. Use the timeline sliders to select the segment you want to save.
  3. Choose File > Export Selection To > Logger File. A standard Save file dialog box opens.
  4. Enter a name for the new file.
  5. Click OK.

Upgrading a Logger File’s Format

When you load a Logger file that was created with a previous format, the Logger can automatically upgrade to the latest file format. You can also upgrade manually.

Procedure 159: Upgrading a File to the Latest Format

  1. Open the file.
  2. Choose Edit > Upgrade File Format.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com