Method GetMessage
- Namespace
- Harp.AnalogInput
- Assembly
- Harp.AnalogInput.dll
GetMessage(double, MessageType)
Creates a timestamped message that value used to threshold an ADC read, and trigger DO0 pin.
public HarpMessage GetMessage(double timestamp, MessageType messageType)
Parameters
timestamp
doubleThe timestamp of the message payload, in seconds.
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new timestamped message for the DO0Threshold register.