RETURN

Note: This manual may cover several products or versions of one product.
Other products or versions covered by this manual may still be active.

Model 905 - PC Notebook Comscope™ Portable Protocol Analyzer

Reference Manual



Table of Contents

1.0 Installing the Comscope Unit
2.0 The Electrical Interfaces
3.0 Using the Comscope
4.0 Main Menu Function Keys
5.0 Main Menu
6.0 Submenu Function Keys
7.0 Asynchronous Submenu
8.0 Synchronous Submenu
9.0 HDLC Submenu
10.0 Unknown Submenu
11.0 Search Menu
12.0 View Data Line Activity
13.0 Review Captured Data
14.0 The Print Menu
15.0 BERT
16.0 Emulate Mode
17.0 X.25
18.0 HDLC
19.0 The 'TERM' And 'FOX' Programs
20.0 What If It Doesn't Work?
21.0 Technical Notes
22.0 Help
Warranty



1.0 Installing the Comscope Unit

The Comscope unit simply plugs into one of the printer ports on your PC. Plug the 25 pin 'D' connector into the 25 pin 'D' connector on your PC.
The Comscope software will automatically find which printer port the Comscope is connected to (as long as the unit is turned on.) However, the Comscope software will load slightly faster if you save a new default configuration (see 5.2 below.) Simply go to the HARDWARE menu and hit ENTER to save the address the Comscope software has identified.
You may need to set the mode of your PC's printer port to operate properly with the Comscope. You will need to consult your PC's manual for details on how to do this, since each PC is different. Typically, your PC will display a message like "Hit F1 or Delete for setup" when it is first booting up. The BIOS setup screen will include an option for setting the mode of your printer port. Set the printer port for 'EPP' (Enhanced Parallel Port) if possible, or 'Compatibility mode' if not. The Comscope will not work with 'ECP' mode.

1.1 Installing the Software
Make a copy of the distribution diskette. If you will be running the Comscope from a hard disk then we recommend that you create a separate directory and copy all files from the disk to this directory.
There are three programs on the distribution diskette: CGA.exe, EGA.exe, and MONO.exe. The CGA program will run on CGA, EGA, or VGA displays and uses the 320 x 200 graphics mode for data display. The EGA program will run on EGA or VGA displays and uses the soft font mode for data display. The EGA display shows more data and is somewhat faster. The MONOchrome program is intended for monochrome displays but will also work on color.

1. To make a working copy of the diskette:

2. To install programs on a hard disk:

3. Copy the program for the adapter you are using (CGA, EGA, or Monochrome) to a file named OM.EXE

4. Type OM at the DOS prompt to start the program.

2.0 The Electrical Interfaces

The Comscope directly supports the RS-232, V.35, EIA 530 (RS-422), and RS-485 electrical interfaces. Special cables provide the physical connection between the Comscope and the circuit under test. The Comscope can passively monitor single ended signals like RS-232 in the range of +/- 5 to 15 Volts, or differential signals like RS-422. The Comscope automatically handles either type of signal - you do not need to set or select anything to passively monitor the different electrical interfaces. The Comscope can also emulate either a DTE or DCE in RS-232, V.35, EIA 530, or RS-485. The emulate mode is software selected. See Section 16.0.

The following tables list the signals supported by the Comscope. An 'x' shows those pins that are driven by the Comscope when emulating a DTE or DCE.

RS-232:

Signal Pin DTE DCE
TxD 2 x
RxD 3 x
RTS 4 x
CTS 5 x
DSR 6 x
Ground 7
CD 8 x
TxC 15 x
RxC 17 x
DTR 20 x
RI 22 x
DTExC 24 x (not monitored by Comscope)


V.35

Signal Pin DTE DCE
TxD- 2 x
TxD+ 14 x
RxD+ 3 x
RxD- 16 x
RxC- 17 x
RxC+ 9 x
TxC- 15 x
TxC+ 12 x
RTS 4 x
CTS 15 x
DTR 20 x
DSR 6 x
CD 8 x
RI 22 x


