ADLINK PCI-8102 User Manual

Page 185

Advertising
background image

174

Function Library

@ Description

_8102_disable_soft_limit:

This function is used to disable the soft limit function.

_8102_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 physi-
cal limit.

_8102_set_soft_limit:

This function is used to set the soft limit value.

@ Syntax

C/C++(Windows 2000/XP/7)

I16 _8102_disable_soft_limit(I16 AxisNo);

I16 _8102_enable_soft_limit(I16 AxisNo, I16

Action);

I16 _8102_set_soft_limit(I16 AxisNo, I32

Plus_Limit, I32 Neg_Limit);

Visual Basic (Windows 2000/XP/7)

B_8102_disable_soft_limit(ByVal AxisNo As

Integer) As Integer

B_8102_enable_soft_limit(ByVal AxisNo As Integer,

ByVal Action As Integer) As Integer

B_8102_set_soft_limit(ByVal AxisNo As Integer,

ByVal Plus_Limit As Long, ByVal Neg_Limit As

Long) As Integer

@ Argument

AxisNo: Axis number of Target Axis.

card_id

Physical axis

AxisNo

0

0

0

1

1

1

0

2

1

3

Advertising