Samraksh eMote .NOW
ConfigureContinuousMode Method (ADCInternal)
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: Visual Basic (Declaration) Language Filter: Visual Basic (Usage) Language Filter: C# Language Filter: C++/CLI
Visual Basic (Declaration)
Visual Basic (Usage)
C#
C++/CLI

Samraksh.eMote.DotNow Namespace > ADCInternal Class : ConfigureContinuousMode Method

pass the buffer to be filled
pass the channel to be sampled
specify the number of samples to be collected before callback
specify the rate of sampling
Configure the adc in continuous mode
Syntax

- Visual Basic
- C#
- C++/CLI

    'Declaration

    Public Shared Function ConfigureContinuousMode( _
       ByVal SampleBuff() As UShort, _
       ByVal channel As Integer, _
       ByVal NumSamples As UInteger, _
       ByVal SamplingTime As UInteger _
    ) As DeviceStatus

    'Usage

    Dim SampleBuff() As UShort
    Dim channel As Integer
    Dim NumSamples As UInteger
    Dim SamplingTime As UInteger
    Dim value As DeviceStatus

    value = ADCInternal.ConfigureContinuousMode(SampleBuff, channel, NumSamples, SamplingTime)

    public static DeviceStatus ConfigureContinuousMode(
       ushort[] SampleBuff,
       int channel,
       uint NumSamples,
       uint SamplingTime
    )

    public:
    static DeviceStatus ConfigureContinuousMode(
       array<ushort>^ SampleBuff,
       int channel,
       uint NumSamples,
       uint SamplingTime
    )

#### Parameters

SampleBuff
  pass the buffer to be filled
channel
  pass the channel to be sampled
NumSamples
  specify the number of samples to be collected before callback
SamplingTime
  specify the rate of sampling

#### Return Value

Returns the result of this operation
Requirements

Target Platforms: eMote .NOW

See Also

#### Reference

ADCInternal Class
ADCInternal Members

Send Feedback