Skip to main content

1E 23.11 (SaaS)

Device.SetCriticality

Method

SetCriticality

Module

Device

Library

Core

Action

Sets the user-defined criticality level for this device.

Parameters

Value (int): The (numeric) criticality value to assign to this device (between 0 and 255 inclusive).

Return values

Value (int): The updated criticality value for this device.

Example

 Device.SetCriticality(Value: 3);

Platforms

  • Windows

  • Linux

  • MacOS

Notes

Use Device.GetCriticality to retrieve the assigned criticality value.

Changes to criticality are automatically sent back to the Tachyon Server so that the assigned value can be used as part of a coverage expression.

The 1E platform and applications interpret these numeric values based on the CriticalityMapping global setting defined in the Tachyon Server. This setting provides a translation between the numeric value and the corresponding description.