ADLINK PCI-8144 User Manual
Page 158
![background image](/manuals/733471/158/background.png)
148
Function Library
F64 MaxVel
: Maximum velocity (pulese/sec)
F64 Tacc
: Acceleration time (sec)
F64 *StrVelP
: The information of calculated start velocity
(pulse/sec)
F64 *MaxVelP
: The information of maximum velocity (pulse/
sec)
F64 *TaccP
: The information of acceleration time (sec)
F64 *MagnP
: Set to 0
Return Values:
ERR_ParametersInvalid
WAR_AccDecTimeToSmall
WAR_AccDecTimeToLarge
ERR_NoError
Example:
I16 ret; //return code
I16 AxisNo = 0; //axis number
F64 StrVel = 100.0; //start velocity (pps)
F64 MaxVel = 50000.0; //maximum velocity (pps)
F64 Tacc = 0.5; // acceleration time (sec)
F64 *StrVelP, MaxVelP, TaccP; //The speed profile
informations
ret = _8144_get_tv_move_profile(AxisNo, StrVel,
MaxVel, Tacc, &StrVelP, &MaxVelP, &TaccP, 0
);
See also:
_8144_tv_move()
_8144_get_sv_move_profile()