Overview
This document has been archived and is no longer updated by National Instruments.
This example shows how to write digital data to a single digital line on a specified port with NI-DAQmx Base commands.
Instructions:
1. Select the digital port and line on the DAQ device to be written.
Note: This example only accepts ports up to 8 bits wide.
2. Connect your lines to the device.
3. Select a value to write.
4. Run the program.
5. Stop when finished.
This example works for all devices supported in NI-DAQmx Base that have Digital I/O capabilities.