01-17-2012 04:45 PM
I have a question about how to explicitly set a temperature measurement task to use High-Resolution mode for the ni-9213. I'm able to make the measurement, but whether the measurement is made in High-Resolution or High-Speed mode is ambiguous. I can't find an overload that let's me set it in Measurement studio using C#.
Any help would be appreciated.
Derek Hopkins
Solved! Go to Solution.
01-18-2012 06:40 AM
Hi,
Maybe you can set that by changing the rate and samples per chanel in the ConfigureSampleClock method
myTask.Timing.ConfigureSampleClock("", myRate, SampleClockActiveEdge.Rising, SampleQuantityMode.ContinuousSamples, mySamplesPerChannel)
Curt
01-23-2012 03:04 PM
Hi Derek,
You will find some information about how to set the ADC Timing Mode for a NI-9213 in this document. The document states: "In text based programming languages, you will use the DAQmxSetAIADCTimingMode Property. The documentation that explains how to use this property is in the NI-DAQmx C Reference Help. In the NI-DAQmx C Reference Help document, select NI-DAQmx C Properties»List of Channel Properties. The property will be located under Analog Input»General Properties»Digitizer/ADC»Timing Mode.".
I would suggest you to check the documentation in the NI-DAQmx C Reference Help document for more help as this article says.
01-27-2012 04:37 PM
C# equivalent: myTask.AIChannels.All.AdcTimingMode = AIAdcTimingMode.HighSpeed;
Brad
02-08-2012 01:09 PM
Thanks, that is exactly what I wanted to know.
Derek Hopkins