Contents


Changing the Background Color of the Graphs
Changing the Plot Color Scheme of the Graphs
Connecting to a Data Source
Fitting a Graph Display to Its Data
Pausing Data Display
Recentering a Graph
Restoring a Display Format
Resuming Data Display
Saving a Display Format
Setting the Channels Displayed by the Oscilloscope
Setting the Display Rate
Starting Data Display
Stepping Through Input Data
Stopping Data Display
Toggeling ATWD Display Overlap
Using the Event Logger
Using the Single Peak Display
Zooming In On a Graph
Zooming Out From a Graph

FAQ

Documentation For Developers

Changing the Background Color of the Graphs

The default background color of the display graphics in the Oscilloscope is white. This can be changed from the Display menu, under the "Set Color Scheme" option. Then the fields of the "Background" option should be set with the red, green, and blue components of the desired background color.

To find a color wheel and the components of a given color, visit The Webmaster's Color Lab. The values the color lab will produce are hexadecimal strings, with the first two characters being the red component, the next two the green, and the last two the blue. To use the results, simply convert the hex digits to decimal numbers and input them in the color set window.


Changing the Plot Color Scheme of the Graphs

The default plot color for a single graph is red. To change the color scheme of the Oscilloscope, select the "Set Color Scheme" option from the "Display" menu.

In the dialog box that pops up, there is space to set up to 8 colors. This is because the Oscilloscope defines 8 as the maximum number of waveforms that can be simultaneously displayed in the same graph. This was done to prevent clutter, and for reasons of convenience that are directly related to the color structure in the programming language used to create the Oscilloscope. Set the red, green and blue components of any color that you wish to change in the dialog box, and click OK.

Please note that any changes also affect the Single Peak display as soon as a new peak is added.

To find a color wheel and the components of a given color, visit The Webmaster's Color Lab. The values the color lab will produce are hexadecimal strings, with the first two characters being the red component, the next two the green, and the last two the blue. To use the results, simply convert the hex digits to decimal numbers and input them in the color set window.


Connecting to a Data Source

To connect to a data source, select the "Open Data Stream" option from the "File" menu. To open a socket, it is currently necessary to login to the remote computer and open the socket manually before requesting a connection from the Oscilloscope software. This will change in future versions. To connect to a local file, simply type the absolute pathname of the file in the filename text box and press enter or click OK.

Once this is done, the Oscilloscope will prompt you to choose between one of several available DOMs by DOM Id. It is currently possible to view only one DOM at a given time, though this will change in future releases. This completes the process for opening a Data Source. However, in order to begin actually displaying data, it is necessary to follow the steps described in Starting Data Display.


Fitting a Graph Display to its Data

To zoom a graph to fit, first click the zoom to fit button. If it is active, passing the mouse over the button will bring up a tool tip that says "zoom to fit." The button looks like this:

When you have clicked on the button, you will be prompted to select the graph that you wish to zoom to fit. Click the mouse on the display that you wish to zoom to fit, and the graph will re-display itself.


Pausing Data Display

To pause the display of data, simply click on the pause button. Passing the cursor over the active pause button will yield a tool tip that says "pause display." The button looks like this:

When the button has been clicked, the pause button itself will become inactive and the resume button will become active.


Recentering a Graph

To recenter a graph, first click the recenter button. Passing the cursor over the active recenter button yields a tool tip that says "recenter graph." The button looks like this:

When the button is pressed, you will be prompted to select the graph to recenter. To do this, simply click on the graph you desire to recenter. Once this has been done, the prompt will change and instruct you to click on the new center.

The point in the graph that is clicked will become the new center of the graph that you selected, and the graph will re-display itself.


Restoring a Display Format

To restore a display format that was previously saved, select the "Open Display Format" option from the "File" menu. This will open a dialog box that requests the name of the format file to open. This dialog box also presents the file that was last opened during this session, if one exists, in the filename box as a default option.

To accept the filename that the system offers, simply click OK. Otherwise, enter the absolute pathname of the format file, which must be an XML document, that the Oscilloscope should read in. Clicking OK or pressing enter will cause the Oscilloscope to read the selected file and attempt to change its display settings based on information in the file.

Although it is possible to write an XML file describing the display format correctly, it is recommended that this not be done, as attempting to read an ill-formed XML file or one not containing all of the correct data will cause the software to display error messages and not update its display format.


Resume Displaying Data

It is only possible to resume displaying data after the data display has already been paused. Before this time, the resume button is inactive. Passing the cursor over the resume button displays a tool tip that says "resume display." The button looks like this:

Resuming data display affects all running graph frames, just as pause display does.


Saving a Display Format

To save the current display format of the Oscilloscope, select the "Save Format" or "Save Format As" options from the "File" menu. Choosing "Save Format" will over-write the last file whose contents were opened, or if no file has yet been opened in this session, calls "Save Format As."

"Save Format As" opens a dialog box that requests a destination filename for the current display format. This file should include .xml at the end of its name, because the Oscilloscope saves its display formats as XML documents, and this ending will prevent any ambiguity when attempting to read the information back from the file. The behavior of the software the Oscilloscope uses to read XML is not defined when the file lacks an .xml ending, so neither is that of the Oscilloscope. In short, lack of an .xml ending is likely to cause errors in the software.


Setting the Channels Displayed by the Oscilloscope

To select channels for display, click on the "Select Channels for Viewing" option of the "Display" menu. Select the checkboxes that correspond to the ATWD channels that the Oscilloscope should display, and click OK.

