Table of Contents

Method FromUInt64

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

FromUInt64(int, MessageType, ulong)

Returns a HarpMessage with the specified address, message type, and a single value 64-bit unsigned integer payload.

public static HarpMessage FromUInt64(int address, MessageType messageType, ulong value)

Parameters

address int

The address of the register to which the Harp message refers to.

messageType MessageType

The type of the Harp message.

value ulong

The value to be stored in the payload.

Returns

HarpMessage

A valid HarpMessage instance with the specified address, message type and payload.

FromUInt64(int, int, MessageType, ulong)

Returns a HarpMessage with the specified address, message type, port, and a single value 64-bit unsigned integer payload.

public static HarpMessage FromUInt64(int address, int port, MessageType messageType, ulong value)

Parameters

address int

The address of the register to which the Harp message refers to.

port int

The origin or destination of the Harp message, for routing purposes.

messageType MessageType

The type of the Harp message.

value ulong

The value to be stored in the payload.

Returns

HarpMessage

A valid HarpMessage instance with the specified address, message type, port, and payload.

FromUInt64(int, double, MessageType, ulong)

Returns a HarpMessage with the specified address, message type, timestamp, and a single value 64-bit unsigned integer payload.

public static HarpMessage FromUInt64(int address, double timestamp, MessageType messageType, ulong value)

Parameters

address int

The address of the register to which the Harp message refers to.

timestamp double

The timestamp of the message payload, in seconds.

messageType MessageType

The type of the Harp message.

value ulong

The value to be stored in the payload.

Returns

HarpMessage

A valid HarpMessage instance with the specified address, message type, timestamp, and payload.

FromUInt64(int, int, double, MessageType, ulong)

Returns a HarpMessage with the specified address, message type, port, timestamp, and a single value 64-bit unsigned integer payload.

public static HarpMessage FromUInt64(int address, int port, double timestamp, MessageType messageType, ulong value)

Parameters

address int

The address of the register to which the Harp message refers to.

port int

The origin or destination of the Harp message, for routing purposes.

timestamp double

The timestamp of the message payload, in seconds.

messageType MessageType

The type of the Harp message.

value ulong

The value to be stored in the payload.

Returns

HarpMessage

A valid HarpMessage instance with the specified address, message type, port, timestamp, and payload.

FromUInt64(int, MessageType, params ulong[])

Returns a HarpMessage with the specified address, message type, and an array payload of 64-bit unsigned integers.

public static HarpMessage FromUInt64(int address, MessageType messageType, params ulong[] values)

Parameters

address int

The address of the register to which the Harp message refers to.

messageType MessageType

The type of the Harp message.

values ulong[]

The values to be stored in the payload.

Returns

HarpMessage

A valid HarpMessage instance with the specified address, message type and payload.

FromUInt64(int, int, MessageType, params ulong[])

Returns a HarpMessage with the specified address, message type, port, and an array payload of 64-bit unsigned integers.

public static HarpMessage FromUInt64(int address, int port, MessageType messageType, params ulong[] values)

Parameters

address int

The address of the register to which the Harp message refers to.

port int

The origin or destination of the Harp message, for routing purposes.

messageType MessageType

The type of the Harp message.

values ulong[]

The values to be stored in the payload.

Returns

HarpMessage

A valid HarpMessage instance with the specified address, message type, port, and payload.

FromUInt64(int, double, MessageType, params ulong[])

Returns a HarpMessage with the specified address, message type, timestamp, and an array payload of 64-bit unsigned integers.

public static HarpMessage FromUInt64(int address, double timestamp, MessageType messageType, params ulong[] values)

Parameters

address int

The address of the register to which the Harp message refers to.

timestamp double

The timestamp of the message payload, in seconds.

messageType MessageType

The type of the Harp message.

values ulong[]

The values to be stored in the payload.

Returns

HarpMessage

A valid HarpMessage instance with the specified address, message type, timestamp, and payload.

FromUInt64(int, int, double, MessageType, params ulong[])

Returns a HarpMessage with the specified address, message type, port, timestamp, and an array payload of 64-bit unsigned integers.

public static HarpMessage FromUInt64(int address, int port, double timestamp, MessageType messageType, params ulong[] values)

Parameters

address int

The address of the register to which the Harp message refers to.

port int

The origin or destination of the Harp message, for routing purposes.

timestamp double

The timestamp of the message payload, in seconds.

messageType MessageType

The type of the Harp message.

values ulong[]

The values to be stored in the payload.

Returns

HarpMessage

A valid HarpMessage instance with the specified address, message type, port, timestamp, and payload.