Engee documentation

MI-EL-45 MtGetTran

Page in progress.

Receive the most recently logged messages on the ICIO line.

blockType: CFunction

Path in the library:

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

Description

The block is used to retrieve the last registered messages on the ICIO line.

Ports

Input

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

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 type

UInt16.

Parameters

Channel number - MKIO channel number
1 (by default) | 2 | 3 | 4 | 5 | 6 | 7 | 8

Details

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

Maximum number of messages - - the largest number of recent messages that can be read at one time (max 512)
`2 (By default).

Calculation step - calculation step in seconds
`-1 (By default).