Amplicon Liveline PC27E Скачать руководство пользователя страница 16

Page 16

PC27E

6.  PROGRAMMING

The PC27E is supplied with a 3

1

/

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.

6.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,
and all the source files for these Visual Basic programs are provided.  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 PC27E creates four new icons in the ‘Amplicon Introductory
DLLs’ folder/Program Manager group:

AD27DEMO

- Visual Basic analog input 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.

6.2

Pascal Demonstration Program

Two Turbo Pascal files are also installed into the Introductory DLL directory:

PC27.PAS

(source code)

PC27.EXE

(executable)

To run the program log on to the disk drive or directory containing the software and type

 

PC27 <RETURN>

.

On running the program, the screen lists a menu from which the required demonstrations can
be selected. The menu items comprise:

1.

Change PC27E base address (Default 300Hex)

2.

S/W controlled sampling on one channel only

3.

S/W controlled sampling on 16 channels

4.

Interrupt controlled sampling on one channel only

5.

Interrupt controlled sampling on 16 channels

6.

External trigger controlled sampling on one channel

Содержание PC27E

Страница 1: ...nformation contained has been reviewed and is believed to be accurate and reliable however Amplicon Liveline Limited accepts no responsibility for any problems caused by errors or omissions Specificat...

Страница 2: ...declare that the product s described in this Instruction Manual are manufactured by Amplicon Liveline Limited and perform in conformity with the following standards or standardisation documents EMC D...

Страница 3: ...Clock Selection 10 4 4 1 Timing for A D Conversions 10 4 4 2 Frequency Measurement 10 4 5 Wait State Generator Setting 11 4 6 Input Voltage Range Setting 11 4 6 1 Input Attenuators 12 5 ELECTRICAL CO...

Страница 4: ...Connector Pin Assignments 15 5 Analog to Digital Converter Output Code 19 6 PC27E Block Diagram 22 7 PC27E Printed Circuit Board Layout 23 8 PC27E Circuit Diagram 24 LIST OF TABLES TABLE TITLE PAGE 1...

Страница 5: ...of the computer system clock frequency The counter timers can also be jumper configured to provide a frequency counter or events counter Conversion can be initiated in 3 different ways the counter ti...

Страница 6: ...into the I O channel expansion slots The PC27E may be installed in any available slot in the machine provided that there is no restriction placed on that slot by the manufacturer of the machine 2 2 R...

Страница 7: ...PC27E software setup program will now run Follow the instructions given on the screen to complete the installation See Section 6 PROGRAMMING for details on running the software 2 5 DASH 27 Optional So...

Страница 8: ...1 2 LSB input ranges Bipolar 2 0 Volts 4 0 Volts Unipolar 0 to 4 0 Volts Input Impedance 100M per channel Multiplexer plus input amp settling time 10 S Cross talk between any 2 channels better than 50...

Страница 9: ...ropriate settings of switch SW1 This switch bank comprises a row of eight single pole single throw switches with each up or ON position selecting a logic 0 and each down or OFF position selecting a lo...

Страница 10: ...an be connected to the TIM input of the PAL A falling edge of TIM will trigger an A D conversion Jumpers J2 J3 and J4 may be positioned according to the required frequency of TIM The connections to th...

Страница 11: ...higher than the 8MHz specified in the ISA standard This option is not fitted as standard Many interface ICs currently available cannot operate at these higher frequencies and it becomes necessary to s...

Страница 12: ...te input voltages to be handled This is accomplished by drilling out a link from the required channel and inserting appropriate resistors Each channel is provided with a position for an input series r...

Страница 13: ...e other 15 channels 1 Insert a single in line resistor network in position RN4 100k would be a suitable value If only one channel is to be equipped with an attenuator then a single 100k resistor can b...

Страница 14: ...ntegrator uses good quality screened cables for external connections It is up to the final system integrator to ensure that compliance with the Directive is maintained Amplicon Liveline offers a serie...

Страница 15: ...12 Volts B7 A7 SD2 0WS B8 A8 SD1 C 12 Volts B9 A9 SD0 O Ground B10 A10 I O CHRDY M S SMEMW B11 A11 AEN P O SMEMR B12 A12 SA19 O L IOW B13 A13 SA18 N D IOR B14 A14 SA17 E E DACK3 B15 A15 SA16 N R DRQ3...

Страница 16: ...Visual Basic analog input 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...

Страница 17: ...4 Mode 3 Square Rate Generator 5 Mode 4 Software Triggered Strobe 6 Mode 5 Hardware Triggered Strobe Details of the operation of these various modes are contained in Appendix 82C53 The function of a p...

Страница 18: ...ter by OUT H0307 H46 The two bytes then have to be read from the latch using the command n INP H0305 to read the low order byte followed by n INP H0305 to read the high order byte The two bytes MUST b...

Страница 19: ...rting the conversion and reading the first byte typically 10 s 1 4 7 4 4 3 0 A 0 0 4 7 4 4 3 40 0 A 0 0 1 FIG 5 ANALOG TO DIGITAL CONVERTER OUTPUT CODE 6 6 Programming Hints 6 6 1 Settling Time of Inp...

Страница 20: ...of a few millivolts on this range If necessary the offset could be compensated in software by subtracting the offset value from each sample data 6 6 4 Multiplexer Inputs Please note that all unused an...

Страница 21: ...J7 are positioned according to the table on the screen 6 Connect a precision voltage source between SK1 Pin 4 positive and Pin 22 negative and ground the unused channels by connecting SK1 Pin 5 to Pin...

Страница 22: ...RV1 until the data reading on the screen is 2046 2047 8 Set the voltage source to 3 988 and check the data reading on the screen is 2048 2049 N B No offset adjustment in Bipolar 4v see 6 5 3 B 4 7 C 4...

Страница 23: ...PC27E Page 23 FIG 7 PC27E PRINTED CIRCUIT BOARD LAYOUT...

Страница 24: ...Page 24 PC27E FIG 8 PC27E CIRCUIT DIAGRAM...

Отзывы: