Method FromPayload
- Namespace
- Harp.CameraControllerGen2
- Assembly
- Harp.CameraControllerGen2.dll
FromPayload(MessageType, TriggerSource)
Returns a Harp message for the TriggerConfigCam0 register.
public static HarpMessage FromPayload(MessageType messageType, TriggerSource value)
Parameters
messageTypeMessageTypeThe type of the Harp message.
valueTriggerSourceThe value to be stored in the message payload.
Returns
- HarpMessage
A HarpMessage object for the TriggerConfigCam0 register with the specified message type and payload.
FromPayload(double, MessageType, TriggerSource)
Returns a timestamped Harp message for the TriggerConfigCam0 register.
public static HarpMessage FromPayload(double timestamp, MessageType messageType, TriggerSource value)
Parameters
timestampdoubleThe timestamp of the message payload, in seconds.
messageTypeMessageTypeThe type of the Harp message.
valueTriggerSourceThe value to be stored in the message payload.
Returns
- HarpMessage
A HarpMessage object for the TriggerConfigCam0 register with the specified message type, timestamp, and payload.