Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Why Can't I Tristate My NI 6509 Digital Lines?

Hardware: Digital I/O (DIO)>>Static>>PCI-6509, Digital I/O (DIO)>>Static>>PXI-6509

Problem:
Why do I get Error -200077 or Error -201223 when I programmatically set my NI 6509 digital lines to tristate using the DO.Tristate property?


Figure 1: Error -200077 Setting One Line to DO.Tristate with DAQmx 8.6 or Earlier.


Figure 2: Error -201223 Setting One Line to DO.Tristate with DAQmx 8.7 or Later.


Solution:
DAQmx 8.6 and Earlier

Before DAQmx 8.7 the DAQmx Channel Property DO.Tristate was used for line-by-line configuration. The NI 6509 is programmed port-by-port, which makes the use of this property incompatible, as shown by the error in Figure 1. A subVI has been created as a substitute for the property, which can be found linked below. Replace the DO.Tristate property with the subVI attached below.

DAQmx 8.7 and Newer

In DAQmx 8.7 the DO. Tristate property added support for the NI 6509 by allowing tristate by port. Since the NI 6509 can only be tristated on a port by port basis, this now allows the user to set a particular port of the NI 6509 to tristate the outputs of that port.

You may run into the issue that is shown in Figure 2 if you try to use the DO.Tristate property if the lines in your DAQmx task do not consume the full port. For example, the error in Figure 2 was received because the Lines input to the DAQmx Create Channel VI was set to port0/line0. The error was resolved by setting the lines to port0/line0:7.

Related Links:
Product Manual: NI 6509 User Guide and Specifications
KnowledgeBase 3BDCO7FL: Disconnecting Hardware Routes Using the DAQmx Tristate VI and DAQmx Disconnect Terminals VI

Attachments:


error200077.giftristate ports.vi


Report Date: 10/27/2005
Last Updated: 10/30/2009
Document ID: 3QQFQFBP

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