Gscope Applications


gscope_test is a dummy application that shows various features of the gscope library. When gscope_test is run, it shows two scopes called Processes and Queues. The Processes scope shows 5 signals. The zoom and bias factors and the signal display parameters in the Processes scope can be made visible by toggling the View->Hide Signals button. Most of the signals here have a sawtooth pattern.

The Queues scope shows 2 signals called Queues_1 and Queues_2. This scope shows that the signal name and the signal parameters can be changed on the fly. The Queues_2 signal is updated to the Update signal. In addition, two new signals called Add1 and Add2 are periodically being added and removed from this scope.

To record the signal data produced by the Processes scope, click on View->Record Data. A file dialog for choosing the recording file will pop up. After recording for a while, click on Record Data again to stop recording. To playback the recorded data, click on File->New and choose the newly recorded file. This scope will be in playback mode. You can adjust the zoom and bias factors and the sampling period to understand how they work.


displaydata is a more interesting application. It takes a data file as a command line argument and displays the data in playback mode. You can use the file that was generated when recording the gscope_test data as the data file. The data file format is described in the section called Recording File Format. Any other means can be used to generate signal data is this file format (such as by using perl on log files) to view this data.


gscope_load_app is a simple application that shows the total and the user CPU load on the system.