Download Syscomp Computer Controlled Instruments CGR

Transcript
16 Manual Operation
The oscilloscope may be operated by sending it commands from a terminal emulator. This can be useful for
debugging.
16.1 Windows
The Hyperterminal program that is supplied as part of Windows operating systems is suitable for this.
1. To simplify matters, it is probably best to unplug any USB devices that are connected.
2. Plug the scope hardware into a USB port on the computer.
3. Using the steps described in section 12.1.1, determine the COM port that the scope is currently connected
to.
4. Start Hyperterminal:
Start -> Programs -> Accessories -> Communications -> Hyperterminal
5. Hyperterminal starts with a ’Connection Description’ popup window. Cancel the popup.
6. Select File -> Properties
7. Operate the Connect Using menu to select the COM port that you found previously.
8. Select Configure which pops up a Port Settings window. Most of the port settings can be left at
their default values, but the baud rate (Bits per Second) must be changed to the correct value. At
this time, the correct value is 230400. The correct port settings are:
Bits per Second:
Data bits:
Parity:
Stop Bit:
Flow Control
230400 Baud
8
None
1
,Hardware (RTS/CTS) Handshaking
If you have a version of the scope Tcl program that works correctly with the scope hardware, you can verify
the baud rate. Load that code into a text editor and look for the baud setting. Search for a variable baud or
a procedure openSerialPort.
Hit OK and back out to the hyperterminal screen.
9. Issue some command from the list in section 15. Type it in followed by the ’Enter’ key. A good choice is
i, which should result in a message from the scope indicating its version number.
16.2 Linux
For manual operation under the Linux operating system, you will need to communicate with the hardware using a terminal emulator program. There are two terminal emulators in common use under Linux: seyon and
minicom. These may not be installed as part of your linux distribution. To check whether the program is
installed, use the which command:
phiscock@panther:~> which seyon
/usr/X11R6/bin/seyon
Seyon must be properly configured to be used. This is described in the document Seyon: Quick Start Guide
which is on the system CDROM.
58