Class CreateSamplingRatePayload
- Namespace
- Harp.AnalogInput
- Assembly
- Harp.AnalogInput.dll
Represents an operator that creates a message payload that sets the sampling frequency of the ADC.
public class CreateSamplingRatePayload
- Inheritance
-
CreateSamplingRatePayload
- Derived
- Inherited Members
Properties
SamplingRate
Gets or sets the value that sets the sampling frequency of the ADC.
public SamplingRateMode SamplingRate { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that sets the sampling frequency of the ADC.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the SamplingRate register.
GetPayload()
Creates a message payload for the SamplingRate register.
public SamplingRateMode GetPayload()
Returns
- SamplingRateMode
The created message payload value.