home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cscope.zip / CSDEMO.HLP (.txt) < prev    next >
OS/2 Help File  |  1995-06-19  |  91KB  |  2,866 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Help for Serial Stream Lexical Options ΓòÉΓòÉΓòÉ
  3.  
  4. When COMscope is in the lexical display mode each stream direction (column) can 
  5. be configured to filter and/or process the data as follows: 
  6.  
  7.  1. Data display flow can be caused to break a display "line" and begin to 
  8.     display characters on the next "line" (start a "new-line"). 
  9.  2. The character that is to cause a "new-line" can be defined. 
  10.  3. Lines" that do not contain displayable data can skipped. 
  11.  4. One direction stream (column) can be synchronized to the other stream. 
  12.  5. Lines that are too long to fit within the display colunm width can be made 
  13.     to wrap to the next line. 
  14.  6. Filters can be applied to each character displayed.  The Filters that are 
  15.     avialable are: 
  16.  
  17.     a. Alphabetical character exclusion (e.g., A,B, or A,b). 
  18.     b. Number character exclusion (e.g., 1,2). 
  19.     c. Punctuation character exclusion(e.g., $, %). 
  20.     d. Non-printable character exclusion (e.g., <CR>, <LF>). 
  21.  
  22.     Any filter can be enabled in any combination.  In addition, a character 
  23.     mask can be defined.  When filtering is enabled the defined mask character 
  24.     will be ANDed with the stream character before it is displayed. 
  25.  
  26.  
  27. ΓòÉΓòÉΓòÉ 2. Help for Serial Stream Display Format ΓòÉΓòÉΓòÉ
  28.  
  29. There are two serial stream display formats available: 
  30.  
  31.  1. Time-relational 
  32.  
  33.     In this mode the serial stream is displayed with the receive and transmit 
  34.     streams on alternating horizontal lines.  This type of display shows timing 
  35.     relationships between the transmit and receive serial streams. 
  36.  
  37.  2. Lexical 
  38.  
  39.     In this mode the serial stream is displayed in two columns, the transmitted 
  40.     character in one column (left) and the received characters in the other 
  41.     (right). 
  42.  
  43. You can press the F8 key to toggle between these two display formats, or you 
  44. can select the Options | Stream Display Format menu item and select either 
  45. Lexical or Time-relational. 
  46.  
  47. Note:  When displaying a captured data stream and any synchronization is 
  48.        selected in the lexical display format, toggling between display formats 
  49.        will cause the new display format to be synchronized with the previous 
  50.        display.  For example, a character that is displayed as the first 
  51.        character in the time-relational format display will become the first 
  52.        character displayed in the lexical format. 
  53.  
  54. Related Information: 
  55.  
  56. o Time-relational Display Modes 
  57. o Lexical Display Modes 
  58.  
  59.  
  60. ΓòÉΓòÉΓòÉ 2.1. Help for Time-relational Display Format ΓòÉΓòÉΓòÉ
  61.  
  62. The time-relational display format has two user selectable modes: 
  63.  
  64.  1. Xon or Xoff characters detected in the stream can be high-lighted. 
  65.  
  66.     Whenever Transmit Xon/Xoff handshaking is enabled, and either of the 
  67.     defined Xon or Xoff characters are read from the device, they are marked by 
  68.     the device driver with special tracking information. 
  69.  
  70.     When Receive Xon/Xoff handshaking is enabled the device driver uses the 
  71.     Transmit Byte Immediate function to transmit the currently defined Xon or 
  72.     Xoff character whenever the number of characters in the input buffer 
  73.     crosses a monitored threshold.  The device driver adds special tracking 
  74.     information to any character that is transmitted through the Transmit Byte 
  75.     Immediate function. 
  76.  
  77.     Device driver supplied tracking information allows COMscope to take special 
  78.     action on any character, when required.  Enabling this feature causes these 
  79.     specially marked characters to be displayed in "reverse" video. 
  80.  
  81.  2. The display can be compressed. 
  82.  
  83.     Normally each character to be displayed will be placed on the screen at the 
  84.     next consecutive character position.  In the compressed mode any character 
  85.     that is read from the device (received) immediately following a character 
  86.     that was written to the device (transmitted), will be placed (displayed) at 
  87.     the same horizontal character position as the transmitted character. 
  88.  
  89.     Example: 
  90.  
  91.     The stream 
  92.  
  93.          A T & F & D 2 S 0 = 1OK     OK
  94.         A T & F & D 2 S 0 = 1   +++A/
  95.  
  96.     would be compressed to: 
  97.  
  98.         AT&F&D2S0=1OK    OK
  99.         AT&F&D2S0=1  +++A/
  100.  
  101.  
  102. ΓòÉΓòÉΓòÉ 2.2. Help for Lexical Display Format ΓòÉΓòÉΓòÉ
  103.  
  104. The lexical display mode is primarily intended to display ASCII data, and there 
  105. are a number of user selectable options to support this intention. 
  106.  
  107. The following modes are available: 
  108.  
  109.  1. A "new-line character can be defined. 
  110.  
  111.     Enabling this feature causes the display to be "line" oriented.  When the 
  112.     display is "line" oriented the following features are available: 
  113.  
  114.     a. Lines that contain no displayable characters can be skipped. 
  115.     b. Lines from one stream direction can be synchronized to lines in the 
  116.        other direction. 
  117.     c. Lines that are too long to fit in the current column width can be made 
  118.        to "wrap" to the next line(s). 
  119.  
  120.  2. The following character sets can be filtered from the display: 
  121.  
  122.     a. Alphabetical 
  123.     b. Numerical 
  124.     c. Punctuation 
  125.     d. Non-printable characters 
  126.  
  127.  3. A bit mask to be ANDed with all stream characters can be defined. 
  128.  
  129.  
  130. ΓòÉΓòÉΓòÉ 3. Help for Display Color Selection ΓòÉΓòÉΓòÉ
  131.  
  132. Background and foreground colors for the Status bar at the bottom of the window 
  133. and for all stream displays are user selectable.  To set the color options for 
  134. any screen area place the pointer in the area you want to change and press 
  135. mouse button two.  Select the required color menu item from the pop-up menu. 
  136.  
  137.  
  138. ΓòÉΓòÉΓòÉ <hidden> Help for Display Color Dialog ΓòÉΓòÉΓòÉ
  139.  
  140. Click on a radio button in the a Foreground group to select a color for the 
  141. text of the display element described in the top line of the dialog box. 
  142.  
  143. Click on a radio button for a contrasting color from the a Background group to 
  144. select a background (blank screen color) for the display element described in 
  145. the top line of the dialog box. 
  146.  
  147. Each color group has an Auto push button.  If you click on one of these buttons 
  148. a color contrasting with the color selected in the opposite group will be 
  149. selected for you. 
  150.  
  151.  
  152. ΓòÉΓòÉΓòÉ 4. Help for Keys ΓòÉΓòÉΓòÉ
  153.  
  154. There are five function keys used by COMscope. Use: 
  155.  
  156. F3:       to close COMscope. 
  157.  
  158. F4:       to "toggle" viewing and scrolling of the I/O data stream capture 
  159.           buffer. 
  160.  
  161. F5:       to "toggle" capturing of the I/O data stream. 
  162.  
  163. F6:       to "toggle" "real-time" display of the I/O data stream. 
  164.  
  165. F7:       to "toggle" the status bar message beep. 
  166.  
  167. F8:       to "toggle" the display mode between time-relational and lexical 
  168.           display formats. 
  169.  
  170. F9:       to "toggle" the I/O data stream display font style between ASCII and 
  171.           Hexadecimal. 
  172.  
  173.           When the display is in the column mode pressing the F9 key will cause 
  174.           both the transmit and the receive columns to switch fonts.  If they 
  175.           are different, they will remain different, but be reversed. 
  176.  
  177. F10:      to "toggle" the font size displayed. 
  178.  
  179. F11:      to cause all active status displays for "this" COMscope session to be 
  180.           surfaced (placed in front of all other windows on the desktop). 
  181.  
  182. F12:      to cause all active status displays and all COMscope sessions to be 
  183.           surfaced. 
  184.  
  185.           Note:  Surfacing multiple COMscope sessions is only possible when the 
  186.           /T switch was on the COMscope command line or in the Parameters: 
  187.           field of a COMscope object (icon).  If you have started COMscope 
  188.           sessions with different IPC server names, only those COMscope 
  189.           sessions with the same server name will be surfaced. 
  190.  
  191. There is one other "key" function used by COMscope. 
  192.  
  193. When a device is active the user can select Transmit Next Keystroke from the 
  194. Device | Control menu. When this item is selected, the next keystroke or the 
  195. next "ALT-NUMKEYPAD" key combination will be transmitted. 
  196.  
  197. Any key except the "ENTER" and "BACKSPACE" keys on the alphanumeric portion of 
  198. the keyboard, including shifted characters, can be transmitted (one character 
  199. at a time) by pressing the appropriate key (plus shift key, if required) after 
  200. selecting Transmit Next Keystroke. 
  201.  
  202. Any character value can be transmitted after selecting Transmit Next Keystroke 
  203. by pressing, and holding down, the "ALT" key, pressing and releasing up to 
  204. three numeric keys on the numeric portion of the keyboard (ten-key pad), then 
  205. releasing the "ALT" key. 
  206.  
  207. Examples: 
  208.  
  209. Pressing ALT(3,2) 
  210.           will cause the value 32 (space or 0x20) to be transmitted. 
  211.  
  212. Pressing ALT(2,5,5) 
  213.           will cause the value of 255 (0xFF) to be transmitted. 
  214.  
  215. Pressing ALT(0) 
  216.           will cause the value of zero (NUL or 0x00) to be transmitted. 
  217.  
  218. Pressing ALT(1,3) 
  219.           will cause the value 13 (carriage return or 0x0D) to be transmitted. 
  220.  
  221. Note:  If any hardware output handshaking is enabled and transmitting is 
  222.        stopped because of any inactive handshake signal the keystroke, or 
  223.        combination of keystrokes, will not be transmitted until the appropriate 
  224.        signal, or signals, become active. 
  225.  
  226.  
  227. ΓòÉΓòÉΓòÉ <hidden> Help for Modem Control Signals ΓòÉΓòÉΓòÉ
  228.  
  229. Select the On button for a modem output signal to activate that signal. 
  230.  
  231. Select the Off button for a modem output signal to deactivate that signal. 
  232.  
  233. If a signal group is disabled you will be unable to change the state of that 
  234. signal. 
  235.  
  236. The RTS group will be disabled if RTS Input Handshaking or RTS Toggling on 
  237. Transmit is enabled. 
  238.  
  239. The DTR group will be disabled if DTR Input Handshaking is enabled. 
  240.  
  241. The OUT1 group will be enabled only if the COMi extension Accept Extended Modem 
  242. Controls is enabled. 
  243.  
  244.  
  245. ΓòÉΓòÉΓòÉ 5. Help for COMscope ΓòÉΓòÉΓòÉ
  246.  
  247. COMscope is closely integrated with the COMi Asynchronous Serial Device Driver 
  248. and can be used to access, configure, monitor, and control any COM port to be 
  249. controlled by the COMi device driver. 
  250.  
  251. Use COMscope to monitor communications activity and status of COMi serial 
  252. devices, including all states of the device and device driver, and the device 
  253. I/O stream. 
  254.  
  255. Related Information: 
  256.  
  257. o Selecting Serial Device to Monitor 
  258. o Controlling Monitored Device 
  259. o Configuring Monitored Device 
  260. o Capturing I/O Stream 
  261. o Monitoring Device Status 
  262. o Monitoring I/O Stream 
  263. o Viewing Captured I/O Stream 
  264. o Saving Captured I/O Stream Data 
  265. o Loading Saved Captured I/O Stream Data 
  266. o COMscope Command Line Options 
  267.  
  268. You can also use COMscope to install and/or edit COMi controlled serial device 
  269. initialization parameters. 
  270.  
  271. COMi Device Driver Installation Information: 
  272.  
  273. o Installing a Serial Device 
  274. o Editing a Serial Devices Start-up Configuration 
  275.  
  276.  
  277. ΓòÉΓòÉΓòÉ 5.1. Loading Saved Captured I/O Stream ΓòÉΓòÉΓòÉ
  278.  
  279. Load a previously saved capture buffer by: 
  280.  
  281.  1. Select File 
  282.  2. Select either Load Data 
  283.  
  284. You cannot load a data file when capturing is in progress.  You must first stop 
  285. serial stream capturing. 
  286.  
  287.  
  288. ΓòÉΓòÉΓòÉ 5.2. Saving Captured I/O Stream ΓòÉΓòÉΓòÉ
  289.  
  290. There are two ways to save data captured by COMscope.  You can save existing 
  291. data in the capture buffer, or you can cause captured data to be written to 
  292. disk each time the capture buffer becomes full. 
  293.  
  294. To save data in the capture buffer: 
  295.  
  296.  1. Select File 
  297.  2. Select either Save Data or Save Data As 
  298.  
  299. Serial stream data cannot be saved using this method while capturing is in 
  300. progress.  You must first stop serial stream capturing, then selecting File | 
  301. Save Data 
  302.  
  303. To save data as it is captured: 
  304.  
  305.  1. Select Options 
  306.  2. Select Capture Buffer Processing... 
  307.  
  308. One of the options in the Capture Buffer Processing dialog will enable 
  309. capturing of the serial stream to a series of files.  If this option is 
  310. selected when you select the OK button, you will be prompted for a file "root" 
  311. name to save to.  The file dialog will "suggest" the last root file name and 
  312. path supplied by the user, if any. 
  313.  
  314. If the file name includes an extension of less than four characters, that 
  315. extension will be replaced with "001".  If the file name has an extension of 
  316. more than three characters, or no extension, the extension "001' will be 
  317. appended to the file name.  If the file name has an extension that represents a 
  318. hexadecimal number, that number will be used as the three character extension 
  319. for the first file written.  In all cases, each subsequent file written will 
  320. have a three character extension that represents a hexadecimal number one 
  321. higher than the previously written file. 
  322.  
  323. Examples: 
  324.  
  325.  1. The file name CAPTURE will cause the series CAPTURE.001, CAPTURE.002, 
  326.     CAPTURE.003, etc. to be written each time the capture buffer fills up. 
  327.  
  328.  2. The file name CAPTURE.079 will cause the series CAPTURE.079, CAPTURE.07A, 
  329.     CAPTURE.07B, etc. to be written each time the capture buffer fills up. 
  330.  
  331.  3. The file name CAPTURE.DATA.001 will cause the series CAPTURE.DATA.001, 
  332.     CAPTURE.DATA.002, CAPTURE.DATA.003, etc. to be written each time the 
  333.     capture buffer fills up. 
  334.  
  335. This option can be enabled and/or disabled while serial stream capturing is 
  336. enabled.  Once this options is enabled, the next time the capture buffer fills, 
  337. a new file will be written to disk.  If the number of files written exceeds 
  338. 0xFFF the sequence numbering will be started over at "000".  If the disk the 
  339. files are being written to fills up, capturing will be aborted. 
  340.  
  341.  
  342. ΓòÉΓòÉΓòÉ 5.3. Configuring Monitored Device ΓòÉΓòÉΓòÉ
  343.  
  344. COMscope can be used to configure a COM port, even if that port has been opened 
  345. by another application.  All parameters changed by COMscope will have the same 
  346. effect on a port as if any other application set those parameters.  The user 
  347. can use COMscope to set all parameters that an application can set. 
  348.  
  349. To configure an active COM port: 
  350.  
  351.  1. Select Device 
  352.  2. Select Protocol 
  353.  3. Select one of the following: 
  354.  
  355.    o Baud Rate... 
  356.    o Line Protocol... 
  357.    o Time-outs... 
  358.    o Handshaking... 
  359.    o Stream Filters... 
  360.    o FIFO Control... 
  361.  
  362. Related Information: 
  363.  
  364. o Baud Rate 
  365. o FIFO Processing 
  366. o I/O Stream Filters 
  367. o Handshaking 
  368. o Line Characteristics 
  369. o Time-out 
  370.  
  371.  
  372. ΓòÉΓòÉΓòÉ 5.4. Controlling Monitored Device ΓòÉΓòÉΓòÉ
  373.  
  374. COMscope can be used to control a COM port, even if that port is in use by 
  375. another application.  Any actions taken via COMscope will have the same effect 
  376. on a device as if another accessing application applied that action. 
  377.  
  378. To control an active COM port: 
  379.  
  380.  1. Select Device 
  381.  2. Select Control 
  382.  3. Select one of the following: 
  383.  
  384.    o Select Transmit Next Keystroke to cause the next keystroke, or 
  385.      ALT-NUMKEYPAD combination of keystrokes, to be transmitted via the 
  386.      "Transmit Byte Immediate" DosDevIOCtl function. 
  387.  
  388.    o Select Force Xon/Xoff to force the device driver behave as if one of those 
  389.      characters was received.  Transmit Xon/Xoff handshaking must be enabled 
  390.      for these commands to have an effect on the device driver. 
  391.  
  392.    o Select Transmit Xon/Xoff Now! to cause either the Xon or the Xoff 
  393.      character to be transmitted via the "Transmit Byte Immediate" DosDevIOCtl 
  394.      function. 
  395.  
  396.    o Select Transmit Break to cause a break to be transmitted.  A break will 
  397.      continue to be transmitted until you select Transmit Break again.  A check 
  398.      mark will be indicate that a break is currently being transmitted. 
  399.  
  400.    o Select Flush Buffer to cause either the input (receive) buffer, or the 
  401.      output (transmit) buffer, or both, to be flushed. 
  402.  
  403.    o Select Activate OUT1 to toggle the state of the OUT1 signal.  The presence 
  404.      of a check mark will indicate that the OUT1 signal is active. 
  405.  
  406.      Note:  The Accept Extended Modem Controls extension must have been enabled 
  407.             previous to the current OS/2 session.  See the COMi device driver 
  408.             manual for more information on device driver extensions and how to 
  409.             enable them, or look under Device Driver Extensions in the help 
  410.             index. 
  411.  
  412.  
  413. ΓòÉΓòÉΓòÉ 5.5. Selecting Device to Monitor ΓòÉΓòÉΓòÉ
  414.  
  415. COMscope can be used to monitor and/or control a serial device even if that 
  416. device is currently open for exclusive access by an OS/2 application. 
  417.  
  418. To Monitor a Serial Device: 
  419.  
  420.  1. Select Device 
  421.  2. Select Select Device... 
  422.  3. Select a device to monitor. 
  423.  
  424. Either the currently monitored, or the next COMscope available, serial device 
  425. will be selected upon entry to the dialog box. 
  426.  
  427. Only available COMscope accessible device names will be displayed in the list 
  428. box. 
  429.  
  430. If there are no COMscope accessible serial devices available you will be 
  431. notified upon start-up and the Select Device... menu item will be disabled, as 
  432. will all device monitoring related menu items. 
  433.  
  434.  
  435. ΓòÉΓòÉΓòÉ 5.6. Monitoring Serial Device Status ΓòÉΓòÉΓòÉ
  436.  
  437. COMscope can be used to monitor the various states of a device and the device 
  438. driver.  Monitoring capabilities include the ability to display all of the 
  439. states of the device driver and device hardware in "real-time".  One or more of 
  440. the available port status displays can be open on the desktop at any time. 
  441.  
  442. To Monitor device or device driver states: 
  443.  
  444.  1. Select Device. 
  445.  2. Select Status 
  446.  3. Select one of the following: 
  447.  
  448.    o Select Device Driver Status to see the states of the device driver. 
  449.      Selecting any one of the byte or word fields displayed in this status 
  450.      window will cause a dialog to pop-up that describes the current state and 
  451.      meaning of each bit in that field. 
  452.    o Select Input MODEM Signals to see the states of all MODEM input signals. 
  453.    o Select Output MODEM Signals to see the states of all MODEM output signals. 
  454.    o Select Receive Buffer Status to see input buffer status. 
  455.    o Select Transmit Buffer Status to see output buffer status. 
  456.    o Select Show Captured Counts to display the running character counts for 
  457.      the transmit and receive data streams. 
  458.    o Select Set Update Frequency... to set the refresh rate for status 
  459.      displays. 
  460.    o Select Show All... to show all status displays. 
  461.  
  462.  
  463. ΓòÉΓòÉΓòÉ 5.7. Capturing I/O stream ΓòÉΓòÉΓòÉ
  464.  
  465. COMscope can be used to capture a serial device's I/O data stream.  All 
  466. characters transmitted and received by the monitored serial device can be 
  467. stored in a buffer for later processing. 
  468.  
  469. To capture an I/O stream: 
  470.  
  471.  1. Select Action 
  472.  2. Select Capture Data Stream to toggle capturing of the I/O stream. 
  473.  
  474. Related Information: 
  475.  
  476. o Processing Captured I/O Stream 
  477.  
  478.  
  479. ΓòÉΓòÉΓòÉ 5.8. Processing Captured I/O stream ΓòÉΓòÉΓòÉ
  480.  
  481. COMscope provides two different ways to process, or study, a captured I/O 
  482. stream.  You may want to process the data in other ways. 
  483.  
  484. For instance, you may want to search through the captured data to find a 
  485. specific pattern.  Though we have no immediate plans to include such a feature 
  486. in COMscope, we may include it in a later version.  We did not originally plan 
  487. to include the lexical display mode, but decided to do it after getting many 
  488. requests for such a display mode. 
  489.  
  490. Until we do include some processing feature you may need, the least we can do 
  491. is supply you with the format of the captured data so that you may create any 
  492. tool you may need.  So here it is: 
  493.  
  494. Each character received or transmitted by the COMi device driver is placed in a 
  495. special device driver buffer along with a byte of tracking information. 
  496. Currently there are four different tracking values used by COMscope.  They are: 
  497.  
  498. 0xA0      Indicates that the character was read from the UART. 
  499. 0x90      Indicates that the character was written to the UART. 
  500. 0xB0      Indicates that the character was read as an Xon or Xoff character 
  501.           during Transmit Xon/Xoff Handshake processing. 
  502. 0xC0      Indicates that the character was written to the UART by way of the 
  503.           device drivers Transmit Byte Immediate function. 
  504.  
  505. Each word (16 bit value) is formated with the tracking information in the upper 
  506. byte and the actual character read or written in the lower byte. 
  507.  
  508. Examples: 
  509.  
  510. 0xA020    translates to a space character that was read from the UART 
  511. 0x9041    translates to an ASCII "A" that was written to the UART 
  512. 0xB011    translates to a standard Xon character written to the UART as part of 
  513.           Receive Xon/Xoff Handshake processing 
  514. 0xC013    translates to a standard Xoff character that was read from the UART 
  515.           as part of Transmit Xon/Xoff Handshake processing 
  516.  
  517. FYI:  Any character value transmitted by any application using the Transmit 
  518.       Byte Immediate DosDevIOCtl function will be stored in the COMi COMscope 
  519.       buffer with the tracking value of 0xA5.  Receive Xon/Xoff handshake 
  520.       processing by the COMi device driver uses this mechanism to inject a 
  521.       required handshake signal at the front of the transmit queue, to be 
  522.       written the very next time it is possible to write to the UART transmit 
  523.       hold register. 
  524.  
  525. There is one other way we can help.  On the COMscope distribution diskette 
  526. there is a program called "SPLIT.EXE".  This Program will split a COMScope 
  527. captured data file into two new files.  One of the new files will contain all 
  528. of the received characters from the file that was "split" and the other file 
  529. will contain all of the transmitted characters.  The new files will be named 
  530. with the same root file name as the file that was split with the extention 
  531. ".RD" for the receive character file and the extention ".WRT" for the transmit 
  532. character file.  The name of the file to be split is to be the first parameter 
  533. on the command line.  The output files will contain only the character values 
  534. transmitted or received, with no tracking information. 
  535.  
  536. And another way.  Also included on the distribution diskette is the source code 
  537. (in the "C" language) for SPLIT.EXE.  Not very sopisticated, but it works. 
  538.  
  539.  
  540. ΓòÉΓòÉΓòÉ 5.9. Monitoring/Displaying I/O stream ΓòÉΓòÉΓòÉ
  541.  
  542. COMscope can be used to display serial device's I/O data stream, in 
  543. "real-time".  When I/O stream capturing is enabled the characters stored in the 
  544. capture buffer can be displayed as the are "captured". 
  545.  
  546. To display a serial device's I/O stream: 
  547.  
  548.  1. Select Action 
  549.  2. Select Display Data Stream to toggle "real-time" display of a COM port's 
  550.     I/O stream. 
  551.  
  552. Note:  There are two way to display serial data, lexically or 
  553.        time-relationally. See Configuring Display Options for more details. 
  554.  
  555. Related Information: 
  556.  
  557. o Viewing Captured I/O Stream 
  558. o I/O Stream Display Format 
  559.  
  560.  
  561. ΓòÉΓòÉΓòÉ 5.10. Viewing Captured I/O stream ΓòÉΓòÉΓòÉ
  562.  
  563. COMscope can be used to examine, or "scroll through", a serial device's 
  564. captured I/O stream. 
  565.  
  566. To Examine a captured I/O stream: 
  567.  
  568.  1. Select Action 
  569.  2. Select Examine Data 
  570.  
  571. Use scroll bar(s) to scroll through captured data. 
  572.  
  573. Note:  In order to examine data there must be data available to display, either 
  574.        from data that you have just captured from the serial device, or by 
  575.        loading data previously captured and saved. 
  576.  
  577. o Monitoring I/O Stream 
  578. o I/O Stream Display Format 
  579.  
  580.  
  581. ΓòÉΓòÉΓòÉ 5.11. I/O Stream Display Format ΓòÉΓòÉΓòÉ
  582.  
  583. Any time COMscope is displaying captured data you can change the attributes of 
  584. that display.  Each display window has a Pop-up menu associated with it.  You 
  585. can "pop-up" a display's configuration menu by pressing mouse button two while 
  586. the pointer is over the display window you want configure. 
  587.  
  588. There are two ways to display I/O stream data, either lexically (in columns) or 
  589. time-relationally (in rows).  In the lexical format the transmit stream is 
  590. displayed in the left column and the receive stream is displayed in the right 
  591. column.  The time-relational format displays the received stream in the odd 
  592. rows and the transmit stream in the even rows. 
  593.  
  594. In the lexical mode you can use the Pop-up menu to do the following: 
  595.  
  596.  1. Synchronize the displays 
  597.  2. Call the display processing setup dialog 
  598.  3. Call the display color setup dialog 
  599.  4. Lock the window width 
  600.  5. Set the font to either ASCII or Hexadecimal 
  601.  
  602. In the time-relational mode you can use the Pop-up menu to do the following: 
  603.  
  604.  1. Call the display color setup dialog for the transmit and receive rows 
  605.  2. Cause the stream display to be compressed 
  606.  3. Cause any Xon or Xoff character received or transmitted to be highlighted 
  607.  4. Set the font to either ASCII or Hexadecimal 
  608.  
  609. You can "toggle" between the lexical mode and the time-relational mode either 
  610. by pressing the F8 key or selecting the Stream Display Format menu item under 
  611. the Options menu.  Switching between the two display formats is possible at any 
  612. time. 
  613.  
  614. Related Information: 
  615.  
  616. o Setting Display Colors 
  617. o Setting Lexical Display Processing 
  618. o Display Compression 
  619. o Xon/Xoff Highlighting 
  620. o Display Fonts 
  621. o Column Width Adjusting and Locking 
  622.  
  623.  
  624. ΓòÉΓòÉΓòÉ 5.12. Selecting Display Colors ΓòÉΓòÉΓòÉ
  625.  
  626. There are five different display areas in COMscope: 
  627.  
  628.  1. Lexical transmit column 
  629.  2. Lexical receive column 
  630.  3. Time-relational transmit row 
  631.  4. Time-relational receive row 
  632.  5. Status and information 
  633.  
  634. The foreground and background colors for each of these COMscope display areas 
  635. can be set by the user. 
  636.  
  637. You can set a display area's color combination by opening that area's pop-up 
  638. menu, by placing the pointer over the area, pressing mouse button two, then 
  639. selecting a color option menu item. 
  640.  
  641.  
  642. ΓòÉΓòÉΓòÉ 5.13. Time-relational Display Compression ΓòÉΓòÉΓòÉ
  643.  
  644. When COMscope is in the time-relational display mode, I/O stream characters can 
  645. be displayed either compressed or not compressed. 
  646.  
  647. Normally each character to be displayed will be placed on the screen at the 
  648. next consecutive character position.  In the compressed mode any character that 
  649. is read from the device (received) immediately following a character that was 
  650. written to the device (transmitted), will be placed (displayed) at the same 
  651. horizontal character position as the transmitted character. 
  652.  
  653. Example: 
  654.  
  655. The stream 
  656.  
  657.  A T & F & D 2 S 0 = 1OK     OK
  658. A T & F & D 2 S 0 = 1   +++A/
  659.  
  660. would be compressed to: 
  661.  
  662. AT&F&D2S0=1OK    OK
  663. AT&F&D2S0=1  +++A/
  664.  
  665. You can turn compression on or off by opening the time-relational pop-up menu 
  666. by placing the pointer over the time-relational display window, pressing mouse 
  667. button two, then selecting the Compress Display menu item. 
  668.  
  669. This menu item is a "toggle".  Each time you select this item you will "toggle" 
  670. this display mode to the opposite state.  A check mark will indicate that the 
  671. display is to compress the display. 
  672.  
  673.  
  674. ΓòÉΓòÉΓòÉ 5.14. Selecting Xon/Xoff Highlighting ΓòÉΓòÉΓòÉ
  675.  
  676. When COMscope is in the time-relational display mode, any Xon or Xoff character 
  677. that is received and/or transmited, when the appropriate handshaking is 
  678. enabled, will be displayed with the foreground and background colors reversed. 
  679.  
  680. You can turn Xon/Xoff highlighting on or off by opening the time-relational 
  681. pop-up menu, by placing the pointer over the time-relational display window, 
  682. pressing mouse button two, then selecting the Highlight Xon/Xoff menu item. 
  683.  
  684. This menu item is a "toggle".  Each time you select this item you will "toggle" 
  685. this display mode to the opposite state.  A check mark will indicate that the 
  686. display is to highlight Xon and Xoff characters. 
  687.  
  688.  
  689. ΓòÉΓòÉΓòÉ 5.15. Selecting Display Fonts ΓòÉΓòÉΓòÉ
  690.  
  691. Each display area can display I/O stream data in either of two fonts. 
  692.  
  693. If the ASCII font is selected the values read from and written to the hardware 
  694. will be displayed as ASCII characters.  All normally printable characters will 
  695. show as they would be printed.  All non-printable characters will be displayed 
  696. as their ASCII designated symbol.  All non-ASCII defined values will be 
  697. displayed as hexadecimal values. 
  698.  
  699. If the HEX font is selected all values will be displayed as hexadecimal values. 
  700.  
  701. You can select the font for a stream display area by opening that area's pop-up 
  702. menu, by placing the pointer over the area you want to adjust, pressing mouse 
  703. button two, then selecting the Display Font menu item. 
  704.  
  705.  
  706. ΓòÉΓòÉΓòÉ 5.16. Configuring Lexical Display ΓòÉΓòÉΓòÉ
  707.  
  708. Selecting the Display Process... menu item from a lexical display area (column) 
  709. pop-up menu will cause a display process dialog box to appear.  This dialog box 
  710. will allow you to select and/or set the following features: 
  711.  
  712.  1. Enable a display line to "break" when a user specified character is 
  713.     detected in the stream. 
  714.  2. Specify a "new-line" character value 
  715.  3. Cause "blank lines" to be skipped 
  716.  4. Cause a column's display to be synchronized to the other column. 
  717.  5. Cause lines that would be longer than the display column to wrap to the 
  718.     next line 
  719.  6. Select character display filters 
  720.  7. Specify a character mask to be "ANDed" to each character before it is 
  721.     displayed. 
  722.  
  723. Disabling "new-line" translation will also disable "blank line" skipping, and 
  724. column synchronization.  Since disabling this feature will effectively cause a 
  725. stream to look like one long line, it wouldn't make sense to not wrap that line 
  726. at the end of a column, therefore that feature will also disabled when 
  727. "new-line" translation is disabled. 
  728.  
  729.  
  730. ΓòÉΓòÉΓòÉ 5.17. Setting Lexical Display Column Width ΓòÉΓòÉΓòÉ
  731.  
  732. The width of the columns for the lexical display mode can be adjusted by 
  733. pressing mouse button one when the pointer is over either column display area. 
  734. When the mouse button is pressed the pointer will go to the window edge that 
  735. can be adjusted.  As long as you hold the mouse button down the tracking 
  736. rectangle will remain in view. 
  737.  
  738. You can expand a column's width to the point that the other column is seven 
  739. characters wide.  You can decrease a column's width to zero.  Once you have 
  740. caused a display area to have a width of zero you only need to press mouse 
  741. button one when the pointer is in the remaining column to cause the "zeroed" 
  742. window to expand to the width of seven characters. 
  743.  
  744. Normally, each time you re-size COMscope, the width of each column will be set 
  745. to cover one half of the display area.  However, you can lock the width of any 
  746. one column by opening that column's configuration menu and selecting the Lock 
  747. Window Width menu item. 
  748.  
  749.  
  750. ΓòÉΓòÉΓòÉ 5.18. COMscope Command Line Options ΓòÉΓòÉΓòÉ
  751.  
  752. COMscope command switches begin with either a minus sign (dash) "-" or a 
  753. forward slash "/".  The switch, itself, is not case sensitive, though any 
  754. string following a switch may be case sensitive.. 
  755.  
  756. The following COMscope features can be controlled and/or configured with 
  757. command line switches: 
  758.  
  759. o Profile Name 
  760. o Profile Sequencing 
  761. o Multiple Session Shutdown 
  762. o Capture File Name 
  763.  
  764.  
  765. ΓòÉΓòÉΓòÉ 5.18.1. Setting Startup Profile Name ΓòÉΓòÉΓòÉ
  766.  
  767. If you place /P"My COMscope Profile" after COMscope, on the command line, or in 
  768. the Parameters entry field in the settings notebook, the Profile My COMscope 
  769. Profile will be accessed by that session of COMscope.  If a profile by that 
  770. name does not exist it will be created, and all configuration information for 
  771. that session will be stored there. 
  772.  
  773. This switch will allow you to specify a different profile for different 
  774. COMscope objects or sessions. 
  775.  
  776. If you place a "-" after the "P" (e.g., /P-) COMscope will not access any 
  777. profile and all profile management features will be disabled. 
  778.  
  779. Note:  Profile names supplied on the command line with the /P switch are case 
  780.        sensitive and if there are any spaces or tabs in the name it MUST be 
  781.        quoted (see example, above).  The last /P or /S switch found on the 
  782.        command line will take precedence. 
  783.  
  784. FYI:  COMscope accesses or creates an OS/2 Profile file named COMscope.ini in 
  785.       the directory in which COMscope is located.  Each COMscope profile name 
  786.       created becomes an entry in that file.  COMscope.ini is normally a 
  787.       "hidden" file since OS/2 Profiles are marked as hidden by the Profile 
  788.       API. 
  789.  
  790.  
  791. ΓòÉΓòÉΓòÉ 5.18.2. Enabling Profile Sequencing ΓòÉΓòÉΓòÉ
  792.  
  793. If you place /S"Profile Name" after COMscope, on the command line, or in the 
  794. Parameters entry field in the settings notebook, each new COMscope session 
  795. started from that object will load, or create, the next profile in the series 
  796. Profile Name x.  Where "x" is the number of the COMscope session started. 
  797.  
  798. The first COMscope loaded with the /S switch will have the profile name Profile 
  799. Name 1.  The second will have the name Profile Name 2, and so on.  If no "name" 
  800. follows the /S switch, the default profile name, COMscope, will be used. 
  801.  
  802. This feature will best be used by creating (modifying) a COMscope object with 
  803. the following settings notebook entries: 
  804.  
  805.  1. Place the /S in the Parameters entry field. 
  806.  2. Under the Window tab in the Oblect open behavior group select the Create 
  807.     new window radio button. 
  808. Each time you open a COMscope session from that object a different profile of 
  809. the series will be loaded and acted upon.  In this manner you may open multiple 
  810. sessions, configure each session, and place each required COMscope status 
  811. window.  When you exit each COMscope session the configuration for that session 
  812. can be saved.  Open multiple sessions again and each session can be opened 
  813. again just as it was when you exited. 
  814.  
  815. If you place a "-" after the "S" (e.g., /S-) COMscope will not access any 
  816. profile and all profile management features will be disabled. 
  817.  
  818. Note:  Profile names supplied on the command line with the /S switch are case 
  819.        sensitive and if there are any spaces or tabs in the name it MUST be 
  820.        quoted (see example, above).  The last /P or /S switch found on the 
  821.        command line will take precident. 
  822.  
  823. FYI:  COMscope accesses or creates an OS/2 Profile file named COMscope.ini in 
  824.       the directory in which COMscope is located.  Each COMscope profile name 
  825.       created becomes an entry in that file.  COMscope.ini is normally a 
  826.       "hidden" file since OS/2 Profiles are marked as hidden by the Profile 
  827.       API. 
  828.  
  829.  
  830. ΓòÉΓòÉΓòÉ 5.18.3. Enabling Multi-Session Shutdowns ΓòÉΓòÉΓòÉ
  831.  
  832. If you need to cleanly shut down multiple COMscope sessions you can enable the 
  833. COMscope multiple session shutdown feature by using the "/T" command line 
  834. switch. 
  835.  
  836. When COMscope is started with the "/T" switch on the command line it will 
  837. "logon" to a shutdown server.  Running the program "CONTROL.EXE" with the "/K" 
  838. switch will cause all COMscope sessions "logged on" to be closed. 
  839.  
  840. Closing COMscope in this manner will insure that any capture buffers that are 
  841. supposed to be written to disk WILL be written and that all current 
  842. configuration parameters will be saved.  If a COMscope session is running when 
  843. the system is shutdown there is no gaurentee that all buffers will be written 
  844. to disk as may be desired, or that all COMscope configuration parameters will 
  845. be saved. 
  846.  
  847. If COMscope profiles are enabled, the Automatically Save on Exit option under 
  848. the Options | Manage Profile.. menu item must be selected if you want a 
  849. COMscope session to be closed without prompting you to save the current profile 
  850. (unattended). 
  851.  
  852. The default shutdown server name is "COMscope".  You can specify a different 
  853. server name by placing the name on the command line following the /T switch. 
  854.  
  855. EXAMPLE: [C:\]COMscope /TShutDownOne
  856.  
  857. If you specify a different server name on the COMscope command line you will 
  858. have to specify that same name on the CONTROL.EXE command line with the same /T 
  859. switch followed by the same server name. 
  860.  
  861. EXAMPLE:[C:\]CONTROL /K /TShutDownOne
  862.  
  863. In both cases no white space is allowed in the switch. 
  864.  
  865. Related information: 
  866.  
  867. o Managing COMscope Profiles 
  868.  
  869.  
  870. ΓòÉΓòÉΓòÉ 5.18.4. Specifying Capture File Name ΓòÉΓòÉΓòÉ
  871.  
  872. If you are using COMscope to capture serial stream data you can place the name 
  873. of a capture file to save to on the command line. 
  874.  
  875. Use the "/D" switch to specifiy a capture file name from the COMscope command 
  876. line.  Specifing a Capture file name on the command line will override any 
  877. capture file name saved in a COMscope profile.  In addition, you will not be 
  878. prompted to overwrite any existing file by the same name, in the same location, 
  879. as the file named on the command line. 
  880.  
  881. EXAMPLE: [C:\]COMscope /Dd:\testdat\CAP_1
  882.  
  883. The file name must be a fully qualified file specification and must include a 
  884. path if the file is not to be located in the COMscope directory. 
  885.  
  886. This feature is useful if you want to start up a COMscope session unattended 
  887. and begin to capture I/O stream data to a file. 
  888.  
  889. Related information: 
  890.  
  891. o Managing COMscope Profiles 
  892.  
  893.  
  894. ΓòÉΓòÉΓòÉ 6. Capture Buffer Processing ΓòÉΓòÉΓòÉ
  895.  
  896. There are three Capture buffer processing options: 
  897.  
  898.  1. Write Captured Data to File 
  899.  
  900.     This option will enable capturing of the serial stream to a series of 
  901.     files.  If this option is selected when you select the OK button, you will 
  902.     be prompted for a file "root" name to save to.  The file dialog will 
  903.     "suggest" the last root file name and path supplied by the user, if any. 
  904.  
  905.     If the file name selected/entered includes an extension of less than four 
  906.     characters, that extension will be replaced with "001".  If the 
  907.     selected/entered file name has an extension of more than three characters, 
  908.     or no extension, the extension "001' will be appended to the file name.  If 
  909.     the selected/entered file name has an extension that represents a number, 
  910.     that number will be used as the three character extension for the first 
  911.     file written.  In all cases, each subsequent file written will have a three 
  912.     character extension that represents a number one higher than the previously 
  913.     written file. 
  914.  
  915.     Examples: 
  916.  
  917.     a. The file name CAP_1 will cause the series CAP_1.001, CAP_1.002, 
  918.        CAP_1.003, etc. to be written each time the capture buffer fills up. 
  919.  
  920.     b. The file name CAPTURE.071 will cause the series CAPTURE.071, 
  921.        CAPTURE.072, CAPTURE.073, etc. to be written each time the capture 
  922.        buffer fills up. 
  923.  
  924.     c. The file name CAPTURE.DATA.001 will cause the series CAPTURE.DATA.001, 
  925.        CAPTURE.DATA.002, CAPTURE.DATA.003, etc. to be written each time the 
  926.        capture buffer fills up.  This name is only possible if you are writing 
  927.        the file to an HPFS disk partition.  COMscope will not allow a file name 
  928.        to be used that is not supported by the file system of the target disk 
  929.        partition. 
  930.  
  931.     Once this option is enabled, the next time the capture buffer fills, a new 
  932.     file will be written to disk.  If the number of files written exceeds 999 
  933.     the sequence numbering will be started over at "000".  If the disk the 
  934.     files are being written to fills up, capturing will be aborted. 
  935.  
  936.  2. Stop Capture at End of Buffer 
  937.  
  938.     This option will cause capturing to be aborted when the capture buffer is 
  939.     full. 
  940.  
  941.  3. Wrap Around at End of Buffer 
  942.  
  943.     This option will treat the capture buffer as a circular buffer and 
  944.     continously store the I/O stream.  This process is used mostly when you 
  945.     only need to display the I/O stream in "real-time". 
  946.  
  947. These three options can be selected while serial stream capturing is enabled. 
  948.  
  949. In addition to selecting capture buffer processing you may also set the size of 
  950. the capture buffer.  The capture buffer size may be set only when the Action | 
  951. Capture Data Stream menu item is NOT enabled.  You must stop I/O stream 
  952. capturing to change the capture buffer size. 
  953.  
  954. You can either select one of the buffer sizes presented in the list box or 
  955. enter any buffer size within the limits specified. 
  956.  
  957. FYI  The data stored in the capture buffer consists of a byte of data read from 
  958.      or written to the device and a byte of tracking information for each I/O 
  959.      stream data byte stored.  Each byte of I/O stream data requires two bytes 
  960.      of buffer.  Specifying a capture buffer of 1MB will cause 2MB of memory to 
  961.      be allocated for the buffer. 
  962.  
  963.  
  964. ΓòÉΓòÉΓòÉ <hidden> Help for Trace Update Frequency ΓòÉΓòÉΓòÉ
  965.  
  966. When you enable Capture Data Stream from the Action menu COMscope begins to 
  967. periodically read the device driver's COMscope Trace Buffer.  Capture Update 
  968. Frequency is the period (in milliseconds) the monitor thread sleeps between 
  969. each time it reads the device driver's trace buffer. 
  970.  
  971. Because it may be essential that all characters received and transmitted by an 
  972. application be captured by COMscope, the monitor thread is designated as a 
  973. "time critical task" with the highest priority.  It is important, therefore, 
  974. that the sleep time be as long as allows capturing all of the characters 
  975. received and transmitted.  The value calculated by COMscope is fairly 
  976. conservative in that is assumes there will always be two characters, one 
  977. transmitted and one received, during each character time. 
  978.  
  979. The Capture Update Frequency is calculated by COMscope, using the following 
  980. formula: 
  981.  
  982. T = ((C * 1000) / ((R * 2) / 10)
  983.  
  984. Where "T" is the time (in milliseconds) the monitor thread sleeps between each 
  985. trace buffer read, "C" is the maximun number of characters the device driver 
  986. trace buffer can hold without overflowing, and "R" is the current baud rate 
  987. (bits per second). 
  988.  
  989. The baud rate is multiplied by two to accomodate full duplex transfers and 
  990. divided by ten because eight data bits, one start bit, one stop bit, and no 
  991. parity bit (a total of 10 bits) is assumed. 
  992.  
  993. You may override the COMscope selected frequency to adjust for any differences 
  994. between the assumptions COMscope must make, and your application's 
  995. requirements. 
  996.  
  997. If a periodic rate of less than 100 milliseconds is either calculated by 
  998. COMscope or specified by the user a warning will be displayed in the trace 
  999. update frequency dialog box.  The size of the COMscope trace buffer for each 
  1000. device is configurable from the "Device | Install Device..." menu.  Any changes 
  1001. made while "installing" a device will require a system re-boot to become 
  1002. effective. 
  1003.  
  1004. Note:  When "Action | Display Trace" is selected COMscope will adjust the 
  1005.        Capture Update Frequency to 200 milliseconds, unless the user has 
  1006.        explicitly entered an update frequency. 
  1007.  
  1008.  
  1009. ΓòÉΓòÉΓòÉ <hidden> No COMscope Devices Remain ΓòÉΓòÉΓòÉ
  1010.  
  1011. All serial devices controlled by the COMi device driver have been opened for 
  1012. monitoring by other COMscope sessions. 
  1013.  
  1014. Until one of those other sessions has been closed you will be unable to open a 
  1015. COM port for access by this COMscope session. 
  1016.  
  1017.  
  1018. ΓòÉΓòÉΓòÉ <hidden> COMscope Device not Available ΓòÉΓòÉΓòÉ
  1019.  
  1020. The COMscope port does not exist or is selected by another COMscope session. 
  1021. Select another port for this COMscope session. 
  1022.  
  1023.  
  1024. ΓòÉΓòÉΓòÉ <hidden> No COMscope Device Available ΓòÉΓòÉΓòÉ
  1025.  
  1026. There are no COMscope accessable ports available for access by this COMscope 
  1027. session.  You will only be able to load and examine previously saved capture 
  1028. data in this COMscope session. 
  1029.  
  1030. This session of COMscope can also be used to install and/or configure 
  1031. additional serial device for a later OS/2 session. 
  1032.  
  1033.  
  1034. ΓòÉΓòÉΓòÉ <hidden> No COMscope Devices defined ΓòÉΓòÉΓòÉ
  1035.  
  1036. There are no COMscope accessable serial devices defined for the current OS/2 
  1037. session.  You must use the Device | Device Install... menu item to install and 
  1038. configure serial devices for the COMi device driver before you can use COMscope 
  1039. to monitor or control a serial device. 
  1040.  
  1041.  
  1042. ΓòÉΓòÉΓòÉ <hidden> Overwrite File? ΓòÉΓòÉΓòÉ
  1043.  
  1044. If you select the Yes push button, the file name in the message box will be 
  1045. overwritten.  Any data currently in that file will be destroyed. 
  1046.  
  1047. If you select the No push button, the file select dialog will be displayed to 
  1048. allow you to select another file to write. 
  1049.  
  1050. If you select the Cancel push button, the file will not be written and the 
  1051. dialog will be closed. 
  1052.  
  1053.  
  1054. ΓòÉΓòÉΓòÉ <hidden> Overwrite Capture File? ΓòÉΓòÉΓòÉ
  1055.  
  1056. If you select the Yes push button, the file name in the message box will be 
  1057. overwritten the first time the monitor thread needs to write the Capture Buffer 
  1058. to disk. 
  1059.  
  1060. If you select the No push button, the file select dialog will be displayed to 
  1061. allow you to select another file for writing captured data. 
  1062.  
  1063. If you select the Cancel push button, capture to file will be disabled. 
  1064.  
  1065.  
  1066. ΓòÉΓòÉΓòÉ <hidden> Help for COMscope Profile Manage Dialog ΓòÉΓòÉΓòÉ
  1067.  
  1068. Select a profile name to operate on from the Available Configuration Sets list 
  1069. box. 
  1070.  
  1071. Note:  The currently loaded profile will be automatically selected upon entry 
  1072.        to this dialog box. 
  1073.  
  1074. o Click on the Automatically Save on Exit check box to toggle automatic saving 
  1075.   of the currently loaded profile upon exit from a COMscope session. 
  1076.  
  1077.   Unless you select Automatically Save on Exit you will be asked if you want to 
  1078.   save the current configuration upon exit from this COMscope session.  You 
  1079.   will only be asked if some parameter stored in the profile has changed since 
  1080.   the last save or since this COMscope session began. 
  1081.  
  1082.   If you are using the "shutdown server" feature of COMscope you will want to 
  1083.   enable this option.  Otherwise each COMscope session will prompt for save 
  1084.   instructions when the "kill" command is sent to the server. 
  1085.  
  1086. o Click on the Load Monitor Configurtion check box to toggle loading, on 
  1087.   startup, of the monitor configuration in effect the when you exit this 
  1088.   COMscope session. 
  1089.  
  1090. o Click on the Load Last Window Positions check box to toggle using the last 
  1091.   display and status window positions for the monitor configuration in effect 
  1092.   when you exit this COMscope session. 
  1093.  
  1094.   Note:  The states of these three check boxes will be stored for any profile 
  1095.          selected when the Save push button is selected. 
  1096.  
  1097.   Any changes to these check boxes will be applied to the currently loaded 
  1098.   profile only if you select the Save push button while that profile is 
  1099.   selected in the list box. 
  1100.  
  1101. o Select the Save push button to save the currently selected profile. 
  1102.  
  1103. o Select the Load push Button to load the selected profile. 
  1104.  
  1105. o Select the Delete push Button to delete the selected profile. 
  1106.  
  1107. o Select the New push Button to add a new profile. 
  1108.  
  1109.   The new profile will duplicate the currently loaded profile and become the 
  1110.   "currently loaded" profile for this session of COMscope. 
  1111.  
  1112. o Select the Done push button to exit this dialog box. 
  1113.  
  1114.   Note:  Deleted profiles will will be marked as "deleted" in the list box. 
  1115.  
  1116.   If you select a "deleted" profile the Delete push button will become an 
  1117.   Undelete push button.  You will be able to restore any "deleted" profile by 
  1118.   selecting that profile and selecting the Undelete push button. 
  1119.  
  1120.   All "deleted" profiles will be available for recovery until any currently 
  1121.   active COMscope session is exited.  At that time those profiles marked as 
  1122.   "deleted" will be removed from the COMscope.INI file, forever. 
  1123.  
  1124.  
  1125. Related Information: 
  1126.  
  1127. o Multiple Session Shutdown Server 
  1128.  
  1129.  
  1130. ΓòÉΓòÉΓòÉ <hidden> Help for Profile Delete ΓòÉΓòÉΓòÉ
  1131.  
  1132. Profile management will not let you delete a profile that is in use by this, or 
  1133. any other COMscope session. 
  1134.  
  1135. If you want to delete the currently loaded profile for this COMscope session 
  1136. you must either load a different existing profile or create a new profile 
  1137. first. 
  1138.  
  1139. If you want to delete a profile that is being used another COMscope session you 
  1140. will either have to close that COMscope session or cause that COMscope session 
  1141. to load a different profile. 
  1142.  
  1143. Caution:  COMscope will allow you to load a profile that is being used by 
  1144.           another COMscope session.  Deleteing a profile that is being used by 
  1145.           another COMscope session can have unpredictable results; not 
  1146.           catastrophic, just unpredictable. 
  1147.  
  1148.  
  1149. ΓòÉΓòÉΓòÉ <hidden> Help for New Profile Name ΓòÉΓòÉΓòÉ
  1150.  
  1151. Hey, we had to use some character to mark deleted profiles.  You can use the 
  1152. character, just not for the first character. 
  1153.  
  1154.  
  1155. ΓòÉΓòÉΓòÉ <hidden> Help for Profile Save ΓòÉΓòÉΓòÉ
  1156.  
  1157. You have selected a profile name to be saved a profile other than the profile 
  1158. currently loaded. 
  1159.  
  1160. If you select Yes you will cause the current configuration to overwrite the 
  1161. selected profile. 
  1162.  
  1163. If you select No nothing will be saved or overwritten. 
  1164.  
  1165.  
  1166. ΓòÉΓòÉΓòÉ 7. COMscope Profiles ΓòÉΓòÉΓòÉ
  1167.  
  1168. COMscope includes the ability to save not only your current COMscope session 
  1169. configuration (profile), but any number of session profiles. 
  1170.  
  1171. COMscope session profile access can be managed in three ways: 
  1172.  
  1173.  1. By selection from the Manage Profile... menu item under the Options 
  1174.     heading. The Manage Profile dialog box will allow you to: 
  1175.  
  1176.     a. Save the existing configuration. 
  1177.     b. Create a new name for the existing configuration. 
  1178.     c. Load an existing configuration. 
  1179.     d. Delete a listed configuration. 
  1180.     e. Turn automatic profile save on or off. 
  1181.     f. Cause the loaded profile to start the process that was in effect the 
  1182.        last time COMscope was exited. 
  1183.     g. Cause the last window positions to be used for all COMscope status and 
  1184.        display windows that were open the last time COMscope was exited. 
  1185.  
  1186.  2. By placing the name of a profile on the COMscope command line. 
  1187.  
  1188.    If you place /P"My COMscope Profile" after COMscope, on the command line, or 
  1189.    in the Parameters entry field in the settings notebook, the Profile My 
  1190.    COMscope Profile will be accessed by that session of COMscope.  If a profile 
  1191.    by that name does not exist it will be created, and all configuration 
  1192.    information for that session will be stored there. 
  1193.  
  1194.  3. By placing the /S switch on the COMscope command line. 
  1195.  
  1196.    If you place /S"Profile Name" after COMscope, on the command line, or in the 
  1197.    Parameters entry field in the settings notebook, each new COMscope session 
  1198.    will load, or create, the next profile in the series Profile Name x.  Where 
  1199.    "x" is the number of the COMscope session started. 
  1200.  
  1201.    The first COMscope loaded with the /S switch will have the profile name 
  1202.    Profile Name 1.  The second will have the name Profile Name 2, and so on. 
  1203.    If no "name" follows the /S switch, the default profile name, COMscope, will 
  1204.    be used. This feature will best be used by creating (modifying) a COMscope 
  1205.    object with the following settings notebook entries: 
  1206.  
  1207.        a. Place the /S in the Parameters entry field. 
  1208.        b. Under the Window tab in the Oblect open behavior group select the 
  1209.           Create new window radio button. 
  1210.  
  1211.    Each time you open a COMscope session from that object a different profile 
  1212.    of the series will be loaded and acted upon. 
  1213.  
  1214.    In this manner you may open multiple sessions, configure each session, and 
  1215.    place each required COMscope status window. 
  1216.  
  1217.    When you exit each COMscope session the configuration for that session will 
  1218.    be saved. 
  1219.  
  1220.    Open multiple sessions again and each session will be opened again just as 
  1221.    it was when you exited. 
  1222.  
  1223. Note:  If you place a "-" after the "S" (e.g., /S-) COMscope will not access 
  1224.        any profile and all profile management features will be disabled. 
  1225.  
  1226. Note:  Profile names supplied on the command line with the /P or /S switches 
  1227.        are case sensitive and if there are any spaces or tabs in the name it 
  1228.        MUST be quoted (see example, above).  The last /P or /S switch found on 
  1229.        the command line will take precident. 
  1230.  
  1231. FYI:  COMscope accesses or creates an OS/2 Profile file named COMscope.ini in 
  1232.       the directory in which COMscope is located.  Each COMscope profile name 
  1233.       created becomes an entry in that file.  COMscope.ini is normally a 
  1234.       "hidden" file since OS/2 Profiles are marked as hidden by the Profile 
  1235.       API. 
  1236.  
  1237.  
  1238. ΓòÉΓòÉΓòÉ <hidden> Unknown Initialization File Name ΓòÉΓòÉΓòÉ
  1239.  
  1240. The COMi device driver needs to read an initialization file during system 
  1241. startup to determine the location and configuration of any serial devices it is 
  1242. to control. 
  1243.  
  1244. The name of the file is the name of the device driver file (driver.SYS) with 
  1245. the extention .INI (e.g., driver.INI).  When the device driver is loaded this 
  1246. configuration program can get the name of the initialization file by querying 
  1247. the device driver. 
  1248.  
  1249. If you are reading this message, and you are, then the device driver is not 
  1250. loaded, and you will have to supply a path and file name for the initialization 
  1251. file when the file info dialog is presented (next). 
  1252.  
  1253. You MUST name the file as described above, and supply a complete path to where 
  1254. the device driver file is located in order to complete COMi configuration 
  1255. and/or installation. 
  1256.  
  1257.  
  1258. ΓòÉΓòÉΓòÉ <hidden> TESTCFG device driver not loaded ΓòÉΓòÉΓòÉ
  1259.  
  1260. The configuration program cannot determine the architecture of this machine 
  1261. because the TESTCFG.SYS device driver is not loaded.  The line 
  1262. DEVICE=d:\OS2\BOOT\TESTCFG.SYS is placed in your CONFIG.SYS file during the 
  1263. OS/2 installation process and should not be removed.  It is recommended that 
  1264. you replace the missing line before you shutdown this OS/2 session. 
  1265.  
  1266. For this OS/2 session, you will need to indicate if this machine is an MCA 
  1267. machine.  If you replace the missing TESTCFG line in your CONFIG.SYS, this 
  1268. configuration program will not need to bother you with this question again. 
  1269.  
  1270.  
  1271. ΓòÉΓòÉΓòÉ <hidden> Cannot Open CONFIG.SYS ΓòÉΓòÉΓòÉ
  1272.  
  1273. Your system configuration file (CONFIG.SYS) may have been opened by another 
  1274. process. 
  1275.  
  1276. You may either make the changes to your system configuration file maually or 
  1277. you can close any process that may have the file open and try again. 
  1278.  
  1279. Note:  After you have re-enabled access to your CONFIG.SYS file you can 
  1280.        complete this installation/configuration by selecting the Device | 
  1281.        Install Device... menu again and just clicking on the OK push button 
  1282.        after the dialog box re-appears. 
  1283.  
  1284. All of the configuration paramaters you have just entered will be remembered. 
  1285. You need only to give this process another chance to access your CONFIG.SYS 
  1286. file. 
  1287.  
  1288.  
  1289. ΓòÉΓòÉΓòÉ <hidden> CONFIG.SYS Modification ΓòÉΓòÉΓòÉ
  1290.  
  1291. Each load defined during COMi configuration will require a DEVICE=comdd.SYS 
  1292. statement in your system configuration file (CONFIG.SYS). 
  1293.  
  1294. Selecting the Yes button will cause the required load statements to be added or 
  1295. removed automatically. 
  1296.  
  1297. Selecting the No button will cause this configuration process to leave your 
  1298. CONFIG.SYS file unchanged and you will have to add or remove the required load 
  1299. statements manually. 
  1300.  
  1301. Note:  If you inadvertantly select No you need only enter the 
  1302.        installation/configuration process again and select the OK button to be 
  1303.        asked to make this chioce again. 
  1304.  
  1305.  
  1306. ΓòÉΓòÉΓòÉ <hidden> Help for OEM Interrupt Processing ΓòÉΓòÉΓòÉ
  1307.  
  1308. The adapter you have selected has an interrupt ID register that allows COMi to 
  1309. share one interrupt request (IRQ) line with all of the UARTs on that adapter. 
  1310.  
  1311. For the adapter you selected, the interrupt ID register can be used in two 
  1312. different ways: 
  1313.  
  1314. o To indicate that at least one device on the adapter has an interrupt to be 
  1315.   serviced. 
  1316.  
  1317. o To indicate which device, or devices, are in the interrupt state. 
  1318.  
  1319. You can set the manner in which the ID register is used by selecting the 
  1320. Interrupt Processing Algorithim to be used for this COMi load. 
  1321.  
  1322. There are three choices: 
  1323.  
  1324.  1. Poll active devices. 
  1325.  
  1326.     This method causes each active port to be polled upon entry to the 
  1327.     interrupt routine.  After all devices that have interrupts pending have 
  1328.     been serviced, COMi tests the ID register to see if any new interrupts have 
  1329.     occurred on any device on that adapter. 
  1330.  
  1331.     If the ID register indicates that new interrupts are pending then each 
  1332.     active port is polled again.  This cycle is repeated until the ID register 
  1333.     indicates that no device is in the interrupt state. 
  1334.  
  1335.  2. Select Interrupting Device. 
  1336.  
  1337.     This method causes the interrut ID register to be read upon entry to the 
  1338.     interrupt routine.  The value in the ID register is used to determine which 
  1339.     device to service.  After each interrupting device has been serviced the ID 
  1340.     register is read again to determine if there is another device that needs 
  1341.     service. 
  1342.  
  1343.     If another device needs service, the value in the ID regieter is again used 
  1344.     to determine which device to service.  This process continues until no 
  1345.     device has an interrupt to service. 
  1346.  
  1347.  3. Select upon entry, then poll active devices. 
  1348.  
  1349.     This method starts out like the second method by servicing the highest 
  1350.     priority device as indicated by the ID register upon entry to the interrupt 
  1351.     routine, then polls all active devices until no pending interrupts are 
  1352.     indicated by the ID register. 
  1353.  
  1354. COMi supports two different types of interrupt ID registers: 
  1355.  
  1356. o The most common type is found on Comtrol Hostess adapters, Sealevel Systems 
  1357.   COMM+8 and Turbo COMM+4 adapters, and Quatech QS-XXX and ES-XXX adapters. 
  1358.  
  1359.   The ID register on these adapters use each bit in the ID register to indicate 
  1360.   which device has an interrupt pending.  The first device (lowest I/O base 
  1361.   address) on the adapter will activate bit zero of the ID register when that 
  1362.   device has an interrupt to be serviced. The second device (second lowest I/O 
  1363.   base address) will cause bit one to activate when that device has an 
  1364.   interrupt pending, and so on. 
  1365.  
  1366.   Priority is determined only by bit position; the first device will have the 
  1367.   highest priority and the last device will have the lowest priority.  When the 
  1368.   algorithim choice includes "Selecting" an interrupting device (items two and 
  1369.   three, above), the highest priority device that has an interrupt pending will 
  1370.   be selected and serviced each time the ID register is used to "select" an 
  1371.   interrupting device and indicates there is an interrupt pending. 
  1372.  
  1373. o The second type is used by DigiBoard for their PC/x serial adapters. 
  1374.  
  1375.   The ID register is assisted by a hardware state machine that polls each of 
  1376.   the devices on an adapter.  When a device enters the interrupt state and is 
  1377.   polled by the state machine, an interrupt is raised to the system interrupt 
  1378.   controller.  The ID register value indicates which device is in the interrupt 
  1379.   state.  When that interrupting device has been serviced the state machine 
  1380.   will continue its polling cycle. 
  1381.  
  1382.   When ANY device has an interrupt pending the ID register will contain a value 
  1383.   the indicates the next device in the polling cycle that has an interrupt 
  1384.   pending.  This method prevents any one device from "hogging" the interrupt by 
  1385.   always polling the other devices (in order) on an adapter before comming back 
  1386.   the just serviced device.  The hardware state machine is transparent to the 
  1387.   device driver and is fast enough to insure that no interrupt will be lost. 
  1388.  
  1389.   When a "Polling" algorithim is selected (items one and three, above) the ID 
  1390.   register will be used only to determine that there are NO interrupts pending 
  1391.   before the interrupt routine returns to the operating system, for that cycle 
  1392.   that uses "Polling" of the ID register. 
  1393.  
  1394. Note:  For algorithims that include "Polling", a device is considered active 
  1395.        only if it is currenty "open". 
  1396.  
  1397.  
  1398. ΓòÉΓòÉΓòÉ <hidden> Help for Non-Exclusive Access ΓòÉΓòÉΓòÉ
  1399.  
  1400. Accessing more than one device connected to the same Interrupt Request (IRQ) 
  1401. circuit can cause unpredictable results. 
  1402.  
  1403. If you need simutaneous run-time access to serial devices connected to the same 
  1404. IRQ is recommended that you aquire a serial adapter that supports shared 
  1405. interrupts on ISA machines. 
  1406.  
  1407. Related Information: 
  1408.  
  1409. See Installing ISA Serial Devices for information on installing serial adapters 
  1410. that specifically support shared interrupts on ISA machines. 
  1411.  
  1412.  
  1413. ΓòÉΓòÉΓòÉ <hidden> Help for Shared Access ΓòÉΓòÉΓòÉ
  1414.  
  1415. Connecting two or more devices to the same hardware Interrupt Request circuit 
  1416. (IRQ) can cause unpredictable results. 
  1417.  
  1418. If your hardware supports the electrical characteristics required to allow more 
  1419. than one device to connect to an IRQ it will be safe to use such devices 
  1420. one-at-a-time. 
  1421.  
  1422. If your hardware does not support these electrical characteristics, you could 
  1423. cause your machine to lock-up anytime you access any device connected in this 
  1424. manner. 
  1425.  
  1426. Required Electrical Characteristics: 
  1427.  
  1428. In order to support interrupt connection sharing, a device must not place a 
  1429. load on the IRQ unless interrupts are explicitly enabled for that device. 
  1430.  
  1431. Related Information: 
  1432.  
  1433. See Installing ISA Serial Devices for information on installing serial adapters 
  1434. that specifically support shared interrupts on ISA 
  1435.  
  1436.  
  1437. ΓòÉΓòÉΓòÉ <hidden> Help for Device Hardware Setup Dialog ΓòÉΓòÉΓòÉ
  1438.  
  1439. Use I/O Base Adderess to define a base adderess for the device. 
  1440.  
  1441. Use Entry Base to select a numerical base to display and read the I/O base 
  1442. address. 
  1443.  
  1444. o Select Hexadecimal to to display/read the I/O base as a base 16 number. 
  1445. o Select Decimal to to display/read the I/O base as a base 10 number. 
  1446.  
  1447. Use Interrupt level to select the hardware interrupt level to which the device 
  1448. is connected. 
  1449.  
  1450. Select FIFO Setup to open the hardware FIFO setup dialog box. 
  1451.  
  1452. Note:  If you have selected a specific adpater in the Adpter Set-up dialog box, 
  1453.        you will not be able to select a hardware interrupt level here. 
  1454.  
  1455.  
  1456. ΓòÉΓòÉΓòÉ <hidden> Help for Default Baud Rate Dialog ΓòÉΓòÉΓòÉ
  1457.  
  1458. Select a standard baud rate from the drop down list box. 
  1459.  
  1460. You may enter an unlisted baud rate in the entry field.  If the value you enter 
  1461. is not within 1% of a baud rate the device is capable of, the nearest valid 
  1462. baud rate will be used at system start-up. 
  1463.  
  1464. The current default baud rate will be displayed in the entry box upon entry to 
  1465. the dialog. 
  1466.  
  1467. If you have the device driver extension Explicit Baud Divisor selected for this 
  1468. port, the value you enter will be used as the baud rate divisor for this device 
  1469. and be written directly to the baud rate select registers on the UART. 
  1470.  
  1471. Note:  In order to use the Explicit Baud Divisor feature, the device you are 
  1472.        controlling must be capable of non-standard UART clock rate selection in 
  1473.        hardware.  See your serial adapter documentation for further 
  1474.        information. 
  1475.  
  1476.  
  1477. ΓòÉΓòÉΓòÉ <hidden> Help for Default Protocol Dialog ΓòÉΓòÉΓòÉ
  1478.  
  1479. Select a standard baud rate from the drop down list box. 
  1480.  
  1481. You may enter an unlisted baud rate in the entry field.  If the value you enter 
  1482. is not within 1% of a baud rate the device is capable of, the nearest valid 
  1483. baud rate will be used at system start-up. 
  1484.  
  1485. The current default baud rate will be displayed in the entry box upon entry to 
  1486. the dialog. 
  1487.  
  1488. If you have the device driver extension Explicit Baud Divisor selected for this 
  1489. port, the value you enter will be used as the baud rate divisor for this device 
  1490. and be written directly to the baud rate select registers on the UART. 
  1491.  
  1492. Note:  In order to use the Explicit Baud Divisor feature, the device you are 
  1493.        controlling must be capable of non-standard UART clock rate selection in 
  1494.        hardware.  See your serial adapter documentation for further 
  1495.        information. 
  1496.  
  1497. Select the default line protocol for this device by checking the required 
  1498. buttons. 
  1499.  
  1500. Selecting parity to be Zero will cause the parity bit to be transmitted as a 
  1501. zero, and cause the receiver to expect a zero in the parity bit for any 
  1502. character it receives. 
  1503.  
  1504. Selecting parity to be One will cause the parity bit to be transmitted as a 
  1505. one, and cause the receiver to expect a one in the parity bit for any character 
  1506. it receives. 
  1507.  
  1508.  
  1509. ΓòÉΓòÉΓòÉ <hidden> Help for Device Driver Buffer Setup Dialog ΓòÉΓòÉΓòÉ
  1510.  
  1511. Use the sliders or scroll buttons to select the various COMi device driver 
  1512. buffer sizes.  Deselecting Enable COMscope Access will disable COMscope access 
  1513. to this device for the next OS/2 session. 
  1514.  
  1515. Note:  COMscope access will not be available unless you are configuring or 
  1516.        installing the COMi device driver from within COMscope or from a 
  1517.        COMscope distribution diskette. 
  1518.  
  1519.  
  1520. ΓòÉΓòÉΓòÉ <hidden> Help for Device Configuration Dialog ΓòÉΓòÉΓòÉ
  1521.  
  1522. Use Device Configuration dialog box to set the following device parameters for 
  1523. the device being configured: 
  1524.  
  1525. Use the Device Name field: 
  1526.           To select the DOS name for the device being configured.  This list 
  1527.           box will only display device names that are not already selected for 
  1528.           use by the COMi device driver and are available for installation. 
  1529.  
  1530.           Note:  If you select a device name used by the COM.SYS device driver, 
  1531.                  the COMi device driver will take presedence. 
  1532.  
  1533. Select Hardware...: 
  1534.           To enter a device's I/O base address, select an interrupt level, and 
  1535.           set the start-up defaults for FIFO control (for those devices that 
  1536.           support FIFOs). 
  1537.  
  1538.           Note:  If you have selected a hardware interrupt level for this load 
  1539.                  from the Adpter Set-up dialog box, the hardware interrupt 
  1540.                  level selection field will be disabled. 
  1541.  
  1542. Select Buffers...: 
  1543.           To set the size of transmit, receive, and COMscope buffers the device 
  1544.           driver allocates at initialization and enable or disable COMscope 
  1545.           run-time access.  See COMi Buffer Limits for buffer size limits. 
  1546.  
  1547. Select Handshaking...: 
  1548.           To set startup defaults for the various handshaking protocols 
  1549.           supported by the device driver. 
  1550.  
  1551. Select Timeouts...: 
  1552.           To set default time-out counts and processing for a device. 
  1553.  
  1554. Select Protocols...: 
  1555.           To set the start-up defaults for line characteristics and baud rate. 
  1556.  
  1557. Select Extensions...: 
  1558.           To set select various device driver extensions. 
  1559.  
  1560. Note:  Next to the Device Name field, in red, is a suggested (guessed) I/O base 
  1561.        address and interrupt level.  If you select the OK push button the 
  1562.        values shown there will be used for the device being configured. 
  1563.  
  1564.  
  1565. ΓòÉΓòÉΓòÉ 8. Device Driver Extensions ΓòÉΓòÉΓòÉ
  1566.  
  1567. COMi has evolved over the years while attempting to solve specific problems for 
  1568. our customers.  COMi "extends" the functionality of the serial device driver 
  1569. supplied with OS/2* in the following ways: 
  1570.  
  1571. Allows extended modem controls 
  1572.           Allows an application to have runtime control of the OUT1 and LOOP 
  1573.           signals of the UART. 
  1574.  
  1575. Lets you disable modem interrupts 
  1576.           Modem input signals can be processed with or without interrupts.  The 
  1577.           purpose of this extention is to make it possible to use this device 
  1578.           driver on some adapter boards that do not properly terminate all of 
  1579.           the modem signal input pins of a UART.  Modem signals are still 
  1580.           monitored when this item is selected, just not as efficiently. 
  1581.  
  1582. Lets an application supply an explicit baud divisor 
  1583.           This extension takes advantage of those adapter boards that allow a 
  1584.           user to select non-standard clocks for the UART baud rate generator. 
  1585.  
  1586. Allows an application to disable startup UART tests 
  1587.           This feature can disable extensive testing of the UART and its 
  1588.           connections at initialization, including hardware interrupt 
  1589.           connection, and interrupt ID register functionality. 
  1590.  
  1591. Allows enabling of application specific extensions 
  1592.           An application can use COMi extensions designed for that application. 
  1593.           These extensions are specific to some specialized applications.  If 
  1594.           you are using an application supported by one or more of these 
  1595.           extensions, that application's documentation will explain its usage 
  1596.           of these extensions. 
  1597.  
  1598. Allows activation of the OUT1 signal on startup 
  1599.           This feature forces the OUT1 output signal to the active state during 
  1600.           initialization at system startup. 
  1601.  
  1602.           Note:  Unless you turn off OUT1 via a DosDevIOCtl call when the COMi 
  1603.                  extention Enable Modem Extensions is enabled, OUT1 will remain 
  1604.                  active throughout the life of that OS/2 session. 
  1605.  
  1606. Supports special processing for the Texas Instruments 16C550A/B UART: 
  1607.           This feature allows you to specify that the device you are 
  1608.           configuring COMi for is a Texas Instruments 16C550A or 16C550B UART. 
  1609.           These UARTs require some special processing when the receive FIFO is 
  1610.           enabled.  If the item is not checked when the device is a TI 16C550A 
  1611.           or 16C550B your system WILL lock-up if this device is used with 
  1612.           receive FIFOs enabled. 
  1613.  
  1614. Allows multiple devices to be connected to a single interrupt: 
  1615.           This feature will allow more than one device to share an Interrupt 
  1616.           Request (IRQ) connection. 
  1617.  
  1618.           Note:  When this item has been selected you can also select to allow 
  1619.                  more than one device connected to an interrupt level to be 
  1620.                  open at the same time by disabling exclusive access tests at 
  1621.                  run-time. 
  1622.  
  1623.           Disabling exclusive access tests and opening two ports connected to 
  1624.           the same interrupt level is not recommended, as it is possible for 
  1625.           your system to stop responding to an interrupt level shared in this 
  1626.           manner under certain conditions that may, or may not, be under your 
  1627.           control. 
  1628.  
  1629.  
  1630. Note:  When you are using an adapter that supports shared interrupts you MUST 
  1631.        use the Adpter Set-up button in the Device Install... dialog box to 
  1632.        configure this COMi load for that specific interrupt adapter. 
  1633.  
  1634.  
  1635. ΓòÉΓòÉΓòÉ <hidden> Help for Device Driver Extensions Dialog ΓòÉΓòÉΓòÉ
  1636.  
  1637. Use the Extensions dialog box to select the following extensions for the device 
  1638. being configured: 
  1639.  
  1640. Select Accept Extended Modem Controls: 
  1641.           To allow an application to have runtime control of the OUT1 and LOOP 
  1642.           signals of the UART. 
  1643.  
  1644. Select Disable Modem Interrupts: 
  1645.           To process modem input signals without interrupts.  The purpose of 
  1646.           this extention is to make it possible to use this device driver on 
  1647.           some adapter boards that do not properly terminate all of the modem 
  1648.           signal input pins of a UART.  Modem signals are still monitored when 
  1649.           this item is selected, just not as efficiently. 
  1650.  
  1651. Select Use Explicit Baud Divisor: 
  1652.           To take advantage of those adapter boards that allow a user to select 
  1653.           non-standard clocks for the UART baud rate generator. 
  1654.  
  1655. Select Disable Startup UART tests: 
  1656.           To disable extensive testing of the UART and its connections at 
  1657.           initialization, including hardware interrupt connection, and 
  1658.           interrupt ID register functionality. 
  1659.  
  1660. Select Enable Device Driver Extensions: 
  1661.           To enable application specific COMi extensions.  These extensions are 
  1662.           specific to some specialized applications.  If you are using an 
  1663.           application supported by one or more of these extensions, that 
  1664.           application's documentation will explain its usage of these 
  1665.           extensions. 
  1666.  
  1667. Select Activate OUT1 on Startup: 
  1668.           To force the OUT1 output pin active at initialization. 
  1669.  
  1670.           Note:  Unless you turn off OUT1 via a DosDevIOCtl call when the COMi 
  1671.                  extention Enable Modem Extensions is enabled, OUT1 will remain 
  1672.                  active throughout the life of that OS/2 session. 
  1673.  
  1674. Select Texas Instruments 16C550A/B: 
  1675.           If the device you are configuring is a Texas Instruments 16C550A or 
  1676.           16C550B UART.  These UARTs require some special processing when the 
  1677.           FIFOs are enabled. 
  1678.  
  1679. Select Shared Interrupt Connection: 
  1680.           To allow more than one device to share an Interrupt Request (IRQ) 
  1681.           connection. 
  1682.  
  1683.           Note:  When this item has been selected you can also select to allow 
  1684.                  more than one device connected to an interrupt level to be 
  1685.                  open at the same time by deselecting the Exclusive Access 
  1686.                  check box. 
  1687.  
  1688.           Deselecting Exclusive Access and opening two ports connected to the 
  1689.           same interrupt level is not recommended, as it is possible for your 
  1690.           system to stop responding to an interrupt level shared in this manner 
  1691.           under certain conditions that may, or may not, be under your control. 
  1692.  
  1693.  
  1694. Warning: Unless a serial adapter has specialized hardware it will not be 
  1695. possible to share interrupts in any way.  For this feature to be useful your 
  1696. hardware MUST not load its interrupt request (IRQ) line unless, and until, it 
  1697. has an interupput to be processed.  If the device loads the IRQ when not in the 
  1698. interrupt state then any other device connected to that IRQ will not be able to 
  1699. signal an interrupt to the system interrupt controller. 
  1700.  
  1701. Note:  When you are using an adapter that specifically supports shared 
  1702.        interrupts you MUST use the Adpter Set-up button in the Device 
  1703.        Install... dialog box to configure this COMi load for that specific 
  1704.        interrupt adapter. 
  1705.  
  1706.  
  1707. ΓòÉΓòÉΓòÉ <hidden> Help for Adapter Configuration Dialog ΓòÉΓòÉΓòÉ
  1708.  
  1709. The Adapter Type group is used to select the type (or manufacturer) of the 
  1710. serial adapter for which you are configuring the device driver. 
  1711.  
  1712. Select Comtrol Hostess: 
  1713.           If your are using Comtrol Corporation's four or eight port Hostess 
  1714.           serial adapter, or any adapter that uses the same ISA bus shared 
  1715.           interrupt scheme. 
  1716.  
  1717. Select Sealevel Systems: 
  1718.           If your are using Sealevel Systems' four port Turbo COMM+4, the eight 
  1719.           port COMM+8 serial adapters, or any adapter that uses the same ISA 
  1720.           bus shared interrupt scheme.  Sealevel supplies its adapters to 
  1721.           various distributers under different names.  You would use this 
  1722.           selection for any of those serial adapters. 
  1723.  
  1724. Select Quatech: 
  1725.           If your are using Quatech Incorporated's four port QS-XXX series, or 
  1726.           the eight port ES-XXX series serial adapters, or any adapter that 
  1727.           uses the same ISA bus shared interrupt scheme. 
  1728.  
  1729. Select DigiBoard (PC/4 & 8): 
  1730.           If your are using DigiBoard's four port PC/4, or the eight port PC/8 
  1731.           serial adapters. 
  1732.  
  1733. Select DigiBoard (PC/16): 
  1734.           If your are using DigiBoard's sixteen port PC/16 serial adapter. 
  1735.  
  1736. Select Other: 
  1737.           If your are configuring any serial adapter that does not support 
  1738.           interrupt sharing in hardware.  Selecting this item disables hardware 
  1739.           supported interrupt sharing for this COMi load, and will allow you to 
  1740.           select an interrupt level for each device you define for this load. 
  1741.  
  1742. Use the Interrupt Status/ID Address field to define an interrpt ID register 
  1743. address for the device driver load being configured. 
  1744.  
  1745. Use Entry Base to select a numerical base to display and read the interrupt ID 
  1746. register address. 
  1747.  
  1748. o Select Hexadecimal to to display/read the interrupt ID register address as a 
  1749.   base 16 number. 
  1750. o Select Decimal to to display/read the interrupt ID register address as a base 
  1751.   10 number. 
  1752.  
  1753. Use Interrupt Level to select the hardware Interrupt level to which the adapter 
  1754. is connected. 
  1755.  
  1756. Select the Interrupt Processing Algorithim button to select the manner in which 
  1757. the interrupt Status/ID register will be used to process adapter interrupts. 
  1758.  
  1759.  
  1760. ΓòÉΓòÉΓòÉ <hidden> Help for Device Driver Configuration ΓòÉΓòÉΓòÉ
  1761.  
  1762. The COMi Load group is used to select the following parameters: 
  1763.  
  1764.           This button will open the adapter set-up dialog box.  Use this button 
  1765.           to configure the COMi device driver for your serial adapter.  This 
  1766.           button appears only for ISA serial adapters and is not required for 
  1767.           MCA adapter configuration. 
  1768.  
  1769. Device Driver Load Number 
  1770.           This field is used to select the device driver load number to 
  1771.           configure. 
  1772.  
  1773. Add Load 
  1774.           This button will cause another device driver load to be opened for 
  1775.           device installation. 
  1776.  
  1777. Remove Load 
  1778.           This button will cause the currently selected device driver load to 
  1779.           be deleted. 
  1780.  
  1781.           Note:  You will not be allowed to delete load number one.  If you 
  1782.                  want to remove all COMi loads and remove all DEVICE=comdd.SYS 
  1783.                  statements from your CONFIG.SYS file you will have to delete 
  1784.                  each device from the Device Definitions list box for load 
  1785.                  number one. 
  1786.  
  1787.  
  1788. The Initialization Report group allows the user to select for additional 
  1789. information to be displayed at initialization: 
  1790.  
  1791. Verbose Sign-on 
  1792.           This parameter, when selected, causes the device driver to display 
  1793.           extended information during initialization. 
  1794.  
  1795.  
  1796. Wait for Keystroke or Timeout... 
  1797.           This parameter, when selected, causes the device driver to wait until 
  1798.           either the user presses the ENTER key or the timeout defined in the 
  1799.           next parameter occurs.  This is to allow a user time to read the 
  1800.           extended information displayed when Verbose Sign-on is selected. 
  1801.  
  1802. The list box in the Device Definitions group shows a list of any installed 
  1803. devices for the currently selected device driver load.  Each device driver load 
  1804. can have up to eight serial devices under its control. 
  1805.  
  1806. Each installed device will have the following information: 
  1807.  
  1808. o Device's logical name (COM1 through COM99) 
  1809. o Device's hardware base I/O address 
  1810. o Device's hardware interrupt level 
  1811. o Indicators for any device driver extensions selected for that device 
  1812.  
  1813. You can edit a defined device's configuration either by double clicking the 
  1814. mouse button one on that list item or selecting that device in the list and 
  1815. selecting the Edit Device button. 
  1816.  
  1817. If there are less than eight devices defined you can install a new device by 
  1818. selecting the Add Device button.  If you are installing a sixteen port adapter 
  1819. (i.e., DigiBoards PC/16) the Add Device button will remain enabled until you 
  1820. have installed all sixteen serial devices. 
  1821.  
  1822. You can delete any defined device by selecting that device from the list and 
  1823. selecting the Remove Device button. 
  1824.  
  1825. Click on the OK button to close the dialog box and save the changes just made. 
  1826.  
  1827. Click on the CANCEL button to close the dialog box without saving any changes. 
  1828.  
  1829.  
  1830. ΓòÉΓòÉΓòÉ 9. COMi Buffer Size Limits ΓòÉΓòÉΓòÉ
  1831.  
  1832. COMi buffer sizes can be set to the following: 
  1833.  
  1834. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  1835. ΓöéBuffer  ΓöéminimunΓöédefaultΓöémaximumΓöé
  1836. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1837. ΓöéReceive Γöé1024   Γöé4096   Γöé64k    Γöé
  1838. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1839. ΓöéCOMscopeΓöé1024*  Γöé4096   Γöé32k    Γöé
  1840. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  1841. ΓöéTransmitΓöé128    Γöé256    Γöé8k**   Γöé
  1842. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  1843.  
  1844. *   If COMscope access is disabled no COMscope buffer will be allocated. 
  1845.  
  1846. **  A total of about 63k is available for all transmit buffers for each COMi 
  1847.     load. 
  1848.  
  1849.  
  1850. ΓòÉΓòÉΓòÉ 10. Installing ISA Serial Devices ΓòÉΓòÉΓòÉ
  1851.  
  1852. If you are installing a serial support in an ISA machine and you intend to 
  1853. connect multiple devices to a single hardware interrupt level you need to be 
  1854. aware of the following: 
  1855.  
  1856.  1. Your adapter must have special features to support interrupt sharing. 
  1857.  
  1858.  2. The adapter's special features that allow interrupt sharing must be enabled 
  1859.     and configured correctly. 
  1860.  
  1861.  3. You must know the hardware address of your adapter's interrupt status or ID 
  1862.     register. 
  1863.  
  1864.  4. You must open the adapter set-up dialog by clicking on the Adpter Set-up 
  1865.     button from the Device Install dialog to specify the adapter type, hardware 
  1866.     interrupt level, and address of the interrupt status/ID register in order 
  1867.     to define more than one device to a hardware interrupt level. 
  1868.  
  1869. Note:  Sharing interrupts on an MCA machine requires no special configuation. 
  1870.        Please note, though, that it is not recommended that you connect more 
  1871.        than eight devices to any one hardware interrupt level. 
  1872.  
  1873.  
  1874. ΓòÉΓòÉΓòÉ 11. Installing COMi Print Spooler Support ΓòÉΓòÉΓòÉ
  1875.  
  1876. To install and configure COMi Print Spooler support you must have selected to 
  1877. transfer the spooler support files while installing COMi by selecting the 
  1878. "Print Spooler Utilities" check box in the "Install Options" dialog, and you 
  1879. must have re-booted your machine since that install session. 
  1880.  
  1881. Once you have completed installing the files you will need to do the following: 
  1882.  
  1883.  1. Click mouse button two (usually the right button) on a local printer 
  1884.     object. If you have not created a local printer object yet then you will 
  1885.     need to drag a non-network printer object from the "Templates" folder onto 
  1886.     your desktop. 
  1887.  
  1888.     Note:  If you will be creating a printer object as part of this 
  1889.            installation then skip to item three, as the printer object's 
  1890.            settings notebook will have been presented immediately after you 
  1891.            dragged the object from the "Templates" folder.  You will also have 
  1892.            to select a printer driver and possibly need to set other parameters 
  1893.            in the printer's settings notebook. 
  1894.  
  1895.  2. Select the "Settings" menu item. 
  1896.  
  1897.  3. Click on the "Output" tab. 
  1898.  
  1899.  4. Click mouse button two on any port icon in the container window. 
  1900.  
  1901.  5. Select the "Install" menu item. 
  1902.  
  1903.  6. In the "Directory" entry field enter the following (without the quotes): 
  1904.     "\OS2\DLL", then press the <ENTER> key or select the "Refresh" button. 
  1905.  
  1906.  7. The Spooler software will read each spooler support library in that 
  1907.     directory, including the COMi spooler support library, show an icon in the 
  1908.     container area for each device the spooler support libraries support. 
  1909.  
  1910.  8. Select one, or more, of the COMi Spooler ports and select the "Install" 
  1911.     button. 
  1912.  
  1913.  9. When the Spooler software is finished installing the ports you have 
  1914.     selected it will present a message box indicating thet the ports you 
  1915.     selected have been installed.  Click on the "OK" button. 
  1916.  
  1917. 10. When you are through installing Spooler Ports, click on the "Cancel" 
  1918.     button. 
  1919.  
  1920. 11. You can set the port parameters to match the requirements of a printer by 
  1921.     clicking mouse button two on an icon in the container area and selecting 
  1922.     the "Settings" menu item.  Help for setting port parameters will be 
  1923.     available once you have entered the setup dialog. 
  1924.  
  1925. Once you have installed at least one COMi spooler port in this manner, you will 
  1926. be able to install and delete spooler ports from the COMi Configuration program 
  1927. (either Install or COMscope). 
  1928.  
  1929. Configuration of these ports for printer initialization will always have to be 
  1930. done from the printer object's settings notebook. 
  1931.  
  1932.  
  1933. ΓòÉΓòÉΓòÉ <hidden> Help for Timeout Processing ΓòÉΓòÉΓòÉ
  1934.  
  1935. Use the Read Timeout Processing group to select the type of read time-out 
  1936. processing you need, and to set the read time-out count. 
  1937.  
  1938. Select : 
  1939.  
  1940. Normal read time-out processing: 
  1941.           Causes the device driver to wait up to the designated read time-out 
  1942.           count after each character received before returning to the calling 
  1943.           application. 
  1944.  
  1945.           Upon reception of a read request packet the device driver will first 
  1946.           try to fill the request from the receive buffer.  If all of the bytes 
  1947.           requested are available in the buffer, the device driver will return 
  1948.           immediately.  If all of the requested bytes are not in the buffer, 
  1949.           the device driver will wait for incomming bytes until either the 
  1950.           request is filled (all requested bytes have been placed into the 
  1951.           receive buffer by the hardware) or until more than the time 
  1952.           represented by the read time-out count passes between bytes received 
  1953.           by the hardware. 
  1954.  
  1955. Wait for Something read time-out processing: 
  1956.           Causes the device driver to act like No Wait read time-out processing 
  1957.           only if there are characters available in the buffer when the read 
  1958.           request packet arrives.  In this case the device driver will return 
  1959.           to the calling process, immedialely, with any characters that are 
  1960.           available, up to the number of characters requested.  If there is 
  1961.           nothing in the receive queue when the request packet arrives the 
  1962.           device driver enters Normal read time-out processing and returns only 
  1963.           after either the request is filled (all requested bytes have been 
  1964.           placed into the receive buffer by the hardware) or until more than 
  1965.           the time represented by the read time-out count passes between bytes 
  1966.           received by the hardware. 
  1967.  
  1968. No Wait read time-out processing: 
  1969.           Causes the device driver to transfer up to the requested number of 
  1970.           bytes from the receive buffer and return immediately.  The read 
  1971.           time-out count is ignored. 
  1972.  
  1973.           Upon reception of a read request packet, if no bytes are available 
  1974.           the device driver still returns immediately. 
  1975.  
  1976. Use the Write Timeout Processing group to select the type of write time-out 
  1977. processing you need, and to set the write time-out count. 
  1978.  
  1979. Normal write time-out processing: 
  1980.           Causes the device driver to wait up to the designated write time-out 
  1981.           count for any output handshaking request that caused the device 
  1982.           driver to stop transmitting . 
  1983.  
  1984.           Upon reception of a write request packet the device driver will try 
  1985.           to begin transmitting. If some output handshaking signal (CTS, DSR, 
  1986.           DCD, or reception of an Xoff character) indicates that the device 
  1987.           driver should not be transmitting the device driver will wait up to 
  1988.           the write time-out count for all signals to indicate it is OK to 
  1989.           start transmitting again and all bytes remaining to be transmitted 
  1990.           are transmitted, before returning to the calling application. 
  1991.  
  1992.  
  1993. Infinite write time-out processing: 
  1994.           Causes the device driver to wait forever for a handshaking signal to 
  1995.           indicate that it is OK to transmit.  "Forever" can be limited by 
  1996.           sending a "flush output buffer" command. 
  1997.  
  1998.           Upon reception of a write request packet the device driver will try 
  1999.           to begin transmitting. If some output handshaking signal (CTS, DSR, 
  2000.           DCD, or reception of an Xoff character) indicates that the device 
  2001.           driver should not transmit, the device driver will wait until it has 
  2002.           been signaled to start transmitting again and all bytes remaining to 
  2003.           be transmitted are transmitted, before returning to the calling 
  2004.           application. 
  2005.  
  2006. Timeout Counts 
  2007.  
  2008. Both time-out counts represent the number of ten millisecond intervals to wait, 
  2009. zero based.  For example: a count of 99 will cause the device driver to wait up 
  2010. to one second before returning. 
  2011.  
  2012.  
  2013. ΓòÉΓòÉΓòÉ <hidden> Help for Handshaking ΓòÉΓòÉΓòÉ
  2014.  
  2015. Selecting Transmit Xon/Xoff handshaking will cause the device driver to stop 
  2016. transmitting characters when an Xoff character is received and to start 
  2017. transmitting again when an Xon character is received. 
  2018.  
  2019. Selecting Receive Xon/Xoff handshaking will cause the device driver to transmit 
  2020. an Xoff character when the receive buffer is close to full (off threshold) and 
  2021. to transmit an Xon character when the receive buffer is less than half full (on 
  2022. threshold). 
  2023.  
  2024. Selecting Full Duplex will allow the device driver to continue transmitting 
  2025. after transmitting an Xoff character.  Otherwise the device driver will stop 
  2026. transmitting after transmitting an Xoff character and will begin transmitting 
  2027. againg after it sends an Xon character. 
  2028.  
  2029. When either of the ASCII Handshaking protocols are selected you will be able to 
  2030. enter values for the Xon Character and the Xoff Character. These characters 
  2031. have standard values and should only be changed if you have special 
  2032. requirements.  These values are displayed, and can only be entered, in 
  2033. Hexadecimal (base 16) format. 
  2034.  
  2035. Selecting any of the Output Handshaking signals will cause the device driver to 
  2036. stop transmitting when that signal is detected to be in the inactive, or off, 
  2037. state. 
  2038.  
  2039. Selecting DSR Input Sensitivity will cause the device driver to ignore any 
  2040. bytes received while the DSR signal is detected to be inactive. 
  2041.  
  2042. Selecting RTS or DTR Input Handshaking will cause the device driver to make 
  2043. those respective signals inactive when the receive buffer is close to full (off 
  2044. threshold) and to make them active when the receive buffer is less than half 
  2045. full (on threshold). 
  2046.  
  2047. Selecting RTS Toggling on Transmit will cause the device driver to make RTS 
  2048. active whenever it begins transmitting.  When transmitting has been stopped for 
  2049. approximately 30 milliseconds the device driver will make RTS inactive. 
  2050.  
  2051. Selecting Enable or Disable RTS or DTR will cause those respective signals to 
  2052. be enabled or disabled. 
  2053.  
  2054. Make the required selection by checking the required buttons. 
  2055.  
  2056.  
  2057. ΓòÉΓòÉΓòÉ 12. Help for Menus ΓòÉΓòÉΓòÉ
  2058.  
  2059. Various COMscope modes and functions are selected by using the menu bar. 
  2060.  
  2061. The Following headings are available: 
  2062.  
  2063. o File 
  2064. o Action 
  2065. o Options 
  2066. o Device 
  2067. o Help 
  2068.  
  2069.  
  2070. ΓòÉΓòÉΓòÉ 12.1. Help for File ΓòÉΓòÉΓòÉ
  2071.  
  2072. Use File to load or save a previously captured I/O data stream or to exit 
  2073. COMscope. 
  2074.  
  2075. The possible selections are: 
  2076.  
  2077. Load Data 
  2078.           Load a previously saved I/O data stream capture buffer. 
  2079. Save Data 
  2080.           Save the current contents of an I/O data stream capture buffer. 
  2081. Save Data As 
  2082.           Save the current contents of an I/O data stream capture buffer under 
  2083.           a new file name. 
  2084. Exit 
  2085.           Close this instance of COMscope and return to the OS/2 Desktop. 
  2086.  
  2087.  
  2088. ΓòÉΓòÉΓòÉ 12.2. Help for Action ΓòÉΓòÉΓòÉ
  2089.  
  2090. Use Action to select various I/O data stream processing options for the current 
  2091. active device. 
  2092.  
  2093. The possible selections are: 
  2094.  
  2095. Capture Data Stream 
  2096.           Enables I/O data stream. capturing for the currently active device. 
  2097. Display Data Stream 
  2098.           Enables "real-time" display of the currently active device's data 
  2099.           stream. 
  2100. Examine Data 
  2101.           Enables display and scrolling of the current contents of the I/O data 
  2102.           stream capture buffer. 
  2103. Surface Sessions 
  2104.           Enables user to cause all child windows, either of this COMscope 
  2105.           session, or all COMscope sessions, to be brought to the top on the 
  2106.           desktop. 
  2107.  
  2108.  A check mark appears next to an item that is "toggled" to the active state. 
  2109.  
  2110.  
  2111. ΓòÉΓòÉΓòÉ 12.3. Help for Device ΓòÉΓòÉΓòÉ
  2112.  
  2113. Use Device to select, configure, and control a COM port. 
  2114.  
  2115. The possible selections are: 
  2116.  
  2117. Select Device 
  2118.           Select COM port to "activate" for monitoring and control. 
  2119. Install Device 
  2120.           Install or edit COM port initialization parameters. 
  2121. Status 
  2122.           Monitor various "active" device and device driver states. 
  2123. Control 
  2124.           Control various "active" device and device driver functions and 
  2125.           affect various states of the device and device driver. 
  2126. Protocol 
  2127.           Set "active" COM port online parameters (i.e., line characteristics, 
  2128.           baud rate, etc). 
  2129.  
  2130.  
  2131. ΓòÉΓòÉΓòÉ 12.4. Help for Options ΓòÉΓòÉΓòÉ
  2132.  
  2133. Use Options to select or toggle various device monitoring options. 
  2134.  
  2135. The Options are: 
  2136.  
  2137. Capture Buffer Setup... 
  2138.     Allows you to define I/O data stream capture buffer size and processing. 
  2139. Capture Update Frequency... 
  2140.     Allows the user to specify how often COMscope reads the device driver's 
  2141.     COMscope trace buffer. 
  2142.  
  2143.     Normally the amount of time between COMscope reads of the trace buffer is 
  2144.     calculated by COMscope and is based on the baud rate and the size of the 
  2145.     COMscope buffer defined within the device driver.  The value calculated is 
  2146.     conservative, in that it is assumed that data will be streamed continously 
  2147.     in both the transmit and receive directions. 
  2148.  
  2149.     The user may be better able to judge the maximun throughput required and, 
  2150.     therefore, be able to select a more efficient time-out value.  In any case, 
  2151.     if the user enables the Display Data Stream mode, the time-out will be 
  2152.     adjusted to a maximum of 200 milliseconds. 
  2153.  
  2154.  
  2155. Stream Display Format 
  2156.     Allows the user to switch the display between the lexical and 
  2157.     time-relational formats.  The user can also press the F8 function key to 
  2158.     "toggle" display formats. 
  2159. Sticky Pop-up Menus 
  2160.     Allows the user to set the response attributes of all pop-up menus to: 
  2161.  
  2162.     1. Cause the pop-up menu to stay where it appeared when first invoked, 
  2163.        until the user has either: 
  2164.  
  2165.        a. Selected an item 
  2166.        b. Clicked mouse button one somewhere other than on the menu 
  2167.        c. Pressed the ESCAPE key 
  2168.  
  2169.     2. Cause the pop-up menu to stay up only as long as the user holds down the 
  2170.        mouse button that was used to invoke the menu (mouse button two). 
  2171.  
  2172.        Note:  If this attribute is selected the user can cancel without 
  2173.               selecting an item in the menu by moving the pointer off the menu 
  2174.               and releasing the mouse button. 
  2175.  
  2176.  
  2177. Manage Profile... 
  2178.     Opens COMscope profile management dialog. 
  2179.  
  2180. A check mark appears next to those items that are "toggled" to the active 
  2181. state. 
  2182.  
  2183.  
  2184. ΓòÉΓòÉΓòÉ 12.4.1. Help for Select Device ΓòÉΓòÉΓòÉ
  2185.  
  2186. Use the Select Device menu item to bring up the COMscope device selection 
  2187. dialog. 
  2188.  
  2189. The COMscope device selection dialog presents a drop down list of currently 
  2190. available COMscope devices.  Only one COMscope session may access any single 
  2191. serial device. 
  2192.  
  2193.  
  2194. ΓòÉΓòÉΓòÉ 13. Editing Serial Device Startup Parameters ΓòÉΓòÉΓòÉ
  2195.  
  2196. To edit serial device's configuration: 
  2197.  
  2198.  1. Select Device 
  2199.  2. Select Install Device 
  2200.  3. Select a device to edit. 
  2201.  
  2202. Various COMi device driver startup parameters can be changed from the defaults 
  2203. selected by OS/tools. 
  2204.  
  2205. The parameters that can be changed are: 
  2206.  
  2207.  1. Initial baud rate 
  2208.  2. Initial line characteristics 
  2209.  3. Initial time-out processing 
  2210.  4. Initial handshake processing 
  2211.  5. Initial FIFO setup 
  2212.  6. Transmit, receive, and COMscope buffer sizes 
  2213.  7. Various extensions 
  2214.  
  2215. The parameters noted as "initial" settings can be changed at runtime by any 
  2216. application.  Some of these parameters will be returned the inital value 
  2217. whenever a first level DosOpen is processed for a device. 
  2218.  
  2219.  
  2220. ΓòÉΓòÉΓòÉ 14. Installing Serial Devices ΓòÉΓòÉΓòÉ
  2221.  
  2222. To install or configure a serial device: 
  2223.  
  2224.  1. Select Device 
  2225.  2. Select Install Device 
  2226.  
  2227. To install a device you must select at least an I/O base address, an interrupt 
  2228. level, and a DOS (COMx) device name. 
  2229.  
  2230. Related Information: 
  2231.  
  2232. Installing ISA Serial Devices 
  2233.  
  2234.  
  2235. ΓòÉΓòÉΓòÉ <hidden> Help for File Select ΓòÉΓòÉΓòÉ
  2236.  
  2237. Use Select File... to select a filename to process: 
  2238.  
  2239.  1. Select the down arrow to the right of the Drive list to display all the 
  2240.     drives on your system. 
  2241.  2. Select a drive from the Drive list. 
  2242.  3. Select a directory from the Directory list. 
  2243.  4. Select a file name from the File list or type in a file name. 
  2244.  5. Select the OK pushbutton to except the file selected. 
  2245.  
  2246. For a detailed explanation of each field, select from the list below: 
  2247.  
  2248. o Select file name 
  2249. o Type of file 
  2250. o Drive 
  2251. o File 
  2252. o Directory 
  2253. o OK 
  2254. o Cancel 
  2255.  
  2256.  
  2257. ΓòÉΓòÉΓòÉ <hidden> Help for Open Filename ΓòÉΓòÉΓòÉ
  2258.  
  2259. Type the name of the file you want to select in the Open filename field and 
  2260. select the OK pushbutton. 
  2261.  
  2262.  
  2263. ΓòÉΓòÉΓòÉ <hidden> Help for Type of File ΓòÉΓòÉΓòÉ
  2264.  
  2265. Select the down arrow to the right of the Type of file field to display the 
  2266. available file types. 
  2267.  
  2268.  
  2269. ΓòÉΓòÉΓòÉ <hidden> Help for Drive ΓòÉΓòÉΓòÉ
  2270.  
  2271. The Drive list displays the drives on your system.  Select the drive that 
  2272. contains the files you want to view. 
  2273.  
  2274.  
  2275. ΓòÉΓòÉΓòÉ <hidden> Help for File ΓòÉΓòÉΓòÉ
  2276.  
  2277. The File list displays all the files in the directory you selected from the 
  2278. Directory list.  Select the file you want to process. 
  2279.  
  2280.  
  2281. ΓòÉΓòÉΓòÉ <hidden> Help for Directory ΓòÉΓòÉΓòÉ
  2282.  
  2283. The Directory list displays the directories on the selected drive.  Select a 
  2284. directory to display the list of files from that directory in the File list 
  2285. box. 
  2286.  
  2287.  
  2288. ΓòÉΓòÉΓòÉ <hidden> Help for OK ΓòÉΓòÉΓòÉ
  2289.  
  2290. Select OK to accept all information in the window and remove the window from 
  2291. the screen. 
  2292.  
  2293.  
  2294. ΓòÉΓòÉΓòÉ <hidden> Help for Cancel ΓòÉΓòÉΓòÉ
  2295.  
  2296. Select Cancel to remove the window from the screen without completing any 
  2297. action or saving any changes. 
  2298.  
  2299.  
  2300. ΓòÉΓòÉΓòÉ <hidden> Help for Input Stream Filtering ΓòÉΓòÉΓòÉ
  2301.  
  2302. Select Enable Error Replacement Character to cause the device driver to replace 
  2303. any character received with a parity or overrun error with the currently 
  2304. defined Error Replacement Character. 
  2305.  
  2306. When Enable Error Replacement Character is enabled you can enter an Error 
  2307. Replacement Character value.  This value can only be entered in Hexadecimal 
  2308. (base 16) format. 
  2309.  
  2310. Select Enable Break Replacement Character to cause the device driver to replace 
  2311. any character received during a transition to the break condition with the 
  2312. currently defined Break Replacement Character. 
  2313.  
  2314. When Enable Break Replacement Character is enabled you can enter a Break 
  2315. Replacement Character value.  This value can only be entered in Hexadecimal 
  2316. (base 16) format. 
  2317.  
  2318. Select Enable NULL Striping to cause device driver to NOT place received NULL 
  2319. characters (zeros) into the receive buffer. 
  2320.  
  2321.  
  2322. ΓòÉΓòÉΓòÉ <hidden> Help for Line Protocol ΓòÉΓòÉΓòÉ
  2323.  
  2324. Select the line protocol for this device by checking the required buttons. 
  2325.  
  2326. Selecting parity to be Zero will cause the parity bit to be transmitted as a 
  2327. zero, and cause the receiver to expect a zero in the parity bit for any 
  2328. character it receives. 
  2329.  
  2330. Selecting parity to be One will cause the parity bit to be transmitted as a 
  2331. one, and cause the receiver to expect a one in the parity bit for any character 
  2332. it receives. 
  2333.  
  2334.  
  2335. ΓòÉΓòÉΓòÉ <hidden> Help for Hardware Buffer Control ΓòÉΓòÉΓòÉ
  2336.  
  2337. Select the required FIFO Control parameters by checking the required button. 
  2338.  
  2339. When Automatic Protocol Override is selected the device driver will 
  2340. automatically disable the receive FIFO whenever Receive Xon/Xoff handshaking, 
  2341. RTS or DTR Input Handshaking, or DTR Input Sensitivity are enabled, and disable 
  2342. the transmit FIFO whenever any Output Handshaking is enabled. 
  2343.  
  2344. Select the required FIFO depth by checking the required buttons. 
  2345.  
  2346. Note:  The COMi device driver has sufficient handshanking threshold padding to 
  2347.        accomodate bytes received in the FIFO after a handshake signal occurs. 
  2348.        Unless your application MUST stop receiving and/or transmitting on 
  2349.        exactly the byte received and/or transmitted when a handshake signal is 
  2350.        detected it is recommended that Enable FIFO be selected. 
  2351.  
  2352.  
  2353. ΓòÉΓòÉΓòÉ <hidden> Help for Baud Rate Selection ΓòÉΓòÉΓòÉ
  2354.  
  2355. Select a standard baud rate from the drop down list box. 
  2356.  
  2357. You may enter a non-standard baud rate in the entry field.  If the value you 
  2358. enter is not within 1% of a baud rate the device is capable of, it will be 
  2359. rejected. 
  2360.  
  2361. If you have Explicit Baud Divisor selected for this port, the value you enter 
  2362. will be used as the baud rate divisor for this device. 
  2363.  
  2364. In order to use the Explicit Baud Divisor feature, the device you are 
  2365. controlling must be capable of non-standard UART clock rate selection in 
  2366. hardware.  See your serial adapter documentation for further information. 
  2367.  
  2368.  
  2369. ΓòÉΓòÉΓòÉ 15. Communications Concepts ΓòÉΓòÉΓòÉ
  2370.  
  2371. This section is a "catch-all" for any information we thought may be helpful. 
  2372.  
  2373. Concepts: 
  2374.  
  2375. o Automatic Protocol Override 
  2376. o Baud Rate 
  2377. o I/O Stream Filtering 
  2378. o Communications Handshaking 
  2379. o Line Characteristics 
  2380. o Device Driver Wait States 
  2381.  
  2382.  
  2383. ΓòÉΓòÉΓòÉ 15.1. Device Driver Wait States ΓòÉΓòÉΓòÉ
  2384.  
  2385. Whenever an application reads from or writes to a COM port the device driver 
  2386. may block the thread that calls the DosRead or DosWrite function. 
  2387.  
  2388. Threads can be blocked on DosRead calls whenever the number of characters 
  2389. requested are not available. 
  2390.  
  2391. Threads can be blocked on DosWrite calls whenever some handshaking processing 
  2392. requires that a serial device not transmit. 
  2393.  
  2394. Because of this, it is recommended that the main thread (in which the message 
  2395. queue is executing) not be used to read from and write to a COM port. 
  2396.  
  2397. If the thread in which a message queue is executing is blocked it can cause the 
  2398. entire system to be blocked because that thread cannot return to the queue 
  2399. until the event that caused the device driver to block has occurred. 
  2400.  
  2401. The amount of time the device driver will block for any event is configurable 
  2402. by any application. 
  2403.  
  2404.  
  2405. ΓòÉΓòÉΓòÉ 15.2. Line Characteristics ΓòÉΓòÉΓòÉ
  2406.  
  2407. The format of the data that is to be transmitted and received is configurable 
  2408. by any application. 
  2409.  
  2410. The parameters that are available are: 
  2411.  
  2412.  1. The number of data bits 
  2413.  2. The number of stop bits 
  2414.  3. The type of parity processing, if any 
  2415.  
  2416. From five to eight data bits can be selected. 
  2417.  
  2418. One, one and a half, or two stop bits can be selected. 
  2419.  
  2420. Note:  1.5 data bits is only valid when five data bits is defined and 2 stop 
  2421.        bits is not valid when five data bits is selected. 
  2422.  
  2423. There are five parity processing options: 
  2424.  
  2425.  1. No parity 
  2426.  2. Even parity 
  2427.  3. Odd parity 
  2428.  4. Zero parity 
  2429.  5. One parity 
  2430.  
  2431. Even parity causes the parity bit to be on (one) whenever the bits of a data 
  2432. word add up to an even value.  For example: the data value 0x55 would cause the 
  2433. parity bit to be on and the data value 0x45 would cause the parity bit to be 
  2434. off (zero).
  2435.  
  2436.  Odd parity causes the parity bit to be on (one) whenever the bits of a data 
  2437. word add up to an odd value.  For example: the data value 0x55 would cause the 
  2438. parity bit to be off (zero) and the data value 0x45 would cause the parity bit 
  2439. to be on.
  2440.  
  2441.  Zero parity causes the parity bit of a data word to be off (zero) at all 
  2442. times. 
  2443.  
  2444. One parity causes the parity bit to be on (one) at all times. 
  2445.  
  2446. FYI  Zero and One parity are sometime referred to as "stick" parity because 
  2447.      they cause the parity bit to "stick" at some value. 
  2448.  
  2449. When no parity is selected no parity bit is transmitted.  This causes the data 
  2450. word to be one bit shorter than a data word that requires some type of parity 
  2451. information. 
  2452.  
  2453. Line characteristic settings cause the data word to have different bit lengths. 
  2454. As all data words have a start bit, line characteristics of eight data bits, 
  2455. one stop bit, and no parity bit will cause a data word of ten bits to be 
  2456. transmitted. 
  2457.  
  2458. Only the first stop bit is tested when a data word is received. 
  2459.  
  2460.  
  2461. ΓòÉΓòÉΓòÉ 15.3. Receive Stream Filters ΓòÉΓòÉΓòÉ
  2462.  
  2463. There are three types of stream filters available: 
  2464.  
  2465.  1. Error character replacement 
  2466.  2. Break character replacement 
  2467.  3. NULL character stripping 
  2468.  
  2469. If Error Character Replacement is enabled a user specified character will be 
  2470. placed in the receive buffer whenever a receive error is detected, instead of a 
  2471. possibly bad received character.  The default error replacement character is 
  2472. the NULL character (zero). 
  2473.  
  2474. Errors that can cause the replacment character to be inserted are: 
  2475.  
  2476.  1. Receive hardware overrun 
  2477.  
  2478.     This will happen when a new character is received at the hardware before a 
  2479.     previously recieved character has been removed by the device driver. 
  2480.  
  2481.     This is usually a result of too high a baud rate.  Using a serial adapter 
  2482.     with 16550 UARTs will usually prevent this error. 
  2483.  
  2484.  2. Parity errors 
  2485.  
  2486.     This error can be caused by mismatched line characteristics or noisy data 
  2487.     lines. 
  2488.  
  2489.  3. Framing errors 
  2490.  
  2491.     This error is usually caused when baud rates are not the same between this 
  2492.     hardware (near-end) and the hardware you are attempting to communicate with 
  2493.     (far-end). 
  2494.  
  2495.  4. Receive buffer overrun 
  2496.  
  2497.     This error is caused when an application does not "read" from the device 
  2498.     driver as fast as the data is received. 
  2499.  
  2500.     This error can be prevented by using some form of "handshaking". 
  2501.  
  2502. If Break Character Replacement is enabled a user specified character is placed 
  2503. into the receive buffer when a "break" condition is first detected at the UART. 
  2504.  
  2505. Once the break character has been inserted in the buffer no new characters will 
  2506. be placed in the buffer until the "break" condition is no longer being 
  2507. received. 
  2508.  
  2509. If NULL Stripping is enabled characters received that have a value of zero will 
  2510. not be placed in the receive buffer. 
  2511.  
  2512.  
  2513. ΓòÉΓòÉΓòÉ 15.4. Automatic Protocol Override ΓòÉΓòÉΓòÉ
  2514.  
  2515. Normally you would want to enable hardware buffers to reduce system overhead. 
  2516. When handshaking is required between this hardware (near-end) and some external 
  2517. hardware (far-end), it may be required that a far-end's request to stop 
  2518. transmitting be acted upon immediately. 
  2519.  
  2520. If hardware buffers are enabled it would be possible for that hardware to 
  2521. transmit up to 20 characters after the device driver receives a "stop 
  2522. transmitting" signal.  This is because once the device driver has filled the 
  2523. hardware buffer, transmission will continue until the buffer is empty.  This 
  2524. may cause a problem for some far-end equipment. 
  2525.  
  2526. This problem can occur when any output handshaking is enabled.  This includes 
  2527. CTS, DSR, and/or DCD output handshaking and transmit Xon/Xoff handshaking.  The 
  2528. CTS, DSR, and DCD signals are "hardware" flow control signals and transmit 
  2529. Xon/Xoff handshaking is "software" flow control signaling. 
  2530.  
  2531. There are two output handshaking scenarios to consider.  The first is the 
  2532. hardware signaling case.  When the far-end's receive buffer is full (or nearly 
  2533. full) it may signal to the near-end by making one or more of the hardware 
  2534. signals inactive.  When the near-end detects an inactive signal it should stop 
  2535. transmitting.  If the transmit buffer is enabled at the near-end it could 
  2536. transmit up to 16 characters before it becomes aware of the signal to stop. 
  2537.  
  2538. The second case is software signaling.  When the far-end's receive buffer is 
  2539. full (or nearly full) it may signal the near-end by transmitting an Xoff 
  2540. character.  When the near-end receives the Xoff character it should stop 
  2541. transmitting.  If, at the near-end, the receive buffer is enabled, it will not 
  2542. detect the request to stop transmitting until it has read the Xoff character 
  2543. from the receive buffer, and if the transmit buffer is enabled it may transmit 
  2544. up to 16 bytes before it stops transmitting. 
  2545.  
  2546. When hardware buffers are enabled receive interrupts can be caused by two 
  2547. events.  The first is when the number of characters in the FIFO reaches the 
  2548. programmed threshold, either one, four, eight, or fourteen characters.  The 
  2549. second is when at least one character has been received and placed in the FIFO 
  2550. and then no new characters are received for four character times.  This second 
  2551. type of receive interrupt would make it possible for an Xoff character to be 
  2552. received by the hardware and not be read by the device driver for up to four 
  2553. character-times after the character was received. 
  2554.  
  2555. The worst case would be for the Xoff character to arrive at the near-end 
  2556. hardware just as there are four characters left in the transmit buffer to be 
  2557. transmitted. 
  2558.  
  2559. The device would cause a transmit interrupt just as the last of the four 
  2560. characters is transmitted and the device driver would refill the transmit 
  2561. buffer, then the device would cause a receive FIFO time-out interrupt and the 
  2562. device driver would read, and detect, the Xoff character, preventing further 
  2563. transmissions.  This case could allowup to 20 characters to be transmitted 
  2564. after the far-end transmitted the Xoff character. 
  2565.  
  2566. All of these potential problems go away if the transmit buffer is disabled when 
  2567. any output handshaking is enabled and/or the receive buffer is disabled when 
  2568. transmit Xon/Xoff handshaking is enabled. 
  2569.  
  2570. When Automatic Protocol Override (APO) is enabled the device driver adjusts 
  2571. hardware buffer functionality according to handshaking requirements.  When APO 
  2572. is enabled and an application requests CTS, DSR, or DCD output handshaking, the 
  2573. device driver will disable the transmit buffer.  When APO is enabled and an 
  2574. application requests transmitXon/Xoff handshaking the device driver will 
  2575. disable both the transmit and receive buffers. 
  2576.  
  2577. There is one other adjustment APO can cause the device driver to make to the 
  2578. hardwarebuffer functionality of a device.  When DSR input sensitivity is 
  2579. enabled, and APOis enabled, the receive buffer will be disabled by the device 
  2580. driver. 
  2581.  
  2582. DSR input sensitivity is designed to handle devices that may transmit garbage 
  2583. whenever DSR is in the inactive state.  In this case it would be necessary to 
  2584. ignore any characters received while DSR is inactive.  It may be possible for 
  2585. the far-end to transmit a character at the same time it activates DSR.  This 
  2586. could cause the near-end to miss a valid character if its receive buffer is 
  2587. enabled. 
  2588.  
  2589. What does all this mean to you?  Probably nothing.  There are not many far-end 
  2590. devices around these days that do not have some level of buffering 
  2591. capabilities. We recommend that you leave APO off unless, and until, you 
  2592. determine that you are communicating with some archaic equipment that requires 
  2593. it. 
  2594.  
  2595. Related Information: 
  2596.  
  2597. o Communications Handshaking 
  2598.  
  2599.  
  2600. ΓòÉΓòÉΓòÉ 15.5. Communications Handshaking ΓòÉΓòÉΓòÉ
  2601.  
  2602. In any system it is important that all real-time activities, like serial 
  2603. communications, be truly asynchronous.  Basically this means that no 
  2604. information should be lost because the operating system was busy doing 
  2605. something else.  In operating systems like DOS, or DOS and Windows**, there is 
  2606. never any guarantee the operating system will be able to get to a real-time 
  2607. process in a timely manner.  Each process in these systems owns the machine 
  2608. until it relinquishes control.  If a real-time process needs service it has to 
  2609. wait until any current processes are finished. 
  2610.  
  2611. In OS/2* this is not normally a problem.  Its structure is such that hardware 
  2612. interrupts have the highest priority and are serviced "almost immediately", and 
  2613. other processes are given a time-slice in which to execute. 
  2614.  
  2615. Problems can occur in two ways.  The first is when hardware interrupts come in 
  2616. faster than the operating system can respond.  For asynchronous serial 
  2617. communications this problem is addressed mostly by serial devices with hardware 
  2618. buffers (FIFOs). 
  2619.  
  2620. The second problem is that a process may not be able to read and process 
  2621. incoming information as fast as the hardware and device driver can receive and 
  2622. store information.  This problem is addressed by the handshaking features of 
  2623. the serial device driver. 
  2624.  
  2625. When handshaking is enabled the receiving system (device driver) will signal 
  2626. the transmitting system to stop transmitting when its receive buffer nears full 
  2627. capacity.  The transmitting system should stop transmitting when it receives a 
  2628. signal to stop. 
  2629.  
  2630. In OS/2 a serial device driver must be capable of handshaking without 
  2631. intervention or control by the controlling higher level process.  All a 
  2632. controlling process needs to do is command the device driver into a handshaking 
  2633. mode and the device driver must do all of the processing to be sure that the 
  2634. controlling process does not lose any information. 
  2635.  
  2636. This includes detecting when its own receive buffer is nearly full so it can 
  2637. send a stop transmitting signal and then detecting when its receive buffer has 
  2638. been emptied enough so that is can send a start transmitting signal.  It also 
  2639. includes detecting when the device it is transmitting to has sent a stop 
  2640. transmitting or start transmitting signal and act accordingly. 
  2641.  
  2642.  
  2643. ΓòÉΓòÉΓòÉ 15.6. Serial Device Baud Rate ΓòÉΓòÉΓòÉ
  2644.  
  2645. Baud rate for a serial device is defined as the number of bits per second that 
  2646. are transmitted and/or received over a transmission line.  A baud rate of 9600 
  2647. means that 9,600 bits are communicated each second.  Another common way to 
  2648. express baud rate is with the units "BPS" for Bits Per Second (i.e., 9600 BPS). 
  2649.  
  2650. The actual number of characters communicated can be calculated by adding the 
  2651. number of bits in a character to the number of stop bits specified, adding one 
  2652. for the start bit, and adding one if a parity bit is required. 
  2653.  
  2654. For example an eight bit character using no parity and one stop bit would 
  2655. require ten bit times to transmit one character of information.  In this case a 
  2656. baud rate of 9600 would communicate about 960 characters a second.  A seven bit 
  2657. character with even parity and one stop bit would also require ten bit times to 
  2658. transmit a single character. 
  2659.  
  2660. Using COMscope you can set the baud rate for a monitored device.  Setting the 
  2661. baud rate for a device will force a change to the new baud rate, preempting any 
  2662. baud rate set by any application accessing that device.  Any application can 
  2663. reset another baud rate at any time. 
  2664.  
  2665. To set the baud rate for a monitored device: 
  2666.  
  2667.  1. Select Device 
  2668.  2. Select Protocol 
  2669.  3. Select Baud Rate 
  2670.  
  2671.     If you enter an invalid baud rate the baud rate will not be changed. 
  2672.  
  2673.  
  2674. ΓòÉΓòÉΓòÉ 15.7. Serial Device FIFO Processing: ΓòÉΓòÉΓòÉ
  2675.  
  2676. When the device being controlled by the COMi device driver is a 16550 UART, or 
  2677. equivalent, COMscope can be used to set the various FIFO processing modes of 
  2678. that device.  If the device does not have FIFOs the FIFO Control... menu item 
  2679. will be disabled. 
  2680.  
  2681. COMi has three major FIFO modes: 
  2682.  
  2683.  1. FIFOs disabled 
  2684.  2. FIFOs enabled 
  2685.  3. Automatic Protocol Override (APO) 
  2686.  
  2687. When FIFOs are enabled, this includes APO, the depth of the buffers is 
  2688. selectable. 
  2689.  
  2690. For the receive FIFO the following thresholds can be selected: 
  2691.  
  2692.  1. One character 
  2693.  2. Four characters 
  2694.  3. Eight characters 
  2695.  4. Fourteen characters 
  2696.  
  2697. Either one character or sixteen characters can be buffered for transmission. 
  2698.  
  2699. Related Information: 
  2700.  
  2701. o Automatic Protocol Override 
  2702.  
  2703.  
  2704. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  2705.  
  2706.  Each device to be controlled by the COMi device driver owns a set of eight 
  2707. contiguous I/O space addresses.  The I/O base address is the first address in 
  2708. that device's address space. See your adapter board documentation to determine 
  2709. what I/O base address to use. 
  2710.  
  2711.  
  2712. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  2713.  
  2714.  Each device to be controlled by the COMi device driver must be connected to 
  2715. one, and only one, hardware interrupt level.  See your adapter board 
  2716. documentation to determine what interrupt level to select. 
  2717.  
  2718. Note:  An exception to this rule is when you use a serial adapter that supports 
  2719.        shared interrupts in an ISA machine.  If you are using such an adapter 
  2720.        you must take care not to use more than one interrupt level for each 
  2721.        COMi load. 
  2722.  
  2723. You may use any combination of interrupt levels MCA machines. 
  2724.  
  2725.  
  2726. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  2727.  
  2728.  A first level DosOpen is the first time a device is opened by any application. 
  2729. Any other DosOpen calls, without first calling DosClose, are considered second 
  2730. level opens.  When all applications have closed a device then the next DosOpen 
  2731. for that device will, again, be considered a first level DosOpen.  The device 
  2732. driver returns some device operating parameters back to device driver defaults 
  2733. whenever a first level DosOpen occurs. 
  2734.  
  2735. Device driver operating parameters that are set back to device driver defaults 
  2736. are: 
  2737.  
  2738. o Handshaking Parameters 
  2739. o Time-out Values 
  2740. o Time-out Processing 
  2741. o Stream Filters 
  2742.  
  2743. Note:  COMi start-up defaults are configurable by the user.  The parameters in 
  2744.        the above list are returned to defaults defined explicitly by the user 
  2745.        or implicitly by OS/tools.  If the user has not defined a given 
  2746.        parameter default during configuration that parameter will be returned 
  2747.        to the default defined by OS/tools. 
  2748.  
  2749.  
  2750. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  2751.  
  2752. Industry Standard Architecture 
  2753.  
  2754. Machines that are compatible with the IBM AT personal computer are of this 
  2755. type. 
  2756.  
  2757. IBM and AT are registerd trademarks of International Business Machines. 
  2758.  
  2759.  
  2760. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  2761.  
  2762. Micro Channel Architecture. 
  2763.  
  2764. Machines that are compatible with the IBM PS/2 are of this type. 
  2765.  
  2766. IBM, Micro Channel, and PS/2 are registerd tradmarks of International Business 
  2767. Machines. 
  2768.  
  2769.  
  2770. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  2771.  
  2772.  The active device is the device selected from the "Device | Select Device..." 
  2773. menu dialog box.  The name of the currently active device is displayed in the 
  2774. title bar of the COMscope main window, in the title bar of all COMscope monitor 
  2775. and control dialog boxes, and is shown as the title of any visible icon when a 
  2776. COMscope instance has been minimized. 
  2777.  
  2778.  
  2779. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  2780.  
  2781.  A COM device's main purpose in life is to send/receive data to/from some 
  2782. external device.  All data written to a device, and/or read from a device, is 
  2783. considered to be that device's I/O Data Stream.  Once a valid device has been 
  2784. selected COMscope can be made to capture, and save, any data that is part of 
  2785. that I/O Data Stream.  The bytes of an I/O Data Stream are stored in the order 
  2786. in which they are transmitted and/or received. 
  2787.  
  2788.  
  2789. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  2790.  
  2791.  Ordinarily each byte received or transmitted is displayed in order of transfer 
  2792. to/from the hardware, with each new byte is placed for viewing into the next 
  2793. character position on the screen.  When display compression is selected the 
  2794. character position is not incremented when a received byte follows a 
  2795. transmitted byte. 
  2796.  
  2797.  
  2798. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  2799.  
  2800.  Each DEVICE=comdd.SYS statement in your CONFIG.SYS file is considered a load 
  2801. of the COMi Asynchronous Device Driver. 
  2802.  
  2803.  
  2804. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  2805.  
  2806.  You can check (select) a button either by clicking mouse button one on the 
  2807. item or by using the TAB and/or cursor keys to move so the required item has 
  2808. the focus then pressing the space bar. 
  2809.  
  2810.  
  2811. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  2812.  
  2813.  A symbol that shows that a menu choice is currently active. 
  2814.  
  2815.  
  2816. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  2817.  
  2818.  In the lexical display format only characters that are not excluded by the 
  2819. user with display filters are displayed. 
  2820.  
  2821.  
  2822. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  2823.  
  2824.  When the lexical display format is in the "line" oriented mode the transmit 
  2825. and receive streams can be synchronized.  This means that a stream direction 
  2826. being synchronized "to" is displayed starting at the first character of that 
  2827. "line" and the stream direction that is to be in synchronization is displayed 
  2828. starting at the first character of the first "line" the begins immediately 
  2829. after the first character of the sync to stream direction. 
  2830.  
  2831.  
  2832. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  2833.  
  2834.  Stream direction is either into the device (receive), or out of the device 
  2835. (transmit). 
  2836.  
  2837.  
  2838. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  2839.  
  2840.  Different adapter manufacturers use different schemes to allow shared 
  2841. interrupts in ISA machines.  Currently the COMi device driver supports the 
  2842. following schemes: 
  2843.  
  2844. o Interrupt ID register is at the adapter base I/O address +7 
  2845.  
  2846.   Sealevel Systems COMM+8 and Turbo COMM+4, Comtrol Hostess, and Quatech ES-XXX 
  2847.   and QS-XXX 
  2848.  
  2849.   Note:  The Quatech adapters mirror the ID register at all device base I/O 
  2850.          addresses +7 
  2851.  
  2852. o Interrupt ID register is at a user defined location and varies with the 
  2853.   interrupt level used 
  2854.  
  2855.   DigiBoard PC/4, PC/8, and PC/16 
  2856.  
  2857.  
  2858. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  2859.  
  2860.  IBM, OS/2, PS/2, and Micro Channel are trademarks of International Business 
  2861. Machines. 
  2862.  
  2863.  
  2864. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  2865.  
  2866.  Windows is a trademark of Microsoft, Incorporated.