Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
14 ratings:
 2.21 out of 5     Rate this Document

Configuring the NI-USB 6009, 6501, and 62xx to be Open-Drain or Push-Pull

Hardware: Multifunction DAQ (MIO)>>Portable>>USB-6009, Digital I/O (DIO)>>Static>>USB-6501

Problem:
How do I configure the digital output lines of the NI-USB 6009, 6501, or 62xx to be open-drain or push-pull?

Solution:
The output drive type for these devices is open-drain by default, but this can be changed programmatically when using DAQmx. In LabVIEW you use a channel property node to configure the channel. After placing the DAQmx channel property node on the block diagram, click on it and select Digital Output >> Output Drive Type as shown below.

Right click on the input input node of the DO.OutputDriveType property, and go to Create»Constant. The term Open Collector is DAQmx equivalent to Open-Drain and Active Drive is the DAQmx equivalent to Push-Pull. If you are using NI-DAQmx Base rather than DAQmx, the output drive type cannot be set programmatically and must be done in the DAQmx Base Configuration Utility. This procedure is described in KnowledgeBase 3KAFMFBH linked below.

In LabVIEW the channel property DO.OutputDriveType will not be visible unless the DAQmx Channel Property node is referenced to a device that support different output drive types.  Alternatively, you can right click on DAQmx Channel Property and choose Select Filter... and Show All Attributes to see the property even if the required channel reference is not provided.

These VIs are all using the NI-DAQmx driver, so this functionality would be available in LabWindows CVI, Microsoft Visual Studio, and any other language that can be used to program with the NI-DAQmx driver.

The output drive type of the NI-USB 6008 is always open-drain and cannot be changed to push-pull.

Related Links:
KnowledgeBase 3ESBHEL2: Missing Properties in DAQmx Property Nodes
KnowledgeBase 3KAFMFBH: How Do You Configure the DIO Lines of the NI-USB 6009 to be Open-Drain or Push-Pull?
Developer Zone Tutorial: Digital I/O Applications
KnowledgeBase 3MLFD5SE: Are my M Series Digital Outputs Line Driver, Open Collector, or Push-Pull Outputs?
KnowledgeBase 3JAF2BVB: What is the Difference Between a Line Driver, Open Collector, and Push-Pull Quadrature Encoders and Which One Should I Use? Entry
KnowledgeBase 2VRDP4Y1: Can I Implement Open-Collector Mode When I Am Performing Unstrobed Digital I/O?
<

Attachments:


Output Drive Type.GIF


Report Date: 01/11/2006
Last Updated: 08/29/2008
Document ID: 3TAC230F

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit