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

Chapter 8

Digital I/O

E Series family devices

MIO-16DE-10

6025E devices

Note Only E Series boards with more than eight digital lines—those that have an additional 8255 chip onboard—support handshaking. These boards also are part of the 8255 family.

Note You cannot use channel names that were configured in the DAQ Channel Wizard with handshaking.

Handshaking Lines

653X Family

The names and functions of handshaking signals vary. The DIO-32 devices have two main handshaking lines—the REQ (request) line and the ACK (acknowledge) line. REQ is an input indicating the external device is ready. ACK is an output indicating the DIO-32 device is ready. Burst mode on a 6533 device also uses a third handshaking signal, PCLK (peripheral clock).

8255 Family

For 8255-based DAQ devices that perform handshaking, there are four handshaking signals:

Strobe Input (STB)

Input Buffer Full (IBF)

Output Buffer Full (OBF)

Acknowledge Input (ACK)

You use the STB and IBF signals for digital input operations and the OBF and ACK signals for digital output operations. When the STB line is low, LabVIEW loads data into the DAQ device. After the data has been loaded, IBF is high, which tells the external device that the data has been read. For digital output, OBF is low while LabVIEW sends the data to an external device. After the external device receives the data, it sends a low pulse back on the ACK line. Refer to your hardware manual to determine which digital ports you can configure for handshaking signals.

© National Instruments Corporation

8-7

LabVIEW Measurements Manual

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