ADLINK PCI-8134A User Manual

Page 98

Advertising
background image

88

Function Library

@ Syntax

C/C++ (DOS, Windows)

U16 start_s_move(I16 axis, F64 pos, F64 str_vel, F64

max_vel, F64 Tlacc, F64 Tsacc)

U16 s_move(I16 axis, F64 pos, F64 str_vel, F64 max_vel,

F64 Tlacc, F64 Tsacc)

U16 start_rs_move(I16 axis, F64 distance, F64 str_vel,

F64 max_vel, F64 Tlacc, F64 Tsacc)

U16 rs_move(I16 axis, F64 distance, F64 str_vel, F64

max_vel, F64 Tlacc, F64 Tsacc)

U16 start_tas_move(I16 axis, F64 pos, F64 str_vel, F64

max_vel, F64 Tlacc, F64 Tsacc, F64 Tldec, F64 Tsdec)

U16 tas_move(I16 axis, F64 pos, F64 str_vel, F64

max_vel, F64 Tlacc, F64 Tsacc, F64 Tldec, F64 Tsdec)

Visual Basic (Windows)

start_s_move(ByVal axis As Integer, ByVal pos As

Double, ByVal str_vel As Double, ByVal max_vel As
Double, ByVal Tlacc As Double, ByVal Tsacc As
Double) As Integer

s_move(ByVal axis As Integer, ByVal pos As Double,

ByVal str_vel As Double, ByVal max_vel As Double
ByVal Tlacc As Double, ByVal Tsacc As Double) As
Integer

start_rs_move(ByVal axis As Integer, ByVal distance As

Double, ByVal str_vel As Double, ByVal max_vel As
Double, ByVal Tlacc As Double, ByVal Tsacc As
Double) As Integer rs_move(ByVal axis As Integer,
ByVal distance As Double, ByVal str_vel As Double,
ByVal max_vel As Double, ByVal Tlacc As Double,
ByVal Tsacc As Double) As Integer
start_tas_move(ByVal axis As Integer, ByVal pos As
Double, ByVal str_vel As Double, ByVal max_vel As
Double, ByVal Tlacc As Double, ByVal Tsacc As
Double, ByVal Tldec As Double, ByVal Tsdec As
Double) As Integer

tas_move(ByVal axis As Integer, ByVal pos As Double

ByVal str_vel As Double, ByVal max_vel As Double
ByVal Tlacc As Double, ByVal Tsacc As Double, ByVal
Tldec As Double, ByVal Tsdec As Double) As Integer

@ Argument

axis: axis number designated to move.
pos: specified absolute position to move
distance or dist: specified relative distance to move
str_vel: starting velocity of a velocity profile in unit of pulse per second
max_vel: starting velocity of a velocity profile in unit of pulse per second
Tlacc: specified linear acceleration time in unit of second
Tsacc: specified S-curve acceleration time in unit of second
Tldec: specified linear deceleration time in unit of second

Advertising