Skip to main content
Open topic with navigation CAPL Functions » MOST » mostAsRgGetRxTxLog

mostAsRgGetRxTxLog

Valid for: CANoe DE

Function Syntax

long mostAsRgGetRxTxLog(long regsel, long i); // form 1
long mostAsRgGetRxTxLog(long regsel, long fblockId, long instId); // form 2

Description

The first one returns the logical device address (node address) at position i of the registry. Indexing starts at 0. The second one returns the logical device address (node address) of the function block. If there is no entry with the given FBlockId and InstId, an error code \< 0 is returned.

Parameters

  • regsel:
    • 1: Local FBlockList
    • 2: Bus registry
  • i: Position of the registry entry.
  • fblockId: Function block ID
  • instId: Instance ID

Return Values

Example

mostAsRgGetSizeOnMostAsRegistry