ADLINK PCI-8102 User Manual
Page 183
172
Function Library
PCI-8102 has 4 digital input channels. By this function, user can
get the
digital input status.
_8102_set_gpio_output2:
The PCI-8102 has 16 digital output channels on P2. By this func-
tion, user could control the
digital outputs.
_8102_get_gpio_output2:
This function is used to get the digital output status.
_8102_get_gpio_input2:
PCI-8102 has 16 digital input channels on P2. By this function,
user can get the digital input
status.
@ Syntax
C/C++(Windows 2000/XP/7)
I16 _8102_set_gpio_output(I16 card_id, U16
do_value );
I16 _8102_get_gpio_output(I16 card_id, U16
*do_status );
I16 _8102_get_gpio_input(I16 card_id, U16
*di_status );
I16 _8102_set_gpio_output2(I16 card_id, U16
do_value );
I16 _8102_get_gpio_output2(I16 card_id, U16
*do_status );
I16 _8102_get_gpio_input2(I16 card_id, U16
*di_status_2 );
Visual Basic (Windows 2000/XP/7)
B_8102_set_gpio_output Lib "8102.dll" Alias
"_8102_set_gpio_output"
(ByVal card_id As Integer, ByVal do_value As
Integer) As Integer