Tektronix Keithley ASO for CTM Quick Start Guide

ASO-CTM Quick Start
USER’S GUIDE
ASO-CTM Quick Start
User’s Guide
Part Number: 87690
New Contact Information
Keithley Instruments, Inc.
28775 Aurora Road
Cleveland, OH 44139
Technical Support: 1-888-KEITHLEY
Monday – Friday 8:00 a.m. to 5:00 p.m (EST)
Fax: (440) 248-6168
Visit our website at http://www.keithley.com
The information contained in this manual is believed to be accurate and reliable. However, Keithley Instruments, Inc., assumes no responsibility for its use or for any infringements of patents or other rights of third parties that may result from its use. No license is granted by implication or otherwise under any patent rights of Keithley Instruments, Inc.
KEITHLEY INSTRUMENTS, INC., SHALL NO T BE LIABLE FOR ANY SPECIAL, INCIDENT AL, OR CONSEQUENTIAL DAMAGES RELATED TO THE USE OF THIS PRODUCT. THIS PRODUCT IS NOT DESIGNED WITH COMPONENTS OF A LEVEL OF RELIABILITY SUITABLE FOR USE IN LIFE SUPPORT OR CRITICAL APPLICATIONS.
Refer to your Keithley Instruments license agreement for specific warranty and liability information.
MetraByte is a trademark of Keithley Instruments, Inc. All other brand and product names are trademarks or registered trademarks of their respective companies.
© Copyright Keithley Instruments, Inc., 1995, 1996.
All rights reserved. Reproduction or adaptation of any part of this documentation beyond that permitted by Section 117 of the 1976 United States Copyright Act without permission of the Copyright owner is unlawful.
Keithley MetraByte Division
Keithley Instruments, Inc.
440 Myles Standish Blvd. Taunton, MA 02780
FAX: (508) 880-0179
Telephone: (508) 880-3000
l
Preface
The ASO-CTM Quick Start User’s Guide describes how to get started writing programs for CTM-10 and CTM-05/A boards using the CTM-05/CTM-10 Function Call Driver. A 16-bit version of the CTM-05/CTM-10 Function Call Driver is part of the CTM-05/A & 10 Advanced SW software (for Windows  3.1 and Windows 3.11 for Workgroups). A 32-bit version of the CTM-05/CTM-10 Function Call Driver is part of the ASO-CTM Win 95 32-Bit Drivers software (for Windows 95 only).
The ASO-CTM Quick Start User’s Guide is intended for programmers using a CTM-10 or CTM-05/A board in an IBM
PC AT
or compatible computer. It is assumed that users are familiar with counter/timer and digital I/O principles and have read the CTM-10 and CTM-05/A User’s
Guide to familiarize themselves with the board’s features.
The ASO-CTM Quick Start User’s Guide is organized as follows:
The CTM Disks describes the contents of the disks shipped with the
CTM-10 and CTM-05/A boards.
Setup and Installation describes how to install the software, how to
configure the boards, and how to use the control panel to test the boards.
Summary of Functions contains a brief description of each of the
CTM-05/CTM-10 Function Call Driver functions. Refer to the CTM FCD online help for a more detailed description of the functions. (Both the 16-bit and 32-bit drivers offer the same set of functions.)
Programming Flow Diagrams contains a series of flow diagrams
showing the steps required to perform each of the operations supported by the CTM-05/CTM-10 Function Call Driver. Refer to the CTM FCD online help for a more detailed description of the required procedures.
v
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
The CTM Disks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Setup and Installation
Installing the Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Configuring the Boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Using the Configuration Utility. . . . . . . . . . . . . . . . . . . . . . . . . 6
Setting Switches and Jumpers on the Boards . . . . . . . . . . . . . . 8
Using the Control Panel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Summary of Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Programming Flow Diagrams
Preliminary Steps for All Operations. . . . . . . . . . . . . . . . . . . . . . 15
Steps for Event Counting Operations. . . . . . . . . . . . . . . . . . . . . . 16
Steps for Frequency Measurement Operations . . . . . . . . . . . . . . 18
Steps for Pulse Output Operations. . . . . . . . . . . . . . . . . . . . . . . . 21
Steps for Digital Input and Digital Output Operations . . . . . . . . 23
List of Tables
Table 1. Configuring CTM-10 and CTM-05/A Boards. . . . . 5
Table 2. Default Configuration . . . . . . . . . . . . . . . . . . . . . . . 6
Table 3. Summary of Functions. . . . . . . . . . . . . . . . . . . . . . 11
iii
The CTM Disks
CTM-10 and CTM-05/A boards are shipped with the following disks:
CTM-10/05A Mode Software - Use this disk for DOS application
programs and for older Windows programs that use the Port I/O software (PORTIO.DLL). Copy the files from this disk to an appropriate directory. For more information, refer to FILES.TXT, which lists and describes all the copied files; PORTIO.TXT, which describes how to use the Port I/O software; and README.TXT. The
ASO-CTM Quick Start User’s Guide is not intended for use with this
software package.
CTM-05/A & 10 Advanced SW (16-bit software package) - Use
this disk for all 16-bit programs that use the CTM-05/CTM-10 Function Call Driver. The ASO-CTM Quick Start User’s Guide is intended for use with this software package.
ASO-CTM Win95 32-Bit Drivers (32-bit software package) - Use
these two disks for all 32-bit, Windows 95-based programs that use the CTM-05/CTM-10 Function Call Driver. The ASO-CTM Quick
Start User’s Guide is intended for use with this software package.
The CTM-05/A & 10 Adv anced SW package is intended for programmers using the following 16-bit, Windows-based programming languages running under Windows 3.1, Windows 3.11 for Workgroups, or Windows 95:
Microsoft Borland
Microsoft Visual Basic
Visual C++  (Version 1.5x)
C/C++ (Versions 4.0 and 4.5)
for Windows, Version 3.0 and Version 4.0 (16-bit version, available only with the Professional and Enterprise Editions)
1
The ASO-CTM Win95 32-Bit Drivers package is intended for programmers using the following 32-bit, Windows − based programming languages running under Windows 95:
Microsoft Visual C++ (Version 4.1)
Borland C/C++ (Version 5.0)
Microsoft Visual Basic for Windows, Version 4.0 (32-bit version, available with all editions)
Note:
Unless otherwise noted, references to the CTM-05/CTM-10
Function Call Driver include both the 16-bit and 32-bit drivers.
2 The CTM Disks
Setup and Installation
Before you use the CTM-05/CTM-10 Function Call Driver to program your CTM-10 and CTM-05/A boards, perform the following tasks:
1. Unpack and inspect your CTM-10 and CTM-05/A boards. Refer to the CTM-10 and CTM-05/A User’s Guide for information.
2. Install the software package that is appropriate to your operating system and programming environment. Refer to the next section, "Installing the Software," for installation instructions.
3. Configure your CTM-10 and CTM-05/A boards by specifying the appropriate configuration options in the CTM-05/CTM-10 Configuration Utility and by setting the jumpers and switches on the boards appropriately . Refer to “Configuring the Boards” on page 5 for information.
4. Install the CTM-10 and CTM-05/A boards in your computer and attach the appropriate signals. Refer to the CTM-10 and CTM-05/A
User’s Guide for information.
5. Test the functions of the CTM-10 and CTM-05/A boards using the CTM-05/CTM-10 Control Panel. Refer to “Using the Control Panel” on page 9 for information.
6. Look at the example programs provided with your software package. Refer to the FILES.TXT file in the installation directory for a list and description of the example programs.
Installing the Software
To install the software, perform the following steps:
1. Make a back-up copy of the appropriate disk (CTM-05/A & 10 Advanced SW for 16-bit programs or ASO-CTM Win95 32-Bit Drivers for 32-bit programs). Use the copy as your working disk and store the original as a backup disk.
2. Insert the disk into the disk drive.
3
Loading...
+ 19 hidden pages