28 _7200_do_timer, Description, Syntax – ADLINK PCI-7200 User Manual

Page 88: Description @ syntax, Visual c++ (windows 95), Visual basic (windows 95), C/c++ (dos)

Advertising
background image

76

C/C++ Libraries

5.28 _7200_DO_Timer

@ Description

This function is used to set the internal timer pacer for digital out-
put. There are two configurations for the internal timer pacer:

1. Non-cascaded (One COUNTER 0 only)

Timer pacer frequency = 4Mhz / C1

2. Cascaded (TIME2 cascaded with COUNTER0)

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

@ Syntax

Visual C++ (Windows 95)

int W_7200_DO_Timer (U16 c1, U16 c2, Booelan

mode)

Visual Basic (Windows 95)

W_7200_DO_Timer (ByVal c1 As Integer, ByVal c2 As

Integer, ByVal mode As Byte) As Long

C/C++ (DOS)

int _7200_DO_Timer (U16 c1, U16 c2, Boolean mode)

Counter 1

CLK0

GATE0

OUT0

8254 Timer/Counter

4MHz Input

Digital Output Trigger

Counter 0

Counter 1

Counter 2

CLK0

GATE0

OUT0

CLK1

GATE1

CLK2

GATE2

OUT1

OUT2

8254 Timer/Counter

4MHz Input

Digital Input Trigger

Advertising