
48
Function Library
_8124_set_counter_source:
This function is used to set the counter source. The source
could be one of the EA/EB input channels or timers. The
default counter source is EA/EB. About timer, please refer the
section 5.12 Timer.
@ Syntax
C/C++ (Windows 2000/XP)
I16 _8124_set_encoder_input_mode( I16 CardId, I16
Channel, I16 IptMode );
I16 _8124_set_encoder_value( I16 CardId, I16
Channel, I32 EncValue );
I16 _8124_get_encoder_value( I16 CardId, I16
Channel, I32 *EncValue );
I16 _8124_set_encoder_up_down_count(I16 CardId,
I16 Channel, I16 Inverse );
I16 _8124_set_ez_clear( I16 CardId, I16 Channel,
I16 Enable, I16 ClrLogic );
I16 _8124_set_counter_source( I16 CardId, I16
Channel, I16 CtnSrc );
Visual Basic (Windows 2000/XP)
B_8124_set_pls_iptmode (ByVal CardId As Integer,
ByVal Channel As Integer, ByVal IptMode As
Integer) As Integer
B_8124_set_encoder_input_mode (ByVal CardId As
Integer, ByVal Channel As Integer, ByVal
IptMode As Integer) As Integer
B_8124_set_encoder_value (ByVal CardId As
Integer, ByVal Channel As Integer, ByVal
EncValue As Long) As Integer
B_8124_get_encoder_value (ByVal CardId As
Integer, ByVal Channel As Integer, EncValue
As Long) As Integer
B_8124_set_encoder_up_down_count (ByVal CardId As
Integer, ByVal Channel As Integer, ByVal
Inverse As Integer) As Integer
B_8124_set_ez_clear (ByVal CardId As Integer,
ByVal Channel As Integer, ByVal Enable As
Integer, ByVal ClrLogic As Integer) As
Integer
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 ...