07-20-2011 10:00 AM
I just got the 9205 module and I am using the examples contained in "C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DotNET3.5\Analog In\Measure Voltage". When I first started using the program I found that it worked for a differential measurement, but it was unstable. I read in another forum though that unused channels should be gounded, so I did this and that problem was corrected. Now I want to make an RSE (Referenced Single-Ended) measurement, but all of the examples I have are for the default, which is differential. How can I configure the device to RSE readings in C#?
07-20-2011 10:28 AM
I got it... From the example "AcqOneVoltageSample.2008" there is the line of code:
myTask.AIChannels.CreateVoltageChannel(physicalChannelComboBox.Text,"", (AITerminalConfiguration)(-1),Convert.ToDouble(minimumValueNumeric.Value), Convert.ToDouble(maximumValueNumeric.Value),AIVoltageUnits.Volts);
Change "(AITerminalConfiguration)(-1)" to "AITerminalConfiguration.Rse".
07-21-2011 01:50 PM
You may also be interested in the article Field Wiring and Noise Considerations for Analog Signals whic describes hardware side of device configuration to reduce noise.