Engee documentation

MI-EL-45 MtGetTran

Receiving the latest registered messages on the MKIO line.

blockType: CFunction

Path in the library:

/RITM/RITMeX MI-EL-45/MI-EL-45 MtGetTran

Description

To work with the block, install/update the support package RITM blocks.

Block MI-EL-45 MtGetTran It is used to receive the latest registered messages on the MKIO line.

Ports

Input

# number of messages — number of messages to be read from the bus monitor memory in this calculation step
scalar

Details
Data types

Float64.

Complex numbers support

No

Output

# data — matrix of dimension [39 × Maximum number of messages]
matrix

Details

The number of columns of the matrix corresponds to the maximum number of messages. Each transaction contains 39 elements and transactions are arranged by columns of the matrix:

  • The first 36 column elements contain the information words and data words registered on the line related to this message;

  • Elements 37-39 contain service information: status word and timestamp.

Matrix columns beyond Message Number contain undefined data.

Data types

UInt16.

Complex numbers support

No

Parameters

Main group

# Номер канала: — MKIO channel number
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8

Details

If more than one module is installed in the machine, end-to-end channel numbering is applied.

Values

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8

Default value

1

Program usage name

m_chNum

Tunable

No

Evaluatable

Yes

# Максимальное число сообщений: — the largest number of recent messages that can be read at a time (no more than 512)

Details
Default value

2

Program usage name

m_maxCount

Tunable

No

Evaluatable

Yes

# Шаг расчёта, с: — the calculation step with which the registered messages are read from the bus monitor memory.

Details

Defines the sampling period of the block (in seconds), with which the memory of the monitor of the MCIO line is queried and the last recorded transactions are extracted.

Default value

-1

Program usage name

m_smplT

Tunable

No

Evaluatable

Yes