Engee documentation

MI-EL-45 MtGetTran

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 MI-EL-45 MtGetTran 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

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

Параметры:

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

Details

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

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 (max. 512)

Details
Default value

2

Program usage name

m_maxCount

Tunable

No

Evaluatable

Yes

# Шаг расчёта, с: — calculation step in seconds

Details
Default value

-1

Program usage name

m_smplT

Tunable

No

Evaluatable

Yes