beautypg.com

ADLINK PCI-8554 User Manual

Page 6

background image

ii • Table of Contents

Chapter 4 Signal Connections & Applications.................... 30

4.1

Connectors Pin Assignment ................................................................30

4.2

Digital I/O Connection..........................................................................30

4.3

Timer/Counter Connection...................................................................31

4.4

Frequency Generator ..........................................................................32

4.4.1

To generate a 250 KHz Square Wave. ....................................32

4.4.2

To generate a 1 pulse/1 hour signal ........................................33

4.5

Pulse Width Measurement...................................................................34

4.6

Frequency Measurement.....................................................................35

4.7

Event Counter......................................................................................37

4.8

Dual Interrupt System..........................................................................38

Chapter 5 C/C++ Library........................................................ 39

5.1

Libraries Installation.............................................................................39

5.2

Programming Guide ............................................................................40

5.2.1

Naming Convention .................................................................40

5.2.2

Data Types ..............................................................................40

5.3

_8554_Initial ........................................................................................41

5.4

_8554_Write_Counter .........................................................................42

5.5

_8554_Read_Counter .........................................................................43

5.6

_8554_Stop_Counter ..........................................................................44

5.7

_8554_Read_Status............................................................................45

5.8

_8554_DO ...........................................................................................46

5.9

_8554_DI.............................................................................................47

5.10

_8554_SET_cntCLK ...........................................................................48

5.11

_8554_SET_CK1 ................................................................................49

5.12

_8554_SET_DBCLK ...........................................................................50

5.13

_8554_Set_INT_Control .....................................................................51

5.14

_8554_Get_IRQ_Status......................................................................52

5.15

_8554_INT_Enable .............................................................................53

5.16

_8554_INT_Disable ............................................................................54

5.17

_8554_CLR_IRQ1 ..............................................................................54

5.18

_8554_CLR_IRQ2 ..............................................................................55

Warranty Policy...................................................................... 56