05-13-2016 10:38 AM
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.
Solved! Go to Solution.
05-17-2016 06:32 AM
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...*/
        }