EIA 530 (RS-422)

Signal Pin DTE DCE
TxD- 2 x
TxD+ 14 x
RxD- 3 x
RxD+ 16 x
RxC- 17 x
RxC+ 9 x
TxC- 15 x
TxC+ 12 x
RTS- 4 x
RTS+ 19 x
CTS- 5 x
CTS+ 13 x


RS-485 mode is the same as EIA 530, except that in asynchronous mode the transmitter (TxD or RxD) is turned on when data is transmitted and turned off when the data is fully transmitted. This allows you to emulate 2 wire half-duplex protocols.
The Comscope is shipped with a 'T' cable for tapping into the circuit you are testing. One leg of the 'T' cable plugs into the 25 pin 'D' connector on the rear of the Comscope unit. The data line cable must be disconnected and both ends plugged into the 'T' cable. For instance, you would remove the cable from a modem and then plug the cable and the modem into two connectors on the 'T' cable. The Comscope can then capture and display the activity on the data line.

3.0 Using the Comscope

3.1 Navigating the menus
The Comscope program has been designed to be as self-explanatory as possible without obstructing the experienced user. You select the various operating modes from menus. Each menu screen has a list of key words across the top. You 'pull down' the menu associated with the key words by using the left and right arrow keys at the right of your keyboard. Make sure the 'Num Lock' key is not on. The up and down keys select the particular option within each pull down menu. The selected option is highlighted with a green bar and the cursor will be flashing at the right of the selection. Some menu options allow you to enter a value, such as a Baud rate. Options of this type are prefaced by a ">." Use the up or down arrow key to move the green bar to the "> " then enter the appropriate value from the keyboard. Each menu screen will also list several function keys, which are the F1 through F10 keys along the left side or top of your keyboard. Depressing the appropriate key will immediately execute the indicated action, such as quitting the program (F10.)
The bottom line of each menu screen is the explanation line, which gives a brief description of what each menu means. The line directly above this, which is usually blank, is the error line. If an error occurs, such as entering a file name that is not valid, then an error message will be displayed on this line, which will be accompanied by a beep from the speaker. The ENTER, or RETURN key is used as an 'execute' command. This key is used in several menus throughout the program. The explanation line at the bottom of the screen will indicate the action of the ENTER key for those menus.

3.2 Viewing data line activity
You will likely use the Comscope most often to view activity on a data line. In 'live mode' the Comscope captures data line activity and displays it on the screen as it is happening.
'Capture' means that the Comscope is actually keeping an internal history of that activity, so that you can stop monitoring and look back through the data, in 'review mode.' You may also store this history in a file called a journal file. The data can then be examined at another time and even by another PC. This also allows you to save more data line history than the Comscope can hold in memory. The Comscope can store 64 KBYTES of data, without journalling, before the data is overwritten by new data.
In order to view data line activity you must tell the Comscope what type of data is on the data line. Do this by selecting the mode from the main menu and the parameters within that mode from the individual mode submenus. Once you have selected a data mode, you can save it to a named configuration file for later use or as the configuration the Comscope will default to when first started. The selected mode also identifies the type of data an application program will generate, unless the application program overrides the selected mode. The Comscope does a minimal amount of interpretation of data. It assembles individual bits into characters and identifies certain low level error conditions. In the synchronous protocols, the Comscope delineates data blocks as well. Higher level analysis of line data is accomplished with application programs.

3.3 Setting search sequences
The Comscope provides a powerful aid in looking for specific data line occurrences. You can use the Search Menu to identify certain sequences of events. You can direct the Comscope to highlight data or to freeze the display when the sequence occurs. The Search Menu is also useful in searching through captured data.

