8144_set_pls_outmode2 – ADLINK PCI-8144 User Manual
Page 103
Advertising
Function Library
93
_8144_set_pls_outmode2
Description:
This function is used to set the output pulse mode and its logic.
Syntax:
I16 _8144_set_pls_outmode2 ( I16 AxisNo, I16
PulseMode, I16 PulseLogic );
B_8144_enable_get_command( ByVal AxisNo As
Integer, ByVal PulseMode As Integer ByVal
PulseLogic As Integer ) As Integer
Parameters:
I16 AxisNo
: Axis number of Target Axis.
I16 PulseMode
: Output pulse mode.
0: CW/CCW
1: OUT/DIR
I16 PulseLogic
: Pulse output logic.
0: Negative logic
1: Positive logic
Return Values:
I16 Error code. Refer to error code table.
Example:
I16 ret; //Return code
I16 PulseMode = 0; //CW/CCW
I16 PulseLogic = 0; //Negative logic
ret = _8144_set_pls_outmode2( AxisNo, PulseMode,
PulseLogic );
…
See also:
_8144_set_pls_outmode()
Advertising