Main Content

Classes and Methods of ASAM XIL API

To interface with test cases, the Simulink Real-Time XIL API support package supports a subset of the ASAM XIL API. The tables include API methods that you can use with the support package.

MAPort Class

Class

Method

Introduced in Support Package Version

MAPort

CheckVariableNames(variableNames :A_UNICODE2STRING[]) :A_UNICODE2STRING[]

1.0

MAPort

Configure(config :MAPortConfig, forceConfig :A_BOOLEAN) :void

1.0

MAPort

GetDataType(variableName :A_UNICODE2STRING) :DataType

1.0

MAPort

GetVariableInfo(variableName :A_UNICODE2STRING) :MAPortVariableInfo

1.0

MAPort

IsReadable(variableName :A_UNICODE2STRING) :A_BOOLEAN

1.0

MAPort

IsWritable(variableName :A_UNICODE2STRING) :A_BOOLEAN

1.0

MAPort

LoadConfiguration(filepath :A_UNICODE2STRING) :MAPortConfig

1.0

MAPort

StartSimulation() :void

1.0

MAPort

StopSimulation() :void

1.0

MAPort

getConfiguration() :MAPortConfig

1.0

MAPort

getState() :MAPortState

1.0

MAPort

getTaskInfos() :TaskInfo[]

1.0

MAPort

getTaskNames() :A_UNICODE2STRING[]

1.0

MAPort

getVariableNames() :A_UNICODE2STRING[]

1.0

MAPort

Dispose

1.0

MAPort

Disconnect

1.0

ECUMPort Class

Class

Method

Introduced in Support Package Version

ECUMPort

CheckVariableNames

1.0

ECUMPort

Configure

1.0

ECUMPort

CreateCapture

1.0

ECUMPort

GetDataType

1.0

ECUMPort

GetMeasuringVariables

1.0

ECUMPort

GetVariableInfo

1.0

ECUMPort

IsReadable

1.0

ECUMPort

LoadConfiguration

1.0

ECUMPort

Read

1.0

ECUMPort

SetMeasuringVariables

1.0

ECUMPort

StartMeasurement

1.0

ECUMPort

StopMeasurement

1.0

ECUMPort

getConfiguration

1.0

ECUMPort

getState

1.0

ECUMPort

getTaskInfos

1.0

ECUMPort

getTaskNames

1.0

ECUMPort

getVariableNames

1.0

ECUMPort

Disconnect

1.0

ECUMPort

Dispose

1.0

ECUCPort Class

Class

Method

Introduced in Support Package Version

ECUCPort

CalculateRefPageCRC

1.0

ECUCPort

CalculateWorkPageCRC

1.0

ECUCPort

CheckVariableNames

1.0

ECUCPort

Configure

1.0

ECUCPort

GetDataType

1.0

ECUCPort

GetVariableInfo

1.0

ECUCPort

IsReadable

1.0

ECUCPort

IsWriteable

1.0

ECUCPort

LoadConfiguration

1.0

ECUCPort

NumberOfPages

1.0

ECUCPort

Read

1.0

ECUCPort

StartOnlineCalibration

1.0

ECUCPort

StopOnlineCalibration

1.0

ECUCPort

SwitchToRefPage

1.0

ECUCPort

SwitchToWorkPage

1.0

ECUCPort

Write

1.0

ECUCPort

getConfiguration

1.0

ECUCPort

getState

1.0

ECUCPort

getVariableNames

1.0

ECUCPort

Disconnect

1.0

ECUCPort

Dispose

1.0

Capture Class

Class

Method

Introduced in Support Package Version

Capture

Fetch(whenFinished :A_BOOLEAN) :CaptureResult

1.0

Capture

Start(writer :CaptureResultWriter) :void

1.0

Capture

getCaptureResult() :CaptureResult

1.0

Capture

getState() :CaptureState

1.0

Capture

setVariables(variableNames :A_UNICODE2STRING[]) :void

1.0

CapturingFactory Class

Class

Method

Introduced in Support Package Version

CapturingFactory

CreateCaptureResult

1.0

MAPORTFactory Class

Class

Method

Introduced in Support Package Version

MAPortFactory

CreateMAPort

1.0

MAPortFactory

CreateMAPortBreakpoint

See note.

MAPortFactory

CreateMAPortBreakpoint2

See note.

Note

The signature for the CreateMAPortBreakpoint method is incorrect in ASAM XIL v2.1.0. The signature for the CreateMAPortBreakpoint2 is the corrected version of the method and is contained in ASAM XIL v2.1.1.

See Also

Related Topics

External Websites