22 pxi trigger bus (pxi-8164 only) – ADLINK PCI-8164 User Manual

Page 274

Advertising
background image

262

Function Library

6.22 PXI Trigger Bus (PXI-8164 Only)

@ Name

_8164_get_pxi_trigger_value – Readback PXI_TRG’s sta-

tus value

_8164_set_pxi_trigger_value – Write PXI_TRG’s status

value

_8164_enable_pxi_input – Enable PXI input channel

_8164_select_pxi_output – Select PXI output channel

@ Description

_8164_get_pxi_trigger_value():
Reads back the PXI TRG’s status value from bit0 to bit7.

_8164_set_pxi_trigger_value():
Writes the PXI TRG’s status value from bit0 to bit7.

_8164_enable_pxi_input():
There are three dedicated channels in the PXI_TRG for STA, STP,
and CEMG. When this is enabled, the corresponding channels of
PXI_TRG are set as inputs. These channels map to PXI_TRG’s
channel 5, 6, and 7. If you need these functions, the correspond-
ing PXI_TRG channel is fixed as Input.

_8164_select_pxi_output():
You can select many sources for PXI_TRG outputs. You can use
this function to assign a source for PXI_TRG output. There should
only be one source at the same time. The source could be from
CMP1, CMP2, or other general purpose output pins from motion
chip. The output channel of PXI_TRG could also be assigned
using this function. The STAR_TRG could be assigned to an out-
put channel in this function.

Advertising