ADLINK PCM-9112+ User Manual
Page 80
![background image](/manuals/733387/80/background.png)
72
• C/C++ Library
5.27 _9112_TIMER_Read
@ Description
This function is used to read the counter value of Timer #0.
@ Syntax
Visual C++ (Windows-95)
int W_9112_TIMER_Read (int card_number, unsigned int far
* counter_value)
Visual Basic (Windows-95)
W_9112_TIMER_Read (ByVal card_number As Long,
counter_value As Long) As Long
C/C++ (DOS)
int _9112_TIMER_Read (int card_number, unsigned int
*counter_value )
@ Argument:
card_number:
the card number of PCI-9112
counter_value: the counter value of the Timer #0
@ @ Return Code:
ERR_NoError, ERR_BoardNoInit
5.28 _9112_TIMER_Stop
@ Description
This function is used to stop the timer operation. The timer is set to the
'One-shot' mode with counter value ' 0 '. That is, the clock output signal
will be set to high after executing this function.
@ Syntax
Visual C++(Windows-95)
int W_9112_TIMER_Stop (int card_number, unsigned int *
counter_value)
Visual Basic (Windows-95)
W_9112_TIMER_Stop (ByVal card_number As Long,
counter_value As Long) As Long
C/C++ (DOS)
int _9112_TIMER_Stop (int card_number, unsigned int
*counter_value )
@ Argument:
card_number:
the card number of PCI-9112
counter_value: the current counter value of the Timer #0
@ Return Code:
ERR_NoError
ERR_BoardNoInit