3.4 Running an application program
The Comscope includes an Application Program Interface (API) that allows application programs to extend the capabilities of the Comscope. These programs can analyze and generate line data, allowing protocol decode, emulation's, error rate analysis, and more. These application routines must include their own documentation to explain their use. Two programs are included with the Comscope, 'Fox' and 'Term'. Their use is explained in Section 19.
The following sections describe the various menus and what they mean. You may find it helpful to step through the program on your computer as you read the following sections.

4.0 Main Menu Function Keys

4.1 F3 - Review Captured Date
If no application program has been selected, depressing function key F3 will put the Comscope in review mode (Section 13.0), allowing you to review captured data line activity. Captured data remains in memory until overwritten by new data.
Shift F3 Depressing the Shift key and F3 simultaneously will deselect any application routine and enter review mode. Application programs must be de-selected before reviewing captured data.

4.2 Shift F4 - Print Captured Data
Depressing the Shift key and function key F4 simultaneously will bring up the Print menu, which allows you to print a copy of data in the capture buffer. See Section 14.

4.3 F5 - Save Current Configuration
You may generate a named copy of the currently selected configuration for future use as described in Section 5.2 below. Depressing function key F5 will cause a box to appear in the center of the screen. Enter the name you want the configuration saved under. If you enter the name of a configuration that already exists the previous configuration will be overwritten. Do not use any extension (no'.') in the name. The Comscope will save the configuration in a file with the name you selected and the extension "OM2."

4.4 F6 - Define A Search Sequence
The Comscope allows you to set up a sequence of events that it will search for. The sequence may be searched for in live data line activity or in captured data. The search facility may also be used by an application program. Depressing function key F6 will bring up the search menu where the sequence can be set up. See Section 11.

4.5 F7 - Toggle Control Lead Capture
When control lead capture is ON the Comscope will capture all control lead changes as well as displaying them. If control lead capture is OFF the Comscope will display the state of the leads but not capture them, so that control lead changes will not show in a journal file or when Reviewing Captured Data. The control leads are displayed at the lower left of the screen. Inverse video (black letters in a white box) indicates that the control lead is 'on.' while normal video indicates that the lead is 'off' (see Section 2.0). NOTE: There are situations where noise on unused control leads can consume excessive processor time and buffer space and control lead capture must be OFF. Depressing F7 will switch control lead capture ON and OFF as shown to the right of the F7 prompt at the lower middle of the screen.

4.6 F8 - Toggle Time Stamping
When time stamping is enabled, the Comscope will place time stamps in the capture buffer. The time (to 1/100 seconds) will be displayed in the lower right corner of the data screen when in captured mode. Time stamping is given a lower priority than displaying data so that at higher data rates the time stamps may be rather infrequent.
Time stamping can quadruple the size of the real time buffer so you may wish to turn it off when journalling data.
Depressing F8 will switch time stamping ON and OFF as displayed to the right of the F8 prompt at the lower right of the screen.

4.7 F9 - View Data Line Activity
If no application program has been selected (Section 5.3) depressing function key F9 will cause the Comscope to immediately enter live mode to display data line activity (see Section 12).
If an application program has been selected it will be started, with the application directly accessing the serial data line.
Shift - F9 Depressing the Shift key and F9 simultaneously will de-select any application routines and cause the Comscope to enter live mode.

4.8 F10 - Exit Program
Depressing F10 will exit the Comscope program and return control to DOS. This key has this function at all times in the program.

5.0 Main Menu
This screen is entered when the program is first started. You will be in the MODE menu (see Section 5.1 below) when the program starts. This screen has six pull down menus: PROGRAM OPTION, CANNED CONFIGURATION, MODE, HARDWARE ADDRESS, EXAMINE FILE, INTERFACE, and eight function keys, described in Section 4.0.

5.1 Mode
This mode identifies the type of data that is to be monitored or generated: ASYNCHRONOUS, SYNCHRONOUS, HDLC, or UNKNOWN. These modes are described further under the individual submenu for the selected mode.

