Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » ISO11783 Node Layer » Iso11783FSGetVolumeInfo

Iso11783FSGetVolumeInfo

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long Iso11783FSGetVolumeInfo( dword infoCount, dword retInfo[] );

Description

This function returns information about the current volume. The current volume is the volume where the configuration is stored.

Parameters

  • infoCount: Number of elements in retInfo
  • retInfo: The information about the volume is returned in this array.
    • Index 0: bit filled with valid elements, Bit 1 set = Index 1 is valid, …
    • Index 1: total space of the volume in 512 byte blocks
    • Index 2: free space in 512 byte blocks

Return Values

0 or error code

Example

dword info[3];

Iso11783FSGetVolumeInfo( elCount(info), info );
write( "Total size %d blocks", info[1] );
write( "Free size %d blocks", info[2] );