C/C++ Library
•
45
5.5
W_8454_Read_Counter
@ Description
To read the counter value from a 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_Read_Counter (int CntrNo, int *Mode,
unsigned int *CntrVal)
Visual Basic
Windows 3.11 Version:
W_8454_Read_Counter (ByVal CntrNo As Integer, Mode
As Integer, CntrVal As Integer) As Long
Win-95 or Win-NT Version:
W_8454_Read_Counter (ByVal CntrNo As Long, Mode As
Long, CntrVal As Long) As Long
C/C++ (DOS)
int _8454_Read_Counter(int CntrNo, int *Mode,
unsigned int *CntrVal)
@ Arguments
int CntrNo
: Counter number, equals to 1~12
int *Mode
: Operation mode of counter, equals to 1 ~6
UINT *CntrVal : address to save the read back counter value
@ Return Value
No_Error
: No error
Invalid_Counter_No : CntrNo is out of range.
5.6
W_8454_Stop_Counter
@ Description
This function is used to 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)
Summary of Contents for NuDAQ ACL-8454
Page 1: ...N u D A Q ACL 8454 MultiFunctions Counter Timer Card User s Guide...
Page 2: ......
Page 5: ......
Page 6: ......
Page 10: ......
Page 23: ...Installation 13 reference number of chips and the counters number...
Page 39: ...Registers Format 29 Bit 7 6 5 4 3 2 1 0 Base 5 DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0...