12 timer – ADLINK PCI-8124-C User Manual

Page 94

Advertising
background image

84

Function Library

6.12 Timer

@ Name

@ Description

_8124_set_Timer:

This function is used to configure the timer. The timer can be
start by external signal (TTL-IN signal) or by software function.
If the timer was triggered, users can stop the timer by issue the
function ”_8124_start_timer”.

_8124_start_timer:

This function is used to start/stop timer manually.

@ Syntax

C/C++ (Windows 2000/XP)

I16 _8124_set_Timer( I16 CardId, I16 Channel, I16

WaitTtlIn , I16 TtlTrigLogic, I16 Interval );

I16 _8124_start_timer( I16 CardId, I16 Channel,

I16 Start );

Visual Basic (Windows 2000/XP)

B_8124_set_Timer (ByVal CardId As Integer, ByVal

Channel As Integer, ByVal WaitTtlIn As

Integer, ByVal TtlTrigLogic As Integer,

ByVal Interval As Integer) As Integer

B_8124_start_timer (ByVal CardId As Integer,

ByVal Channel As Integer, ByVal Start As

Integer) As Integer

@ Argument

I16 CardId

: The PCI-8124-C card’s ID number.

I16 Channel

: The channel’s number of timer.

_8124_set_Timer

Configure the Timer

_8124_start_timer

Start the timer manually

Advertising