
Setup
CNT24-4(PCI)
12
(2) Display 4 channel count values at the same time
(CNTPCI02.C)
This program displays the 4 channel count values at the same time.
When this program is executed, the signal count values (Decimal
and HEX) that are connected to channels 0 - 3 and their input status.
Pressing the ESC key terminates the program.
CHANNEL
DATA
STATUS
CH0
0
7F
DATA(HEX )
000000
CH1
0
7F
000000
CH2
0
7F
000000
CH3
0
7F
000000
Figure 2.7. CRT Display (CNTPCI02.C)
(3) Display count value for every time period by timer interrupt
(CNTPCI03.C)
This program generates an interrupt every second using the timer
and displays the count value. If this program is executed, the
count values (HEX and decimal) of the signal that is connected to
channels 0 -3 are displayed. The interrupt level is IRQ5.
Pressing the ESC key terminates the program.
CHANNEL
D ATA
CH0
0
DATA(HEX)
000 000
CH1
0
000 000
CH2
0
000 000
CH3
0
000 000
INTERRUPT COUNT 0T IME
Figure 2.8. CRT Display (CNTPCI03.C)
Note!
To terminate the program, press the ESC key. If the program is
terminated by another key, the interrupt routine is aborted and the
process stops.
Содержание CNT24-4
Страница 1: ...CNT24 4 PCI 24Bit Up Down Counter Board for PCI User s Guide ...
Страница 13: ...Introduction CNT24 4 PCI 4 ...
Страница 41: ...External Connection CNT24 4 PCI 32 ...
Страница 67: ...I O Ports and Registers CNT24 4 PCI 58 ...
Страница 75: ...A 41 781 LZC6961 000707 971007 ...