Class CreateAnalogDataPayload
Represents an operator that creates a message payload that voltage at the ADC input and encoder value on Port 2.
public class CreateAnalogDataPayload
- Inheritance
-
CreateAnalogDataPayload
- Derived
- Inherited Members
Properties
AnalogInput0
Gets or sets a value that the voltage at the output of the ADC channel 0.
public short AnalogInput0 { get; set; }
Property Value
AnalogInput1
Gets or sets a value that the voltage at the output of the ADC channel 1.
public short AnalogInput1 { get; set; }
Property Value
Encoder
Gets or sets a value that the quadrature counter value on Port 2.
public short Encoder { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that voltage at the ADC input and encoder value on Port 2.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the AnalogData register.
GetPayload()
Creates a message payload for the AnalogData register.
public AnalogDataPayload GetPayload()
Returns
- AnalogDataPayload
The created message payload value.