ADLINK cPCI-9116 User Manual
Page 90
 
80
• C++ Library
@ Return Code
ERR_NoError 
ERR_BoardNoInit 
6.12.6 _9116_GP0_Set_UPDOWN
@ Description
This function is used to select up/down operation of GPTC when 
internal up/down source is selected. 
@ Syntax
C/C++ (DOS)
Int _9116_GP0_Set_UPDOWN(I16 card_number, U8 updown)
@ Argument
card_number:
the card number of cPCI-9116 to be initialized, 
totally 4 cards can be initialized, the valid card 
numbers are CARD_1, CARD_2, CARD_3, 
CARD_4. 
Updown: 0: count down 
 1: count up 
 
@ Return Code
ERR_NoError 
ERR_BoardNoInit 
6.12.7 _9116_GP0_EN
@ Description
This function is used to enable the counting of GPTC.
@ Syntax
C/C++ (DOS)
Int _9116_GP0_EN( I16 card_number, U8 gp0_en)
@ Argument
card_number:
the card number of cPCI-9116 to be initialized, 
totally 4 cards can be initialized, the valid card 
numbers are CARD_1, CARD_2, CARD_3, 
CARD_4. 
Gp0_en: 0: disable counting 
 1: enable counting