8144_set_command – ADLINK PCI-8144 User Manual

Page 116

Advertising
background image

106

Function Library

_8144_set_command

Description:

This function is used to set command position of an axis when
“get command” function has been enabled.

Syntax:

I16 _8144_set_command( I16 AxisNo, I32 Cmd );

B_8144_set_command( ByVal AxisNo As Integer,

ByVal Cmd As Long ) As Integer

Parameters:

I16 AxisNo

: Axis number of Target Axis.

I32 Cmd

: set command position.

Return Values:

I16 Error code. Refer to error code table.

Example:

I16 ret;

I32 cmd = 0;

ret = _8144_set_command( AxisNo, cmd );

if( ret == ERR_NoError )

{

//…

}

See also:

_8144_enable_get_command

_8144_get_command

Advertising