38
•
Applications
4.5 Event Counter
Example : To count external event in 1 sec
step 1: This application needs one counter to generate a time base
of 1 sec and the second counter to count the event. The
cascaded counter #5, #6 can perform the watchdog timer.
The another counter #1 is used as an example to count
external event. The clock source of counter #1 is the event
signal and the frequency is not fixed.
step 2~6: Skip these steps.
step 7: The gate source is alwayse enable and the external gate
must be removed.
step 8: Connect the signal according to Figure 4.7.
step 9: Write the control program. Please refer the ‘DEMO5.C’
source code.
COUT1
Counter #1
8254 Chip #2
C
G
O
'H'
Jumper
CK1
COUT6
Counter #6
8254 Chip #2
C
G
O
IRQ channel : Watchdog Interrupt
JP1
Event signal
Figure 4.5 Example of event counter
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...