Once the active channels have been chosen, the display will change during the next re-drawing of the graph frames.


Setting the Display Rate

To set the refresh rate of the data displays, select the "Set Refresh Rate" option of the "Display" menu. The dialog box that appears will prompt you to enter the time between display refreshes in seconds. The default value for this interval is 0.1 seconds.


Start Displaying Data

To start displaying data in the Oscilloscope, click on the display button. The display button is the only active button in the period after the Dom Select Window finishes. It looks like this:

Clicking this button often causes the software to appear to hang for a few moments, because the initial start-up at this period is quite memory-intensive. Included in this procedure is setting up the main display of the Oscilloscope. Once the initial operations complete, the software should be reasonably responsive.

Finally, it is important to note that once the display has been started, the display button is no longer active, because clicking it once causes all data reading and display processes to begin, and trying to start more such processes after this time would cause control conflicts.


Stepping Through Input Data

The Oscilloscope provides support to walk over a set of input data one record at a time. Stepping through input data, however, is one of the more involved processes in the Oscilloscope. First, select the "Step Through Data" option from the "Display" menu. This menu option will prepare the program to step through the data, but it will not actually cause the software to take the first step.

However, selecting this menu option will cause the "step" button near the bottom of the Oscilloscope, which you may have noticed before, to become active. Once this happens, it is then possible to tell the Oscilloscope to take the first step. At each click of the button, the Oscilloscope will read the next available record from its data stream and display its contents.


Stopping Data Display

To stop the display of data, simply press the stop button. Passing the cursor over the button when it is active displays a tool tip that says "stop accepting data." The button itself looks like this:

The tool tip, which you may think is unusual, is actually quite descriptive of the function of this button. Not only does the button cause the Oscilloscope to stop displaying data, but it also disconnects the Oscilloscope from its data source and returns the user interface back to its original state. In order to read more data after this button has been pressed, it is necessary to go through the entire start-up process again.


Toggelling ATWD Overlap

ATWD overlap means that data from both ATWDs on a DOM is displayed in the same set of graphs. This prevents the user from being able to distinguish in any way which ATWD the data currently being displayed came from. (In fact, the software itself forgets which source it came from as soon as the data is sent to the graph.)

To change the ATWD overlapping in the display, select the "Overlap ATWDs" option from the "Display" menu. This will open a dialog box with a pair of radio buttons, one for separate display and one for overlapped display. Select the desired mode and click OK.


Using the Event Logger

The event logger is one of the most convenient tools that the Oscilloscope has. It allows the user to scroll back over a set of previous entries that represent the major events that have occurred throughout the lifetime of the current process.

The logger has a heirarchy of logging events, with info displaying all of the events recorded by the logger, and fatal displaying only fatal errors. The software writer recommends that the logger always remain on "info" in order to get the greatest benefit from the data that the software reports to the logger without the inconvenience of viewing the system's debug information. The logger contains a record of all data that is displayed to error messages, as well as information about actions taken by the user such as starting specific functions of the Oscilloscope.

To change the level of reporting in the logger, simply click on the pull-down menu to the left of the logger display and select the desired level of reporting.


Using the Single Peak Display

The Single Peak Display is a separate window that is a slave of the main Oscilloscope window. It displays up to 8 peaks, where a peak is defined to be a full "sinusoid" extracted from a parent signal.

To activate this window, select the "Single Peak Display" option from the "Display" menu. This will open the slave window, and will activate the sample button near the bottom of the main window.

Clicking the sample button will cause the Oscilloscope to prompt the user to select a graph. The software will look for the next peak to enter that graph's data stream, and once it finds it, it will be exported to the Single Peak Display window for graphing.


Zooming In on a Graph

To zoom in on a graph, one must click the zoom in button. Passing the cursor over this button causes a tool tip to be displayed, saying "zoom in." The button looks like this:

The zoom in button causes the Oscilloscope to prompt the user to select the graph that should be zoomed. The zoom in function causes the display scale of the selected graph to be reduced by a factor of two. Essentially, everythiny in the display becomes twice the size it used to be.

However, the zoom in function does not take into account the point in the graph that was clicked. Instead, it retains the current center of the graph and zooms in around it. If you wish to zoom in on a particular feature, recenter the graph before zooming in. This restriction will likely change in future versions of the Oscilloscope.


Zooming Out From a Graph

To zoom out from a graph, one must click the zoom out button. Passing the cursor over this button causes a tool tip to be displayed, saying "zoom out." The button looks like this:

The zoom out button causes the Oscilloscope to prompt the user to select the graph that should be zoomed. The zoom out function causes the display scale of the selected graph to increase the display scale by a factor o two. Essentially, everything in the graph becomes half as big as it used to be.

However, the zoom out function does not take into account the point in the graph that was clicked. Instead, it retains the current center of the graph and zooms out around it. If you wish to zoom out starting from a particular point, recenter the graph first. This restriction will likely change in future versions of the Oscilloscope.


FAQ

  1. What can I do if I forget how a particular function works?
    One of two things. Either you can look up how it works in the help files, or you can refer to the instruction box near the bottom of the window. It contains instructions for what to do once you've activated a function that requires more than one step to complete.
  2. Is there any way I can see messages that the logger produced while I had it set to a more exclusive mode?
    Unfortunately, that is not possible with the current setup.
  3. What are the different parts of the Oscilloscope display?
    The following discussion refers to the graphic displayed below.