Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Tristate a 6509 channel programatically

I am trying to programatically tristate a PXI-6509 output channel using the DaqSystem.TristateOutputTerminal Method described in NI-DAQmx .NET Framework 2.0 Help  and attached below.
Can you tell me what the Output terminal string should be?  I tried "/dev1/Port11/Line0" but that did not work.
 

DaqSystem.TristateOutputTerminal Method

Sets a terminal to high-impedance state.

Public Sub TristateOutputTerminal( _ 
   ByVal outputTerminal As 

0 Kudos
Message 1 of 2
(3,054 Views)
ScotH,

This is likely due to the fact that the 6509 is port-configurable, rather than line-configurable. For your channel string, try "Dev1/Port11/Line0:7." If this does not help, let us know what you mean by "that did not work." Did DAQmx return an error? Was the terminal not in a high impedance state?

Hope this helps,
Ryan Verret
Product Marketing Engineer
Signal Generators
National Instruments
0 Kudos
Message 2 of 2
(3,035 Views)