5.2 Canned Configuration:
The Comscope allows you to have a number of pre-defined named operating modes. These configurations are stored in files names xxxxxx. OM2, where xxxxxx is the file name displayed in this menu. These configurations are generated by depressing function key F5 (Sections 4.3 and 6.4.) The Comscope only displays the configurations found in the current directory. You may also select the ">" option and enter the DOS path name of a configuration file not shown. Do not enter the "OM2" extension.
Depressing function key F9 will load the highlighted configuration and immediately start monitoring or running the selected application program. If you wish to view or change the configuration before monitoring depress ENTER. Depressing the ENTER key will load the configuration and take you to the appropriate submenu.

5.3 Program Option
This menu lists the application programs found in the current directory. Application programs are named xxxxxx. OM4, where xxxxxx is the name displayed in this menu. You may also select the "> " option and enter the DOS path name of an application program not shown. Do not enter the ".OM4" extension. You can also enter the full name (with extension of an application program.) CAUTION: This option will allow you to run any file whether it is a legitimate executable program or not, which may lock up your system or worse.

Once an application routine has been selected, it will replace the normal live or captured mode functions. The application program is started:

1. By hitting function key F9 (Section 4.7.) In this case, the application routine is dealing with live data from and/or to the serial data line.

2. By hitting function key F3 (Section 4.1.) In this case, the application will be receiving data that has previously been captured.

3. By selecting a file from the EXAMINE FILE menu (Section 5.4.) In this case, the application will be receiving data from the selected file.

The source of the data is almost completely transparent to the application. A protocol decode program, for instance, can decode live data or data previously journalled to a file.

5.4 Examine File
This menu lists files of journalled data found in the current directory. Journalled data is stored in files named xxxxxx. OM1, where xxxxxx is the name displayed in this menu. You may also select the ">" option and enter the DOS path name of a file not shown. Do not enter the ". OM1" extension. These files are created by selecting the JOURNAL option from the mode submenus (Sections 7.7, 8.11, 9.7, and 10.7).
If an application program has been selected (Section 5.3), it will process data from the selected file. Not all applications will give meaningful results in this mode. If no application program has been selected you will be able to view the data in captured mode (Section 13.0).
Depressing the ENTER key will cause the Comscope to display a pseudo menu which displays the options which were in effect when the data was recorded. You will be prompted to hit any key, after which the Comscope will enter captured mode or start the selected application program.

5.5 Hardware Address
This menu identifies the hexadecimal base address of the printer port that the Comscope unit is connected to. The Comscope software will display the addresses of all printer ports identified by your PC's BIOS. You may select one of these or enter a different value at the "> " option.
The hardware address is stored in a file called CONFIG.OM3. This file also contains the default configuration that the Comscope will use when first started. To establish a new default configuration you must first select the desired options and then go to this menu. Hit the ENTER key to save the new configuration.

6.0 Submenu Function Keys
The mode submenus are entered by depressing ENTER when in the MODE menu of the main menu (Section 5.1). All four submenus have the same nine function keys defined.

6.1 F2 - Main Menu
Depressing function key F2 will return you to the main menu (Section 5.0.)

6.2 F3 - Review Captured Data
If no application routine has been selected, depressing function key F3 will put the Comscope in review mode (Section 13.0), allowing you to review captured data line activity. Captured data remains in memory until overwritten by new data.
Shift - F3 Depressing the Shift key and F3 simultaneously will deselect any application routine and enter review mode. Application programs must be deselected before reviewing captured data.

6.3 Shift F4 - Print Captured Data
Depressing the Shift key and function key F4 simultaneously will bring up the Print menu, which allows you to print a copy of data in the capture buffer. See Section 14.

6.4 F5 - Save Current Configuration
You may generate a named copy of the currently selected configuration for future use as described in Section 5.2 above. Depressing function key F5 will cause a box to appear in the center of the screen. Enter the name you want the configuration saved under. If you enter the name of a configuration that already exists the previous configuration will be overwritten. Do not use any extension (no '.') in the name. The Comscope will save the configuration in a file with the name you selected and the extension ". OM2."

