ADLINK PCI-8134A User Manual

Page 109

Advertising
background image

Function Library

99

set_command – Set the current command position.
get_command – Get the current command position.
_8134_get_target_pos – Get the current command position.

_8134_reset_target_pos – Set the current command position.
@ Descriptionset_position()

changes the current actual position to the specified position.

get_position()

reads the current actual position. Note that when feedback signals is not
available in the system, thus external encoder feedback is Disabled in
set_cnt_src() function, the value gotten from this function is command
position.

set_command()

changes the command position to the specified command position. The

command position is the target position of this command, not the
current command position.

get_command()

reads the current command position.

The command position is the target position of this command, not
the current command position.

_8134_get_target_pos()

reads the current command position.
The command position is the target position of this command, not
the current command position.

_8134_reset_target_pos()

changes the command position to the specified command position.
The command position is the target position of this command, not
the current command position.

@ Syntax

C/C++ (DOS, Windows)

U16 set_position(I16 axis, F64 pos)
U16 get_position(I16 axis, F64 *pos)
U16 set_command(I16 axis, F64 pos)
U16 get_command(I16 axis, F64 *pos)

I16 _8134_get_target_pos(I16 AxisNo, F64

*pos)

I16 _8134_reset_target_pos(I16 AxisNo,

F64 pos)

Visual Basic (Windows)

get_position (ByVal axis As Integer, pos As Double)

As Integer

set_position (ByVal axis As Integer, ByVal pos As

Double) As

Integer

get_command (ByVal axis As Integer, pos As Double) As

Integer

set_command (ByVal axis As Integer, ByVal pos As

Double) As

Advertising