> ## 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.

# CAPLfunctionIso11783ILOPGetState

[Open topic with navigation](../../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/ISO11783/ISOInteractionLayer/Functions/CAPLfunctionIso11783ILOPGetState.md)

[CAPL Functions](../../../CAPLfunctions.md) » [ISO11783](../../CAPLfunctionsISO11783Overview.md) » [ISO11783 Interaction Layer](../CAPLfunctionsISOILOverview.md) » Iso11783IL\_OPGetState

# Iso11783IL\_OPGetState

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

## Function Syntax

```plaintext theme={null}
long Iso11783IL_OPGetState(); // form 1
long Iso11783IL_OPGetState(dbNode implement); // form 2
```

## Description

Returns the state of the Object Pool API.

## Parameters

* **implement**: Simulation node to apply the function.

## Return Values

* **0**: Not active
* **1**: Wait until ECU is online
* **2**: Wait for status message from VT
* **3**: Initialization phase with the VT
* **4**: Object Pool Upload active or Load Version active
* **5**: Active
* **\< 0**: An error has occurred, see [error codes](../../../CAPLfunctionsISOj1939ErrorCodes.md)

## Example

```plaintext theme={null}
state = Iso11783IL_OPGetState();
```
