
Principles of Operation
61
Operation Modes
DT9850 Series modules support the following digital I/O operation modes:
•
Single-value operations
– Use software to specify the DIN or DOUT subsystem, the
resolution (8), and the gain (1) of the subsystem. Data is then read from or written to the
appropriate digital I/O lines.
Single-value operations stop automatically when finished; you cannot stop a single-value
operation.
Note:
Although single-value operations are the simplest to use, they do not allow you to
check the interrupt status; use continuous digital input mode, described next, to check the
interrupt status.
•
Continuous digital input
operations
– Allow you to read digital input values and check
the interrupt status of the digital input port.
Use the Open Layers Control Panel applet to select any of the first seven digital input lines
to perform interrupt-on-change operations; refer to
for information on enabling
interrupts and to
for information on configuring the digital inputs for pull-up or
pull-down.
Use software to specify DIN subsystem element 1, continuous mode, the resolution (8),
and the trigger source (software).
Once the operation is configured and started, an event is generated when digital input
line 0 to 6 of the digital input port changes state. Using software, you can then read the
value of the digital input port and determine which digital input line changed state to
cause the event.
Note:
If you are using the DataAcq SDK to perform am interrupt-on-change operation,
use the
lParam
parameter of the
olDaSetWndHandle
or
olDaSetNotificationProcedure
function to determine which digital input line changed state and the status of the digital
input port when the interrupt occurred.
The low byte of the first word of
lParam
contains the state of the digital input subsystem,
where bit 0 corresponds to digital input line 0 and bit 6 corresponds to digital input line 6.
The high byte of the first word of
lParam
contains the digital lines (bits) that changed state
causing the interrupt to occur, where bit 8 corresponds to digital input line 0 and bit 14
corresponds to digital input line 6.
Содержание DT9850 Series
Страница 1: ...DT9850 Series UM 22600 M User s Manual Title Page ...
Страница 4: ......
Страница 8: ...Contents 8 ...
Страница 11: ...11 1 Overview DT9850 Series Hardware Features 12 Supported Software 14 Getting Started Procedure 15 ...
Страница 16: ...Chapter 1 16 ...
Страница 17: ...Part 1 Getting Started ...
Страница 18: ......
Страница 48: ...Chapter 4 48 ...
Страница 49: ...Part 2 Using Your Module ...
Страница 50: ......
Страница 51: ...51 5 Principles of Operation Analog Output Features 53 Digital I O Features 60 Counter Timer Features 62 ...
Страница 76: ...Chapter 6 76 ...
Страница 77: ...77 7 Troubleshooting General Checklist 78 Technical Support 80 If Your Module Needs Factory Service 81 ...
Страница 82: ...Chapter 7 82 ...
Страница 83: ...83 8 Calibration Using the Calibration Utility 84 Calibrating the Analog Output Subsystem 85 ...
Страница 86: ...Chapter 8 86 ...