Broadcast Class

Represents a CAN message that is written periodically.

Definition

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

Constructors

Broadcast Initializes a new Broadcast object.

Properties

Active Gets a value indicating if the CAN message associated to this object is currently being transmitted or not.
Counter Gets a value that indicates the number of times the configured Message has been sent.
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.
Interval Gets or sets the interval used to write the Message periodically.
Message Gets or sets the CAN message to be written when the Interval expires.

Methods

Equals Indicates whether this instance and a specified object are equal.
(Overrides ObjectEquals(Object))
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.
(Overrides ObjectGetHashCode)
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.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Operators

Equality(Broadcast, Broadcast) Checks if two Broadcast instances are equal.
Inequality(Broadcast, Broadcast) Checks if two Broadcast instances are not equal.

See Also