コード例 #1
0
 /// <summary>
 /// Sets the DAC resolution for the specified channel on the External Source
 ///
 /// SOURce[n]::DAC:RESolution
 /// </summary>
 /// <param name="extSource">the EXTSOURCE object</param>
 /// <param name="channel">channel to use as source</param>
 /// <param name="dacResolution">8 or 10 bit </param>
 public void SetExtSrcDacResolution(IEXTSOURCE extSource, string channel, string dacResolution)
 {
     extSource.SetExtSrcDacResolution(channel, dacResolution);
 }
コード例 #2
0
        public void SetExtSrcDacResolution10Bits(string channel)
        {
            IEXTSOURCE extSource = EXTSOURCE.GetExtSource(false);

            extSource.SetExtSrcDacResolution(channel, "10");
        }