CyberResearch PCIDIO 96H Computer Hardware User Manual


 
C/C++ Libraries
41
5.10 Timer Read
@ Description
This function is used to read the current count of the timer0 of the on-
board timer 8254 .
@ Syntax
PCIDIO 24H/48H:
C/C++ (DOS)
void _DIO48H_Timer_Read(U16 cardNo, U16
*counterValue);
void _DIO96H_Timer_Read(U16 cardNo, U16
*counterValue);
C/C++ (Windows 95)
void W_DIO48H_Timer_Read(U16 cardNo, U16
*counterValue);
void W_DIO96H_Timer_Read(U16 cardNo, U16
*counterValue);
Visual Basic (Windows 95)
W_DIO48H_Timer_Read(ByVal cardNo As Integer,
counterValue As Integer);
W_DIO96H_Timer_Read (ByVal cardNo As Integer,
counterValue As Integer);
@ Argument
cardNo: card number to select board
counterValue: the value of the current count