Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006

NI-DAQmx Base: Write to Digital Line

3 ratings | 2.67 out of 5
Print

Downloads

Filename: daqmx_base-write_dig_line.vi
Requirements: View

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.

Requirements


Filename: daqmx_base-write_dig_line.vi

Software Requirements


Application Software: LabVIEW Professional Development System 7.1, LabVIEW Base Development System 7.1, LabVIEW Full Development System 7.1
Language(s): LabVIEW

Hardware Requirements


Hardware Group: Multifunction DAQ (MIO)
Hardware Model: PCI-6284, PCI-6289, PXI-6011E, PXI-6023E, PXI-6024E, PXI-6025E, PXI-6030E, PXI-6031E, PXI-6032E, PXI-6033E, PXI-6035E, PXI-6040E, PXI-6052E, PXI-6053E, PXI-6070E, PXI-6071E, PXI-6115, PXI-6259, PCI-6036E, PCI-6040E (PCI-MIO-16E-4), PCI-6052E, PCI-6053E, PCI-6071E, PCI-6110, PCI-6111, PCI-6115, PCI-6120, PCI-6122, PCI-6123, PCI-6132, PCI-6133, PCI-6143, PCI-6153, PCI-6154, PCI-6220, PCI-6221, PCI-6221 (37-Pin), PCI-6222, PXI-6280, PXI-6281, PXI-6284, PXI-6289, PXI-6120, PXI-6122, PXI-6123, PXI-6132, PXI-6133, PXI-6143, PXI-6220, PXI-6221, PXI-6230, PXI-6224, PXI-6225, PXI-6229, PXI-6250, PXI-6251, PXI-6254, PXI-6255, PCI-6224, PCI-6225, PCI-6229, PCI-6250, PCI-6251, PCI-6254, PCI-6255, PCI-6259, PCI-6280, PCI-6281, USB-6008, USB-6009, USB-9211, USB-9215, PCI-6010, PCI-6013, PCI-6014, PCI-6023E, PCI-6024E, PCI-6025E, PCI-6031E, PCI-6032E, PCI-6033E, PCI-6034E, PCI-6035E
Driver: NI-DAQmx Base 2.0

 
3 ratings | 2.67 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).