10 timer read – ADLINK PCI-7224 User Manual
Page 52

44
• C/C++ Libraries
5.10 Timer Read
@ Description
This function is used to read the current count of timer 0 of the on-board
timer 8254.
@ Syntax
PCI-7224/7248, CPCI-7248:
C/C++ (DOS)
void _7248_Timer_Read(U16 cardNo, U16 *counterValue);
void _7249_Timer_Read(U16 cardNo, U16 *counterValue);
void _7296_Timer_Read(U16 cardNo, U16 *counterValue);
C/C++ (Windows 95)
void W_7248_Timer_Read(U16 cardNo, U16 *counterValue);
void W_7249_Timer_Read(U16 cardNo, U16 *counterValue);
void W_7296_Timer_Read(U16 cardNo, U16 *counterValue);
Visual Basic (Windows 95)
W_7248_Timer_Read(ByVal cardNo As Integer, counterValue
As Integer);
W_7249_Timer_Read(ByVal cardNo As Integer, counterValue
As Integer);
W_7296_Timer_Read (ByVal cardNo As Integer,
counterValue As Integer);
@ Argument
cardNo:
card number to select board
counterValue: the value of the current count