Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
LabVIEW-Measurements.pdf
Скачиваний:
61
Добавлен:
29.05.2015
Размер:
3.37 Mб
Скачать

Chapter 8

Digital I/O

E Series Family

The examples Read 1 Pt from Dig Line(E) VI and Write 1 Pt to Dig Line(E) VI show how to use the Easy Digital I/O VIs to read from or write to one digital line. Refer to the VIs in the examples\daq\ digio.llb for examples of how to use the Easy Digital I/O VIs. You can write similar examples to read from or write to a single port.

8255 Family

The examples Read from 1 Dig Line(8255) VI and Write to 1 Dig Line(8255) VI show how to use the Easy Digital I/O VIs to read from or write to one digital line. Refer to the VIs in the examples\daq\

digio.llb for examples of how to use the Easy Digital I/O VIs. You can write similar examples to read from or write to a single port.

Immediate I/O Using the Advanced Digital VIs

The Advanced Digital I/O subVIs give you more programming flexibility. Only the following three subVIs are needed to create the examples in this section: DIO Port Config VI, DIO Port Read VI, and DIO Port Write VI.

653X Family

The examples Read from 1 Dig Port(653X) VI and Write to 1 Dig Port(653X) VI show how to use the Advanced Digital I/O VIs to read from or write to one digital 8-bit port. The examples Read from 2 Dig Ports(653X) VI and Write to 2 Dig Ports(653X) VI show how to use the Advanced Digital I/O VIs to read from or write to two separate 8-bit ports. The examples Read from Digital Port(653X) VI and Write to Digital Port(653X) VI show how to use the Advanced Digital I/O VIs to read from or write to one digital port where the port width can be 8, 16, 24, or 32 bits. Refer to the VIs in the examples\daq\digio.llb for examples of how to use the Advanced Digital I/O VIs.

E Series Family

The examples Read from 1 Dig Port(E) VI and Write to 1 Dig Port(E) VI show how to use the Advanced Digital I/O VIs to read from or write to one digital 8-bit port. Refer to the VIs in the examples\daq\digio.llb for examples of how to use the Advanced Digital I/O VIs.

© National Instruments Corporation

8-5

LabVIEW Measurements Manual

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]