Addi-Data ADDINUM CPCI-1500 Technical Description page 95

Digital inputs and outputs for the pci/compactpci bus
Hide thumbs Also See for ADDINUM CPCI-1500:
Table of Contents

Advertisement

APCI-/CPCI-1500
BYTE
Task:
Selects the operating mode of the second counter/timer. Enter its start value.
You have to decide:
- if the counter/timer must execute the counting operation once or several times,
- if the counter/timer is used as a counter or a timer,
- if an interrupt must be generated when the counter/timer has run down,
- if the external trigger is used and if the external gate is used.
Return value:
0: No error
-1: The handle-parameter of the board is wrong
-2: Wrong selection for counter/timer
-3: Error with the interrupt selection
-4: User interrupt routine is not installed
-5: Cycle parameter is wrong
-6: Wrong gate parameter
-7: Wrong trigger parameter
(APCI1500_SOFTWARE_TRIGGER or APCI1500_HARDWARE_TRIGGER)
86
b_InterruptHandling
(APCI1500_COUNTER or APCI1500_TIMER)
(APCI1500_ENABLE or APCI1500_DISABLE)
(APCI1500_CONTINUOUS or APCI1500_SINGLE)
(APCI1500_SOFTWARE_GATE or APCI1500_HARDWARE_GATE)
Technical description
Interrupts can be generated, when the
counter has run down, or when the timer
output is on high.
With this parameter the user decides
if interrupts are used or not.
- APCI1500_ENABLE:
Interrupts are enabled.
- APCI1500_DISABLE:
Interrupts are disabled.
Chapter 9

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADDINUM CPCI-1500 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Addinum apci-1500

Table of Contents