Using peer tracer, Starting peer, Log functions – Comtrol NS-link Windows NT User Manual
Page 77: Using peer, Other peer commands, Ents
Comtrol Tools
77
Using Peer Tracer
Using Peer Tracer
The Peer Tracer program (peer.exe) is specifically designed to view the internal
operations of the device driver for the purpose of troubleshooting communications
on Windows NT, Windows 2000, and Windows XP systems. Peer enables you to see:
•
Receive and transmit data
•
Internal driver event traces
•
Advanced configuration and status information
Like Test Terminal, Peer acts as a simple terminal session, and is used to send and
receive text information to and from the device driver. To use Peer, you type in
commands, and status and information are sent back.
Unlike Test Terminal, Peer enables you to keep a continuous log of the commands
sent and the results received in a file named peer.log. Comtrol Technical Support
may ask you to run Peer in order to help diagnose reported problems.
Starting Peer
Peer Tracer does not appear in the Comtrol program group.
To start Peer, you may need to open
the Windows Explorer, access the
\WINNT\system32\rpshSi\ directory,
and double-click on peer.exe. The
Peer Tracer window displays (at
right).
Log Functions
All logging functions are found under the File menu. To start keeping a log, select
Log to Disk from the File menu. The other options on this menu are View Disk Log,
Clear Disk Log, Clear Screen, and Exit.
Using Peer
To use peer, simply type in commands at the : prompt. (It may be necessary to
press Enter to make the : prompt appear.) For example, to examine COM5, type:
PORT COM5
To gather some information about the port, type: STAT
return details about the port.
To turn on monitoring of any calls into driver (events), type: MON EV
To send strings and commands to attached peripherals—for example, to send
“ATH0” to a modem—type: SEND ATH0
appended to each string sent.
Other Peer
Commands
Enter commands at the : prompt and follow each command with Enter.
Keep in mind that all commands are processed in the device driver, and that Peer
simply acts as a conduit for this information. For more information, see the
Peer.hlp help file.
Command
Effect
MON TX
Monitor data being transmitted through the selected port.
MON RX
Monitor data being received through the selected port.
M
Turn off all monitoring.
?
Display Peer Tracer command summary.
PORT COMxx
Change port being examined to COMxx.