cookie CmListRemoteUpdate

Description

CmListRemoteUpdate parses an Update File *.WibuCmRaU and determines the serial numbers of all CmContainers listed in this file.

tmr_02

Triple Mode Redundancy-related information (TMR)

  • C, C++
  • C#
  • Python

Syntax

int CMAPIENTRY CmListRemoteUpdate(const char *pszRauFile, CMSERIAL *pcmSerials, CMUINT cbSerials)

Parameter

pszRauFile contains a pointer to the NULL-terminated filename of the Update File *.WibuCmRaU.

pcmSerials contains a pointer to an allocated array of (see structure hmtoggle_plus1 CMSERIAL structures which receives the result.

cbSerials contains the length of the array (number of CMSERIAL structures) in pcmSerials.  

Return

Returns the number of found serial numbers in the Update File *.WibuCmRaU. If this number is equal or smaller than cbSerials, all found serial numbers are copied to the array at pcmSerials. If the number of found serial numbers is larger than cbSerials, cbSerials elements are copied to the array at pcmSerials.

Syntax

public bool CmListRemoteUpdate(string RauFile, out CmSerial[] Serials)

Parameter

RauFile contains the filename of the Update File *.WibuCmRaU.

Serials receives an allocated array of (see structure hmtoggle_plus1 CmSerial structures which receives the result.

Return

Returns true, if the operation has been successful, otherwise false.

 

Syntax

import cmapi
 
cmapi.CodeMeter().CmListRemoteUpdate(pszRauFile: str)
 -> List[cmapi.CMSERIAL]

Parameter

pszRauFile contains the filename of the Update File *.WibuCmRaU.

Return

Returns the list of found serial numbers in the Update File *.WibuCmRaU. The list is made of hmtoggle_plus1 cmapi.CMSERIAL classes.