> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionARILFaultInjectionSetIgnitionState

# ARILFaultInjectionSetIgnitionState

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE • CANoe4SW DE

**Note**

Setting the ignition state with this function will not update the appropriate global system variable (`sysvar::_ILControl::Ignition`). Therefore, the state of the local IL instance will only be affected. Afterwards, changes of the global system variable or calling [ARILSetIgnitionState](CAPLfunctionARILSetIgnitionState.md) will have no effect.

## Function Syntax

```plaintext theme={null}
long ARILFaultInjectionSetIgnitionState (long value);
```

## Description

Activates or deactivates the ignition status locally.

## Parameters

* **value**
  * `0`: Set ignition state **off**.
  * `1`: Set ignition state **on**.
  * `-1`: Disables the fault injection and sets the desired global state.

## Return Values

* **0**: No error.
* **Others**: [Error](../../../CANoeCANalyzer/LibrariesPackages/AUTOSARpduIL/AUTOSARpduILReturnCodes.md) in module.

## Example

—


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.