LicenseInfo('InfoType*')

Parameters ending with * are only evaluated once at the start of the acquisition.

Description

This function provides information about various properties related to the license container (dongle or soft license). This information can be used for display and diagnostic purposes.

Specify the information type ('InfoType') you want to receive. This type of information is determined and output at the start of the acquisition. If you want to receive more information from the license container then you need to configure the function several times, with a different type of information each time.

The following information types are supported:

Table Information types and possible results of the LicenseInfo function

Information types

Possible results

0: License container available

TRUE = license container available

FALSE = license container missing or defective

1: License time limit in days

Value of the remaining lifetime of the license

2: Demo time limit in days

Value of the remaining lifetime of the license for trial periods / demo versions

3: Time limit in seconds before the acquisition will be stopped because of a license removal

Value of the remaining time which continues to run the system after the license container has been removed.

10: License container inserted counter

Number of times the license container was inserted

11: License container removed counter

Number of times the license container was removed

12: License container changed counter

Number of times the license container were changed

Application example

By evaluating information type 0 (availability of the license container), you can monitor whether or not a dongle is available and if the license container is defective.

You can use this information to trigger an email informing the receiver that the license container is no longer available. A system that was lost during operation of the license container is stopped after a waiting period. This should be avoided, especially in production-relevant ibaQDR systems.