Tuesday, September 15, 2015

Managing Monitoring Sessions Saving Monitoring Session

Use the following procedure in order to save the monitoring session:

To save the current monitoring session under its current name:

  1. Select the File|Save Session menu option or press thebutton on the toolbar.
  2. The session will be saved.

To save the current monitoring session under the new name:

  1. Select the File|Save Session As menu option.
  2. Enter the name of the file to store the session in.
  3. The session will be saved.

Tips

There is a keyboard shortcut to access the File|Save Session menu option. Press Ctrl+S key combination to execute this command.

If the current session is brand-new and you select the File|Save Session menu option, it's behavior will repeat the File|Save Session As menu option behavior.

Managing Monitoring Sessions Closing Monitoring Session

Use the following procedure in order to load the monitoring session:
  1. Select the File|Open Session menu option or press thebutton on the toolbar.
  2. Open File dialog will appear. Enter the name of the session file or choose it from the list.
  3. The selected session will be opened and the monitoring session state will be restored, including all windows positions.

Tips

There is a keyboard shortcut to access the File|Load Session menu option. Press F3 or Ctrl+O key combination to execute this command.

If there is an open monitoring session in the Serial Monitor, you will be asked to close it before continuing. If you decline it, you won't be able to load new monitoring session.
You can use Drag&Drop to open monitoring sessions. See Shell Integration section for more information.

There is a list of last recently used monitoring sessions in the File menu. You can select the file from that list to open it.

Managing Monitoring Sessions Closing Monitoring Session

Use the following procedure in order to close the current monitoring session:
  1. Select the File|Close Session menu option or press thebuttonbutton on the toolbar.
  2. The Serial Monitor will stop data processing and will attempt to close the session. See Notes below.

Tips

There is a keyboard shortcut to access the File|Close Session menu option. Press the Ctrl+Shift+F4 button to execute this command.

The current monitoring session will automatically be closed when the Serial Monitor application is closed.

Notes

There are some requirements that must be met in order to successfully close the monitoring session:

The serial port, the Serial Monitor is attached to, must be closed before closing Monitoring Session. That means that you have to close the application that uses the port.

Managing Monitoring Sessions Shell Integration

In addition to the standard procedure of opening monitoring sessions (described in Loading Monitoring Session section), there are several other ways of doing the same thing:
  • Drag the Monitoring Session file from Explorer to the open Serial Monitor main window
  • Double-click the Monitoring Session file in the Explorer to launch the Serial Monitor and open the session 

Friday, September 11, 2015

Data Logging Log Files

The Serial Monitor Log Files are LogIt! log files with lgs extension. They can contain different data streams. Each stream contains all data monitored during one monitoring session. Each event is associated with some time stamp, so you can recreate the sequence of events very precisely.
The Log Files are compressed that allows them to hold more data while requiring less hard disk space. The Log Files are computer-independent and can be easily transferred to other computers by means of any kind of communication.
To play back information stored in one or another stream within the log file, you have to use a special kind of monitoring session.
See Also: Playing Back Log Files.

Data Logging Configuring Data Logging

When you create a new monitoring session you have an option to log all the data monitored to the log file. In order to do it, enable logging in Data Processing New Session Wizard page. The following window will appear:
Configure logging

Data Logging Playing Back Log Files

To play back the log file follow this procedure:
  1. Open New Session Wizard as described in Creating New Monitoring Session.
  2. Select the Log File Playback session type and press the Next button.
  3. Configure the session source as described in Configuring Log File Playback.
  4. Select required Data Visualizers as described in Configuring Data Processing. The corresponding wizard's page will not contain the Logging category when you select the Log File Playback session type.
  5. Press the Finish in the wizard. Playback will be started
Status bar will be changed to display the progress bar of the log file currently being played back.

There can be long delays between recorded events. In this case another progress bar and the Skip button will be displayed on the status bar. You can press the Skip button to skip the delay and go directly to the following recorded event.