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

mostGetAllocTable

Valid for: CANoe DE Note
This functionality is only available for VN2600/VN2610 and OptoLyzer hardware.

Function Syntax

long mostGetAllocTable(long channel, byte buffer[], long buffersize);

Description

The mostGetAllocTable() function copies the MOST Allocation Table (max. 60 bytes) to a local CAPL buffer. It must be verified that the buffer has the required size (buffersize). The Allocation Table contains the reservation status of the synchronous MOST channels.

Parameters

  • channel: Channel of the connected Interface.
  • buffer: Destination buffer
  • buffersize: Destination buffer size

Return Values

See error codes

Example

byte allocTable[60];
// copy allocation table to local buffer
mostGetAllocTable(mostGetChannel(), allocTable, elcount(allocTable));
mostGetChannelOnMostAllocTable