
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
Содержание PCI-8124
Страница 5: ......
Страница 17: ...8 Introduction ...
Страница 30: ...Signal Connections 21 Outside PCI 8124 inside PCI 8124 TRGx 220Ω ...
Страница 33: ...24 Signal Connections ...
Страница 35: ...26 Operation Theory 4 1 Trigger Board Overview The input and output relationships are shown as follows ...
Страница 49: ...40 Operation Theory ...
Страница 61: ...52 Function Library I16 ToggleDir Toggled condition select X 0 Directionless X 1 Count up X 2 Count down ...
Страница 72: ...Function Library 63 I16 Enable Enable Disable linear set X 0 disable 1 enable ...
Страница 83: ...74 Function Library ...