ADLINK PCI-8164 User Manual

Page 253

Advertising
background image

Function Library

241

_8164_set_trigger_type:
Sets the trigger output mode

In hardware version A2, it is used for setting the output pulse as a
one shot or constant on.

In hardware version A3, it is used for setting the output pulse as
normal high or normal low.

_8164_check_compare_data:
Obtains the current comparing data of the designated comparator.

_8164_check_compare_status:
Obtains the status of all comparators. When some comparators
come into existence, the relative bits of cmp_sts will become ‘1,’
otherwise 0.

_8164_set_auto_compare:
Sets the comparing data source of the trigger comparator. The
source can be either a function or a table.

_8164_build_compare_function:
Builds a comparing function by defining the start/end point and
interval. There is no limitation on the max number of comparing
data. It automatically loads a final point after user’s end point. That
is, (end point + Interval x total points) x move ratio.

Note: Turn off all interrupt functions when triggering is running.

_8164_build_compare_table:
Builds a comparing table by defining a data array. The size of
array is limited to 1024 when using RAM mode.

Note: Turn off all interrupt functions when triggering is running.

_8164_cmp_v_change:
Sets up the comparator velocity change function. It is a v_change
function but acts when a general comparator comes into exist-
ence. When this function is issued, the parameter “CmpAction” of
_8164_set_general_comparator() must be set to 3 which is

for speed change option.

Advertising