
66
Function Library
5.11 Latch
@ Name
@ Description
_8124_set_latch:
This function is used to enable or disable the high-speed posi-
tion capture (latch) function and set the latch condition. When-
ever the users enable it and configure the latch condition
(Rising or falling active) correctly, the current position will be
latched when it receive the latch signal. Users can check the
latch events by polling “_8124_get_latch_event_sts” or by
using the interrupt function. See also section 5.13 Interrupt
function.
_8124_get_latch_event_sts:
This function is used to check the latch event status. If the latch
function is enabled and the latch condition is met, the status
will become 1 from 0. The event status is read-clear.
_8124_get_latch_value:
When the latch event occurred, you can use this function get
the latched counter value.
@ Syntax
C/C++ (Windows 2000/XP)
I16 _8124_set_latch( I16 CardId, I16 Channel, I16
Enable, I16 EdgeSel );
I16 _8124_get_latch_event_sts( I16 CardId, I16
*LatchEventInBit );
I16 _8124_get_latch_value(I16 CardId, I16
Channel, I32 *LatchValue );
_8124_set_latch
Configure the latch function
_8124_get_latch_event_sts
Get the latch event status
_8124_get_latch_value
Get the latched value
Содержание PCI-8124
Страница 5: ......
Страница 17: ...8 Introduction ...
Страница 30: ...Signal Connections 21 Outside PCI 8124 inside PCI 8124 TRGx 220Ω ...
Страница 33: ...24 Signal Connections ...
Страница 35: ...26 Operation Theory 4 1 Trigger Board Overview The input and output relationships are shown as follows ...
Страница 49: ...40 Operation Theory ...
Страница 61: ...52 Function Library I16 ToggleDir Toggled condition select X 0 Directionless X 1 Count up X 2 Count down ...
Страница 72: ...Function Library 63 I16 Enable Enable Disable linear set X 0 disable 1 enable ...
Страница 83: ...74 Function Library ...