6.5 F6 - Define A Search Sequence
The Comscope allows you to set up a sequence of events that it will search for. The sequence may be searched for in live data line activity or in captured data. The search facility may also be used by an application program. Depressing function key F6 will bring up the search menu where the sequence can be set up. See Section 11.

6.6 F7 - Toggle Control Lead Capture
When control lead capture is ON the Comscope will capture all control lead changes as well as displaying them. If control lead capture is OFF the Comscope will display the state of the leads but not capture them, so that control lead changes will not show in a journal file or when Reviewing Captured Data. The control leads are displayed at the lower left of the screen. Inverse video (black letters in a white box) indicates that the control lead is 'on,' while normal video indicates that the lead is 'off.' NOTE: There are situations where noise on unused control leads can consume excessive processor time and buffer space and control lead capture must be OFF. Depressing F7 will switch control lead capture ON and OFF as shown to the right of the F7 prompt at the lower middle of the screen.

6.7 F8 - Toggle Time Stamping
When time stamping is enabled, the Comscope will place time stamps in the capture buffer as often as possible. The time (to 1/100 seconds) will be displayed in the lower right corner of the data screen when in captured mode. Time stamping is given a lower priority than displaying data so that at higher data rates the time stamps may be rather infrequent or even non-existent. Time stamping can as much as quadruple the size of the real time buffer so you may wish to turn it off when journalling data. Depressing F8 will switch time stamping ON and OFF as displayed to the right of the F8 prompt at the lower right of the screen.

6.8 F9 - View Data Line Activity
If no application program has been selected (Section 5.3) depressing function key F9 will cause the Comscope to immediately enter live mode to display data line activity. See Section 12.
If an application program has been selected it will be started, with the application directly accessing the serial data line.
Shift - F9 Depressing the Shift key and F9 simultaneously deselect any application routines and cause the Comscope to enter live mode.

6.9 F10 - Exit Program
Depressing F10 will exit the Comscope program and return control to DOS.

7.0 Asynchronous Submenu

This screen is entered by depressing ENTER when ASYNCHRONOUS is selected in the MODE menu in the main menu (Section 5.1). This screen has six pull down menus; SPEED, BITS/CHAR, STOP BITS, PARITY, code, and JOURNAL, and eight function keys.

7.1 General Information
The Comscope samples data with a clock 16 times the bit rate. It expects one start bit and at least one stop bit time. Application programs can generated data with 1, 1.5, or 2 stop bits. Absence of a stop bit is called a framing error. The Comscope expects and generates data with the low order bit transmitted first. Characters with parity or framing errors are displayed in color.

7.2 Speed
This menu selects the bit rate of the data. You may select one of the listed rates or enter the decimal value of a different rate at the "> "option. The maximum rate is 115200. Allowable rates are defined by the formula bit rate = 230400/x where x is an integer (whole number) between 2 and 65535. If you enter a non-allowable rate, it will be mapped to the next higher allowable rate.

7.3 Bits/Char
This menu selects the number of data bits in each character, not including parity, start, or stop bits. If less than 7 bits/characters is selected the unused bits will be displayed as '0's.

7.4 Stop Bits
This menu selects the number of stop bits for data generated by an application program. Asynchronous data can be generated with 1, 1.5, or 2 stop bits. (The Comscope can receive any data with 1 or more stop bits.)

7.5 Parity
If selected, the Comscope will check each data character for either even or odd parity. Characters with bad parity are displayed in color. Application programs can generate data with the parity selected by this menu. The parity bit is the high order bit i.e. the last bit transmitted before the stop bit.
The Comscope includes two other options for handling 9 bit characters. In these protocols, the 9th bit is used to differentiate between data and command characters. The Comscope will display characters with the 9th bit set in color, and characters with the 9th bit equal to zero in normal video. The 'FLGl' option selects data with the 9th bit as the least significant bit (the bit transmitted first), and 'FLGm' selects data with the 9th bit transmitted last (just before the stop bit(s)). Note that the Comscope will not generate 9 bit data.

