Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Manually setting the acquisition voltage level on PIXe-6535

Solved!
Go to solution

How can I manually set the acquisition voltage to 2.5v on a PXIe-6535 using the .NET API? I've gone tearing through the documentation, and I keep coming up empty.

0 Kudos
Message 1 of 2
(3,120 Views)
Solution
Accepted by topic author CurtisHx

Found it.  It's under the DIChannel.LogicFamily.

 

        using (NationalInstruments.DAQmx.Task task = new NationalInstruments.DAQmx.Task())
        {
          var chan = task.DIChannels.CreateChannel("PXI1Slot1/Port3/Line3", "", ChannelLineGrouping.OneChannelForAllLines);
          chan.LogicFamily = DILogicFamily.TwoPointFiveVolts;
          /* rest of code...*/
        }
0 Kudos
Message 2 of 2
(3,098 Views)