SequentialBroadcast Class

Represents a CAN message that is written periodically. Allows the incrementation of a sequence counter within the message data.

Remarks

The sequence counter is treated as a rolling counter. If the maximum sequence length is reached, the counter resets to 0.

Definition

Namespace: Peak.Can.Basic
Assembly: PCANBasic.NET (in PCANBasic.NET.dll) Version: 5.1.0
C#
public class SequentialBroadcast : Broadcast
Inheritance
Object    Broadcast    SequentialBroadcast

Constructors

SequentialBroadcast Initializes a new SequentialBroadcast object which inherits from Broadcast.

Properties

Active Gets a value indicating if the CAN message associated to this object is currently being transmitted or not.
(Inherited from Broadcast)
Counter Gets a value that indicates the number of times the configured Message has been sent.
(Inherited from Broadcast)
Index Gets the position of this object within the periodic sending table.

  Note

A value of -1 (0xFFFFFFFF) indicates, that this object is not registered.

(Inherited from Broadcast)
Interval Gets or sets the interval used to write the Message periodically.
(Inherited from Broadcast)
Message Gets or sets the CAN message to be written when the Interval expires.
(Inherited from Broadcast)

Methods

Equals Indicates whether this instance and a specified object are equal.
(Inherited from Broadcast)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Returns the hash code for this instance.
(Inherited from Broadcast)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ResetCounter Sets the counter of transmitted messages to 0.
(Inherited from Broadcast)
ResetSequenceCounter Resets the sequence counter to 0 by clearing the sequence counter data of the message.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also