6 pulse stretcher function (hsl-di16-ul only), Pulse stretcher function (hsl-di16-ul only) – ADLINK HSL-DI32-M-N/HSL-DI32-M-P User Manual
Page 118
HSL Function Library
105
5.6 Pulse Stretcher Function (HSL-DI16-UL Only)
@ Name
HSL_D_set_di_latch_function – Set DI latch function for a
specified DI channel
HSL_D_set_di_latch_functionA – Set DI latch function for
all DI channels
HSL_D_get_di_latch_function – Get DI latch function for a
specified DI channel
@ Description
HSL_D_set_di_latch_function:
The DI-latch function can be set for one single channel by this
function. Note that when this function is executing, it will disable
the Di input signal, and the Di state is unknown.
HSL_D_set_di_latch_functionA:
Set the same parameters of DI-latch function to all channels by
this function. Note that when this function is executing, it will dis-
able the Di input signal, and the Di state is unknown.
HSL_D_get_di_latch_function:
Retreive
DI-latch settings. This function is used to confirm the set-
ting which you set previously. Note that when this function is exe-
cuting, it will disable the Di input signal, and the Di state is
unknown.
@ Syntax
C/C++ (DOS, Windows 98/NT/2K/XP)
I16 HSL_D_set_di_latch_function(I16 card_ID, I16
connect_index, I16 slave_No, I16 channel,
I16 active_mode, I16 duration);
I16 HSL_D_set_di_latch_functionA(I16 card_ID, I16
connect_index, I16 slave_No, I16
active_mode, I16 duration);