19 soft limit – ADLINK PCI-8158 User Manual
Page 206
196
Function Library
6.19 Soft Limit
@ Name
_8158_disable_soft_limit – Disable soft limit function
_8158_enable_soft_limit – Enable soft limit function
_8158_set_soft_limit – Set soft limit
@ Description
_8158_disable_soft_limit:
This function is used to disable the soft limit function.
_8158_enable_soft_limit:
This function is used to enable the soft limit function. Once
enabled, the action of soft limit will be exactly the same as
physical limit.
_8158_set_soft_limit:
This function is used to set the soft limit value.
@ Syntax
C/C++(Windows 2000/XP)
I16 _8158_disable_soft_limit(I16 AxisNo);
I16 _8158_enable_soft_limit(I16 AxisNo, I16
Action);
I16 _8158_set_soft_limit(I16 AxisNo, I32
PlusLimit, I32 MinusLimit);
Visual Basic (Windows 2000/XP)
B_8158_disable_soft_limit(ByVal AxisNo As
Integer) As Integer
B_8158_enable_soft_limit(ByVal AxisNo As Integer,
ByVal Action As Integer) As Integer
B_8158_set_soft_limit(ByVal AxisNo As Integer,
ByVal PlusLimit As Long, ByVal MinusLimit As
Long) As Integer