Extensions.BusMonitoring.GetBusFrameAsString
Jump to navigation
Jump to search
Contents
Classification
Name | GetBusFrameAsString |
Short Description | Accepts a BusFrame and returns an otx:String that represents the whole frame delivered by the runtime system |
Class | Term |
Extension | OTX BusMonitoring extension |
Group | BusMonitoring related Terms |
Exceptions | NotSupportedException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
StringTerm BusMonitoring.GetBusFrameAsString(BusFrameTerm frame);
Description
The GetBusFrameAsString term accepts a BusFrame and returns an otx:String that represents the whole frame delivered by the runtime system.
Important: The returned string shall be formatted as the message string given in ISO 22900 Annex F. |
Return Value
The Term returns the value, see table below.
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
otx:String | Represents the BusFrame to get the string from. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
frame | BusFrame | Term | - | [1..1] | Represents a BusFrame to get the address from. |
OTL Examples
/// Local Declarations
BusMonitoring.BusMonitor BusMonitor1;
List<BusMonitor.BusFrame> List1;
Integer Integer1;
String String1;
/// Flow
BusMonitoring.StartBusMonitoring(BusMonitor1);
List2 = BusMonitoring.FetchBusMonitorBusFrames(BusMonitor1);
foreach (Integer1 in List1) : ForEachLoop1
{
String1 = BusMonitoring.GetBusFrameAsString(List1[Integer1]);
}
BusMonitoring.StopBusMonitoring(BusMonitor1);
See also
StartBusMonitoring
StopBusMonitoring
BusMonitorEventSource
FetchBusMonitorBusFrames
GetBusFrameAddress
GetBusFrameData
GetBusFrameTimestamp
GetBusFrameType
IsBusMonitorEvent