Handshaking

NI-DAQmx Key Concepts

Handshaking

If you want to communicate with an external device using an exchange of signals to request and acknowledge each data transfer, use handshaking.

For example, you might want to acquire an image from a scanner. The process involves the following steps:

  1. The scanner sends a pulse to your measurement device after it scans the image and is ready to transfer the data.
  2. Your measurement device reads an 8-, 16-, or 32-bit digital sample.
  3. Your measurement device then sends a pulse to the scanner to inform the scanner that the digital sample has been read.
  4. The scanner sends out another pulse when the scanner is ready to send another digital sample.
  5. After your measurement device receives this digital pulse, the device reads the sample.

This process repeats until all the samples are transferred.

Note  Not all devices support handshaking. Refer to your device documentation to see if handshaking is supported on your device. For E Series devices, only those devices with more than eight digital lines—those devices that have an additional 8255 chip onboard—support handshaking.

Handshaking Signals (Devices with an Additional 8255 Chip Onboard)