7.6 Code
The Comscope will display the names of all the code translation files (files with .OM5 extension) in the current directory. Select the name corresponding to the coding of the data you are monitoring. Note that you can switch between hexadecimal and the selected code while monitoring or scrolling through data (Sections 12.5 and 13.12.3.) Data generated by an application program will be translated to the selected code as listed in the tables in the PROGRAMMER'S MANUAL.

7.7 Journal
The Comscope allows you to save a copy of captured line data to a disk file for later analysis (see 5.4 above). Journal files are named xxxxx. OM1, where xxxxx is the name displayed in this menu. This menu displays the names of journal files already existing in the current directory. You may select one of them or enter a new name at the ">" option. Do not enter the ". OM1" extension. Note that if you select a file that already exists the previous data will be overwritten.

8.0 Synchronous Submenu

This screen is entered by depressing ENTER when SYNCHRONOUS is selected in the MODE menu (Section 5.1). This screen has eight pull down menus, code, PAD CHAR, BITS/CHAR, SYNC SEQUENCE, DATA, ORDER, SPEED, and JOURNAL, and eight function keys. The eight function keys functions are described in Section 6 above.

8.1 General Information
The Comscope supports character oriented synchronous protocols such as BiSync. These types of protocols assign special meaning to various characters or character sequences and uses these special characters to delimit data and manage the data link. The Comscope does not support character count protocols such as DEC's DDCMP. The Comscope can be set to search for any 6, 8, 12, or 16 bit synchronization sequence. It will display data received after this sequence until two consecutive PAD characters are not displayed. The Comscope does not check parity or CRC in this mode. The Comscope can support data with the least significant or most significant bit of each character transmitted first. It supports data with normal or inverted polarity.
The Comscope also has two special modes for IBM BiSync and IPARS data. The Comscope will verify the CRC of data frames in these modes. The special modes are selected via the BCC menu, as described below.
Data blocks generated by application programs in synchronous mode will begin with the selected synchronization sequence and end with a two character CRC-16 sequence and at least one pad character. Idle time between frames consists of pad characters. Application programs may also generate synchronous frames without the CRC characters. Note than an application program may override one or more of the options selected.

8.2 Code
The Comscope will display the names of all the code translation files (files with .OM5 extension) in the current directory. Select the name corresponding to the coding of the data you are monitoring. Note that you can switch between hexadecimal and the selected code while monitoring or scrolling through data (Sections 12.5 and 13.12.3). Data generated by an application program will be translated to the selected code as listed in the tables in the APPLICATION manual.

8.3 Parity
The Comscope will check for even or odd parity if selected. Characters with the wrong parity will be displayed in color. The parity bit is in addition to the bits/character selected in 8.6 below. For instance, 7 data bits with even parity is interpreted by the Comscope as 8 bits/character total.

8.4 BCC - Block Check Character
When CRC-16 is selected, the Comscope will interpret line data as IBM BiSync. The Comscope automatically recognizes both transparent and normal data. In this mode, the last character of a frame with CRC will be highlighted if the CRC is correct. If the CRC is not correct, the last character of the frame will be displayed in color. When CRC-6 is selected and Bits/Character is set to 6, the data will be interpreted as IPARS. The last character of frames with CRC will be displayed the same way as BiSync.

8.5 Pad Char
The Comscope interprets two successive pad characters as the end of a block. This menu displays the hexadecimal value of the pad character. You can enter the hexadecimal value of the pad character at the "> " prompt. Note that only the number of bits selected in Section 8.6 below will be significant. Idle time between data blocks generated by an application program will be continuous pad characters.

8.6 Bits
This menu selects the number of data bits in each character. If less than 8 bits per character are selected the unused upper bit(s) will be displayed 0s. Note that the number of bits per character selected also affects the synchronization sequence used, as described in Section 8.5 above.

