5.28 _7200_DI_Timer. ADLINK Technology PCI-7200

Add to My manuals
91 Pages

advertisement

5.28 _7200_DI_Timer. ADLINK Technology PCI-7200 | Manualzz

5.28 _7200_DI_Timer

@ Description

This function is used to set the internal timer pacer for digital input.

There are two configuration for the internal timer pacer :

1. Non-cascaded (One COUNTER 0 only)

8254 Timer/Counter

4MHz Input

Counter 0

CLK0

GATE0 OUT0

Digital Input Trigger

Timer pacer frequency = 4Mhz / C0

2. Cascaded (TIME2 cascaded with COUNTER0)

8254 Timer/Counter

4MHz Input

Counter 0

CLK0

GATE0 OUT0

CLK1

Counter 1

GATE1 OUT1

Counter 2

CLK2

GATE2 OUT2

Digital Input Trigger

Timer pacer frequency = 4Mhz / (C0 * C2)

@ Syntax

Visual C++ (Windows 95/98) int W_7200_DI_Timer (U16 c0, U16 c2, Boolean mode)

Visual Basic (Windows 95/98)

W_7200_DI_Timer ( ByVal c0 As Integer, ByVal c2 As Integer,

ByVal mode As Byte ) As Long

66

••

C/C++ & DLL Libraries

C/C++ (DOS) int _7200_DI_Timer (U16 c0, U16 c2, Boolean mode)

@ Argument c0 : c2 : frequency divider of Counter #0. Valid value ranges from

2 to 65535.

frequency divider of Counter #2. Valid value ranges from

2 to 65535.

mode : TIMER_NONCASCADE or TIMER_CASCADE

@ Return Code

ERR_NoError

ERR_InvalidBoardNumber

ERR_InvalidTimerMode

ERR_BoardNoInit

C/C++ & DLL Libraries

••

67

advertisement

Related manuals

advertisement

Table of contents