ADLINK PCI-8124-C User Manual
Page 88

78
Function Library
_8124_enable_linear_set:
The PCI-8124-C has 10 linear sets. Before using these linear
sets, enable the linear set by this function. When linear sets are
no longer needed, it is recommended that the the linear set be
disabled, or it could be unexpectedly triggered.
@ Syntax
C/C++ (Windows 2000/XP)
I16 _8124_set_linear_compare( I16 CardId, I16
SetNum, I16 Channel, I32 StartPoint, F64
RepeatTimes, I16 Interval );
I16 _8124_set_linear_source( I16 CardId, I16
Channel, I16 SetNumInBit );
I16 _8124_enable_linear_set( I16 CardId, I16
SetNum, I16 Enable );
Visual Basic (Windows 2000/XP)
B_8124_set_linear_compare (ByVal CardId As
Integer, ByVal SetNum As Integer, ByVal
Channel As Integer, ByVal StartPoint As
Long, ByVal RepeatTimes As Double, ByVal
Interval As Integer) As Integer
B_8124_set_linear_source( ByVal CardId As
Integer, ByVal Channel As Integer, ByVal
SetNumInBit As Integer ) As Integer
B_8124_enable_linear_set( ByVal CardId As
Integer, ByVal SetNum As Integer, ByVal
Enable As Integer )As Integer
@ Argument
I16 CardId
: The PCI-8124-C card’s ID number.
I16 SetNum
: Linear Setting set’s number (0 - 9)
I16 Channel
: The channel of linear output (0 - 3)
I16 SetNumInBit
: Linear set number in bit format
I32 StartPoint
: The first trigger point.
F64 RepeatTimes
: The trigger repeat times. (32 bits integer)
I16 Interval
: The linear interval (1 to 8191, -1 to -8191)