Instruction manual

PC24E/25E
Page 17
4. PROGRAMMING THE PC24E/25E
The PC24E/PC25E is supplied with a 3
1
/
2
inch diskette containing Windows DLLs with Microsoft Visual
Basic example programs, and a Borland Turbo Pascal DOS demonstration program. See Section 2.4
to find out how to install the software onto your hard disk.
4.1 Windows DLLs and Visual Basic Example Programs
Having installed the software, you will find a number of Windows Dynamic Link Libraries
(DLLs) each of which supports one basic Input/Output function available with the Amplicon
low-cost Data Acquisition boards. Each DLL comes with a Visual Basic example program
(source code is also provided), and any number of these programs can be run concurrently to
build up the system represented by one or more of the boards being used.
The default installation for the PC24E/25E creates four new icons in the ‘Amplicon Introductory
DLLs’ folder/Program Manager group:
DA24DEMO - Visual Basic analog output demo program
TC53DEMO - Visual Basic timer/counter demo program
README - User Guide for the Amplicon Introductory DLLs
AMPLICON LIVELINE LTD - What Amplicon offers you
To open any of these objects, simply double-click the mouse on the relevant icon.
For more information on the functions provided by the DLLs, and how to use them in your own
Visual Basic Windows programs, please read the User Guide by double-clicking on the
README icon.
4.2 Turbo Pascal Demonstration DOS Program
Two Turbo Pascal files are also installed into the Introductory DLL directory:
PC2425.PAS
PC2425.EXE
4.2.1 Loading the Program
Both source (PC2425.PAS) and executable (PC2425.EXE) versions of the demonstration
programs are provided.
To run the Executable version of the demonstration program:
1. Boot up.
2. Log on to the disk drive or directory containing the demonstration software and type:
PC2425 <RETURN>.
4.2.2 Running the Demonstrations
After booting up and selecting PC2425.EXE, the first menu screen is displayed. The choices
are:
1. Change PC24E/PC25E card base address.
2. Write a value to one DAC only.