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

# CAPLfunctionSCCSLACGenerateNID

[Open topic with navigation](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/SmartCharging/Functions/CAPLfunctionSCCSLACGenerateNID.md)

**CAPL Functions** » [Smart Charging](../CAPLFunctionsSmartChargingOverview.md) » [SCC Modeling Libraries (Simulation Setup)](../CAPLFunctionsSmartChargingOverview.md#BMNodeayerDLL) » [SLAC Simulation](../CAPLFunctionsSmartChargingOverview.md#SLACSim) » [Shared Functions](../CAPLFunctionsSmartChargingOverview.md#SLACSim) » **SCC\_SLAC\_GenerateNID**

# SCC\_SLAC\_GenerateNID

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

## Function Syntax

```plaintext theme={null}
void SCC_SLAC_GenerateNID ( byte NMK[], byte NID_out[] )
```

## Description

Generates a matching NID to a given NMK, using the specified algorithm, to the output buffer. Doesn't affect the internal state.

## Parameters

* **NMK**: Network Membership Key (16 byte).
* **NID\_out**: Network ID (7 byte hexadecimal number).

## Return Values

—

## Example

—
