
•
When done, click on
Save Calibration Values
. The unit is now calibrated.
6
Installing the Software
6.1
Packaged Executable
The simplest method of installing the software is to run the provided
installer
executable for your computer. There
are three different versions of this executable, one each for the Windows, Mac and Linux operating systems.
The installer will create the necessary directories, move files into those directories, and provide a start icon on
the desktop. Then you can run the program by double-clicking on the start icon.
The latest executable can be obtained from the
Downloads
section of the Syscomp web page.
6.2
Source Code
The source code is the original program text. With source code, you can read how the code operates and modify
the code to suit your own purposes
5
.
The software has been designed to run without change under the Windows, Linux and Macintosh operating
systems. Thus there is only one version of the software source code. That makes it easy for us to maintain and
easy for you to find the right version.
Why would you want to run the software from the source code?
Add or modify features
You purchased the hardware and would like to modify the appearance or add features.
You need the source code to do so.
Education
You’d like to read the code to learn Tcl programming.
Build another Application
The source code contains routines that would be useful in your own application. The
software is provided under the Gnu Public License (GPL). Under this license, anyone may use, modify
distribute the source code for their own purposes, but cannot take the existing code private.
Protection against Obsolescence
Syscomp employees are subjected to an alien abduction and no longer avail-
able. The executable installers are out of date – or for whatever reason, do not work. Then, if you can get
the Tcl interpreter to run on your machine, you can run the instrument source code.
The source code is written in the Tcl (pronounced ’tickle’) language. Tcl is interpreted, that is, read and
executed line by line by the Tcl interpreter.
The Tcl interpreter is different for each operating system. You download Tcl from the Activestate website and
install the Tcl interpreter on your machine. Then you run the Tcl interpreter and instruct it to read (
source
) the
Tcl source code files, starting with
main.tcl
.
6.2.1
Obtaining the Source Code
Obtain the installer executable from the Syscomp website and run it. Among other things, the installer puts the
source code in a subdirectory labelled ’source’. Find the directory where the Syscomp instrument software was
installed. Open it and look for a subdirectory named
source
. In that subdirectory, there should be a series of
files with the
.tcl
extension. These are the source code files. They can be opened and read in any text editor.
The program starts in
main.tcl
, which reads the other tcl files as it needs them.
There may also be subdirectories, such as
Images
and
bin
.
6
.
5
At the time of writing, Syscomp was the only oscilloscope and waveform generator company providing source code for its products.
6
Images
contains various icons in image format (such as gif).
bin
contains the executables, for the different operating systems. These
executables are self contained - they include both the source code and the Tcl interpreter, so they can stand alone and execute on a machine.
23
Содержание CTR-201
Страница 11: ... a Forward b Reverse Figure 5 1N3022 Zener Diode 8 ...
Страница 15: ... a Control Settings b Result Figure 9 P Channel MOSFET a Control Settings b Result Figure 10 N Channel JFET 12 ...
Страница 22: ... a Control Settings b Result Figure 18 Lambda Diode Figure 19 Vaccum Tube 19 ...
Страница 24: ...5 Calibration a Ground Point b Attaching to Ground Figure 21 Attaching to the Ground Point 21 ...
Страница 32: ...htb Figure 24 48V Power Enable Disable 29 ...