
54
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 card’s ID number.
I16 Channel
: The channel’s number of TRG-OUT / TTL-OUT.
I16 GroupSel
: The TRG-OUT source.
X
0: Output according to SW2 setting
X
1: PWM / TTL-IN / EZ signal
I16 PwmInBit
: The source of PWM channel in bit format.
X
Ex: PwmInBit = 0x2, means PWM_1
I16 TtlInInBit
: The source of TTL-IN channel in bit format.
X
Ex: TtlInInBit = 0x6, means TTL-IN1 and TTL-IN_2
Summary of Contents for PCI-8124
Page 5: ......
Page 17: ...8 Introduction ...
Page 30: ...Signal Connections 21 Outside PCI 8124 inside PCI 8124 TRGx 220Ω ...
Page 33: ...24 Signal Connections ...
Page 49: ...40 Operation Theory ...
Page 72: ...Function Library 63 I16 Enable Enable Disable linear set X 0 disable 1 enable ...
Page 83: ...74 Function Library ...