Samraksh eMote .NOW
ConfigureBatchMode 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 : ConfigureBatchMode Method

Pass the buffer to be filled
Define the channel to be read
Defines the number of samples to be read before callback
Defines the rate at which the adc should read channels
Configure batch mode
Syntax

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

    'Declaration

    Public Shared Function ConfigureBatchMode( _
       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.ConfigureBatchMode(sampleBuff, channel, NumSamples, SamplingTime)

    public static DeviceStatus ConfigureBatchMode(
       ushort[] sampleBuff,
       int channel,
       uint NumSamples,
       uint SamplingTime
    )

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

#### Parameters

sampleBuff
  Pass the buffer to be filled
channel
  Define the channel to be read
NumSamples
  Defines the number of samples to be read before callback
SamplingTime
  Defines the rate at which the adc should read channels

#### Return Value

Return the result of the operation
Requirements

Target Platforms: eMote .NOW

See Also

#### Reference

ADCInternal Class
ADCInternal Members

Send Feedback