ADLINK HSL-4XMO User Manual

Page 94

Advertising
background image

84

Operation Theory

Continuously Comparison with Trigger Output

To compare multiple data continuously, functions for building com-
parison tables are provided and are shown below:

HSL_M_build_comp_function(AxisNo, Start, End,

Interval)

HSL_M_build_comp_table(AxisNo, tableArray, Size)
HSL_M_set_auto_compare(AxisNo, SelectSource)

The first function builds a comparison list using start and end
points and constant intervals. The second function builds on an
arbitrary comparison table (data array). The third function is a
source comparing selection function. Users can check current val-
ues used for comparison using the function
HSL_M_check_compare_data():

Example:

Using the continuous position comparison function.

Figure 4-39: Continuously Comparison with Trigger Output

In this application, the table is controlled by the motion command,
and the CCD Camera is controlled by the position comparison out-

Advertising