BasicChannel.SendMessage Method
This method sends a message to the channel.
Namespace:
IntervalZero.MaxRT.Libraries.DebugMessage
Assembly:
IntervalZero.MaxRT.Libraries (in IntervalZero.MaxRT.Libraries.dll) Version: 1.0.0.0 (File version: 1.0.1)
Syntax
public void SendMessage(
uint Category,
Severity Severity,
string Message,
bool AppendValues,
long Value0,
long Value1,
double Value2,
double Value3
)
Parameters
Category
Type: UInt32
The category of the message.
Severity
Type: Severity
The severity of the message described in DebugMessage.Severity.
Message
Type: String
The message text in Unicode characters. The maximum length is 128 characters.
AppendValues
Type: Boolean
A flag indicating whether the values should be printed at the end of the message.
Value0
Type: Int64
The first value.
Value1
Type: Int64
The second value.
Value2
Type: Double
The third value.
Value3
Type: Double
The fourth value.
Return Value
Type: void
InvalidOperationException is thrown when the channel is not open.
ArgumentNullException is thrown when parameter Message is null.
MaxRTNativeException is thrown when these errors occur:
| Error code | Meaning |
|---|---|
|
ERROR_INVALID_PARAMETER |
One of the following conditions occurred:
|
|
ERROR_ABANDONED_WAIT_0 |
Failed to acquire the synchronization lock for the channel. |
|
ERROR_NOT_ENOUGH_MEMORY |
The channel is full. |
See Also: