Samraksh eMote .NOW
ConfigureContinuousMode Method (ADCInternal)



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
'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