4 pulse input/output configuration, Pulse input/output configuration – ADLINK PCI-8102 User Manual

Page 136

Advertising
background image

Function Library

125

PCI-8102

1: on board DIP switch (SW1).

card_id: Specify the PCI-8102 card index. The card_id could be
decided by DIP switch (SW1) or depend on slot sequence.Please
refer to _8102_initial().

firmware_ver: The current firmware version.

driver_ver: The current device driver version.

dll_ver: The current DLL library version.

Length: Array size. Length = 1~12

*sec_code: A numerical array, the array size would be set
between 1 and 12.

6.4

Pulse Input/Output Configuration

@ Name

_8102_set_pls_iptmode – Set the configuration for

feedback pulse input.

_8102_set_pls_outmode – Set the configuration for

pulse command output.

_8102_set_feedback_src – Enable/Disable the

external feedback pulse input

@ Description

_8102_set_pls_iptmode:

Configure the input modes of external feedback pulses. There are
four types for feedback pulse input. Note that this function makes
sense only when the Src parameter in _8102_set_feedback_src()
function is enabled.

_8102_set_pls_outmode:

Configure the output modes of command pulses. There are 6
modes for command pulse output.

_8102_set_feedback_src:

If external encoder feedback is available in the system, set the Src
parameter in this function to an Enabled state. Then, the internal
28-bit up/down counter will count according to the configuration of

Advertising