Di Change Detection Applications; Connecting Digital I/O Signals - National Instruments M Series User Manual

Multifunction i/o modules and devices
Hide thumbs Also See for M Series:
Table of Contents

Advertisement

Chapter 6
Digital I/O

DI Change Detection Applications

The DIO change detection circuitry can interrupt a user program when one of several DIO
signals changes state.
You also can use the output of the DIO change detection circuitry to trigger a DI or counter
acquisition on the logical OR of several digital signals. To trigger on a single digital signal, refer
Triggering with a Digital Source
to the
Detection Event signal to a counter, you also can capture the relative time between samples.
You also can use the Change Detection Event signal to trigger DO or counter generations.

Connecting Digital I/O Signals

The DIO signals, P0.<0..31>, P1.<0..7>, and P2.<0..7> are referenced to D GND. You can
individually program each line as an input or output. Figure 6-4 shows P1.<0..3> configured for
digital input and P1.<4..7> configured for digital output. Digital input applications include
receiving TTL signals and sensing external device states, such as the state of the switch shown
in the figure. Digital output applications include sending TTL signals and driving external
devices, such as the LED shown in the figure.
LED
+5 V
Switch
Exceeding the maximum input voltage ratings, which are listed in the
Caution
specifications document for each M Series device, can damage the DAQ device and
the computer. NI is not liable for any damage resulting from such signal connections.
6-8 | ni.com
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
section of Chapter 11, Triggering. By routing the Change
Figure 6-4. Digital I/O Connections
+5 V
TTL Signal
D GND
I/O Connector
M Series Device
P1.<4..7>
P1.<0..3>

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents