ADLINK PCI-8124-C User Manual

Page 80

Advertising
background image

70

Function Library

@ Syntax

C/C++ (Windows 2000/XP)

I16 _8124_set_trigger_source( I16 CardId, I16

Channel, I16 GroupSel, I16 PwmInBit, I16

TtlInInBit, I16 EzInBit );

I16 _8124_set_ttlOut_source( I16 CardId, I16

Channel, I16 TtlOutSrc );

I16 _8124_set_ttlOut( I16 CardId, I16 Channel,

I16 TtlOutValue );

Visual Basic (Windows 2000/XP)

B_8124_set_trigger_source (ByVal CardId As

Integer, ByVal Channel As Integer, ByVal

GroupSel As Integer, ByVal PwmInBit As

Integer, ByVal TtlInInBit As Integer, ByVal

EzInBit As Integer) As Integer

B_8124_set_trgOut_logic (ByVal CardId As Integer,

ByVal Channel As Integer, ByVal Logic As

Integer) As Integer

B_8124_set_ttlOut_source (ByVal CardId As

Integer, ByVal Channel As Integer, ByVal

TtlOutSrc As Integer) As Integer

B_8124_set_ttlOut (ByVal CardId As Integer, ByVal

Channel As Integer, ByVal TtlOutValue As

Integer) As Integer

@ Argument

I16 CardId

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

I16 Channel

: The channel’s number of TRG-OUT / TTL-OUT.

I16 GroupSel

: The TRG-OUT source.

0: Output according to SW2 setting

1: PWM / TTL-IN / EZ signal

I16 PwmInBit

: The source of PWM channel in bit format.

Ex: PwmInBit = 0x2, means PWM_1

I16 TtlInInBit

: The source of TTL-IN channel in bit format.

Ex: TtlInInBit = 0x6, means TTL-IN1 and TTL-IN_2

Advertising