ADLINK ACL-8454/12 User Manual
Page 53

High-Level Programming
• 45
5.6 W_8454_Stop_Counter
@ Description
This function is used to stop a specified counter. The user can
directly assign the counter number 1~12, therefore it is not necessary
to care about the chips number and other details.
@ Syntax
Microsoft C/C++ (Windows, Win95 & Win-NT)
int W_8454_Stop_Counter (int CntrNo, unsigned int *CntrVal)
Visual Basic
Windows 3.11 Version:
W_8454_Stop_Counter (ByVal CntrNo As Integer, CntrVal As
Integer) As Long
Win-95 or Win-NT Version:
W_8454_Stop_Counter (ByVal CntrNo As Long, CntrVal As
Long) As Long
C/C++ (DOS)
int _8454_Stop_Counter(int CntrNo, unsigned int *CntrVal)
@ Arguments
int CntrNo
: Counter number, equals to 1~12
UINT *CntrVal : address to save the read back counter value
@ Return Value
No_Error
: No error
Invalid_Counter_No : CntrNo is out of range.