8.7 Sync
This menu selects the sequence used to establish character synchronization. You may select either a one or a two character sequence. If the number of bits per character is 5 or 6 the synchronization sequence will be one or two bit characters, i.e. 6 or 12 bits long for 7 or 8 bits per character the synchronization sequence will be 8 or 16 bits long. Enter the hexadecimal value of either one or two characters (separated by a comma) at the "> " prompt. If the Comscope does not see a comma in the third position, it will search for a single character synchronization sequence.
Data blocks generated by an application routine will be preceded by the synchronization sequence selected in this menu.

8.8 Data
This menu selects whether the data has normal or inverted polarity. See the page for the electrical interface adapter you are using to identify what normal polarity is. This menu also selects the polarity of the data generated by an application routine.

8.9 Order
This menu selects whether data is transmitted with the least significant or most significant bit first.

8.10 Speed
This menu selects the bit rate of the clock that will be generated by the Comscope when emulating a DCE.

8.11 Journal
The Comscope allows you to save a copy of captured data to a disk file for later analysis. See Section 7.7 above.

9.0 HDLC Submenu
This screen is entered by depressing ENTER when HDLC is selected in the MODE menu (Section 5.1.) This screen has six pull down menus, IDLE, DATA CODING, BITS/CHAR, code, SPEED, and JOURNAL, and eight function keys. The functions of the eight function keys are described in Section 6 above.

9.1 General Information
High level Data Link Control (HDLC) is the frame level definition that is the basis for a number of modern protocols such as SDLC and X.25. There are only two special characters: flag and abort. A flag character is '01111110' and abort is any sequence of 7 or more consecutive '1's. Flag characters are used to delimit a frame of data. The two bytes immediately preceding the closing flag are the CRC error checking bytes. An abort terminates the frame being transmitted and indicates that it is not valid. Zeros are inserted in the data stream after five consecutive '1's so that will never appear as a flag or abort character. The Comscope will display the last character in a frame (normally the second CRC byte) in the opposite type of video from the rest of the frame. If the CRC check is not valid, the last character will be displayed in color. Data frames generated by an application program in HDLC mode will begin with a flag and end with the two byte CRC and a closing flag. Idle line fill is selectable between steady MARK (all '1's) and flags. Application programs can also generate frames with no CRC and frames ending with an abort.

9.2 Idle
This menu selects the idle line fill between frames generated by an application program. The Comscope can generate FLAG characters or constant MARK ('1's) between the data frames.

9.3 Data Coding
The Comscope can monitor or generate data transmitted as Non-Return-to-Zero (NRZ, the normal method) or Non-Return-to-Zero-Inverted (NRZI). NRZI data may be clocked using the external clocks (NRZIc) or the Comscope can derive the clock using a Phase Locked Loop (NRZId). If you select NRZId, you must select the nominal bit rate of the data in Section 9.6 below.

9.4 Bits/Char
This menu selects the number of bits in each character between the opening flag and the two CRC bytes (flag and CRC characters are always 8 bits). If less than eight bits per character is selected, the unused upper bit(s) will be displayed as 0s.

9.5 Code
The Comscope will display the names of all the code translation filed (files with .OM5 extension) in the current directory. Select the name corresponding to the coding of the data you are monitoring. Note that you can switch between hexadecimal and the selected code while monitoring or scrolling through data (Sections 12.5 and 13.12.3). Data generated by an application program will be translated to the selected code as listed in the tables in the APPLICATIONS manual.

9.6 Speed
This menu selects the nominal bit rate when monitoring or generating NRZId coded data (Section 9.3 above). For all other modes, this menu selects the bit rate of the clock that will be generated by the Comscope when used with a DCE type adapter.

9.7 Journal
The Comscope allows you to save a copy of captured data to a disk file for later analysis. See Section 7.7 above.

10.0 Unknown Submenu

