Method GetMessage
- Namespace
- Harp.TimestampGeneratorGen3
- Assembly
- Harp.TimestampGeneratorGen3.dll
GetMessage(double, MessageType)
Creates a timestamped message that reads whether the port has a device connected to (bitmask).
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 DevicesConnected register.