Hi Mitch,
The code that you will need to change to switch the 6009 from differential mode to RSE is the third parameter in the CreateVoltageChannel function. I've included a snippet below:
myTask.AIChannels.CreateVoltageChannel(physicalChannelComboBox.Text," ", (
AITerminalConfiguration.Rse)(-1),Convert.ToDouble(minimumValueNumeric.Value),
Convert.ToDouble(maximumValueNumeric.Value),AIVoltageUnits.Volts);
By default if you do not specify a terminal configuration it defaults to differential.
For more information on configuring the device I would recommend the section of the NI-DAQmx .NET 2.0 Framework Help called
Using the Measurement Studio NI-DAQmx .NET Library.
The location of the help file is referenced
here.
Let me know if you have any additional questions.
Message Edited by Jon M on 09-26-2007 01:05 PM
Test Engineer - CTA