This screen is entered by depressing ENTER with UNKNOWN selected in the MODE menu (Section 5.1). This screen has six menus, SPEED, BITS/CHAR, code, DATA, ORDER, JOURNAL, and eight function keys. The functions of the eight function keys are described in Section 6 above.

10.1 General Information
The UNKNOWN mode provides the maximum amount of information when the type of data transfer on a channel is unknown. The unknown mode merely shifts in the specified number of bits and displays them as one character. Either you can use the line clocks or set the Comscope to generate its own internal clock, which will sample the two data, leads at the specified bit rate. An application may also generate data in unknown mode.

10.2 Speed
Select the internal clock rate to be used or select EXT to use the line clock. If send or receive data is not displayed with EXT selected it indicates that the appropriate clock is not present. Selecting one of the other rates sets the Comscope to sample the data leads with its own internal clock, at the specified number of bits/second. You can also enter a rate not shown by entering the decimal value at the ">" prompt. The rate must be an integral multiple of the system clock as explained in Section 7.2 above.

10.3 Bits/Char
This menu selects the number of bits that will be assembled and displayed as one character. If less than 8 bits per character are selected, the unused upper bit(s) will be 0s.

10.4 Code
The Comscope will display the names of all the code translation files (files with .OM5 extension) in the current directory. Select the name corresponding to the coding of the data you are monitoring. Note that you can switch between hexadecimal and the selected code while monitoring or scrolling through data (Sections 12.5 and 13.12.3).
In this mode data codes are likely to produce garbage since there is no character synchronization. However, you may want to use one of these codes with the bit scroll keys in the scroll mode (Section 13.10) to help identify valid data. You can return to this menu and load a different code then redisplay the data in that code by hitting F3.

10.5 Data
This menu selects whether the data is normal or invented polarity. See the page for the electrical interface adapter you are using to identify what normal polarity is. You can change this option when scrolling through captured data to help identify whether data is normal or reverse polarity. Leave scroll mode (Section 13) with function key F2, select the opposite polarity at this menu, then re-enter scroll mode by hitting function key F3.

10.6 Order
This menu selects whether data is transmitted least significant or most significant bit first. You can change this option when scrolling through captured data to help identify whether the data was transmitted least or most significant bit first. Leave scroll mode (Section 13) with function key F3.

10.7 Journal
The Comscope allows you to save a copy of the data you are monitoring to a disk file for later analysis. See Section 7.7 above.

11.0 Search Menu

This screen is entered by depressing F6. This screen consists of four function keys and up to four menus. With this screen you do not select the menus with the left and right arrow keys; they are brought up as needed by the Comscope for additional information. You use the up and down arrow keys as usual to select a trap item from the left menu. Depressing the ENTER key will bring up a menu in the middle of the screen if more sub-options exist. The selected trap item will then appear in the 'menu' at the right, which is really only a list. You scroll through or change this list. You can only add to it or hit function key F6 to erase the list.

11.1 General Information
The search menu allows you to specify a sequence of events for which the Comscope can search. In live mode, you may either highlight data or stop capture when the sequence is found. If you select 'stop capture', the Comscope will stop capture and enter captured mode (Section 13) with the cursor positioned after the search sequence. When a search sequence is in effect there will be an 'S' on the second line from the bottom of the live mode display. The search menu may also be called from captured mode (Section 13.13). In this case the Comscope will search the capture buffer or the specified sequence and put the cursor immediately following the last element of the sequence. If the sequence is not found the cursor will be at the end of the buffer and the 'S' indicator will be on. Each sequence may consist of up to 16 'events' as described below.
Setting up a search sequence is generally an intuitive process, but you should be aware of exactly how the Comscope processes search consequences. The foreground part of the Comscope reads entries out of the capture buffer and displays them on the screen. As it is doing this it compares the entries to the search sequence. If an entry matches the first item in the search sequence the Comscope will then begin comparing with the second item in the sequence, and so on until the last item in the sequence has been found. Certain conditions will cause the Comscope to reset the sequence, that is, go back and start searching for the first event again;