[**Kvaser CanKing GUI Extensions SDK v7.6.1**](../../README.md)

***

[Kvaser CanKing GUI Extensions SDK](../../modules.md) / [hooks](../README.md) / useMeasurementTargetNodes

# Function: useMeasurementTargetNodes()

> **useMeasurementTargetNodes**(`type?`): [`TargetNodeProperties`](../../models/interfaces/TargetNodeProperties.md)[]

Returns the target nodes of a specific type or all target nodes if no type is specified.

## Parameters

### type?

[`MeasurementTargetNodeType`](../enumerations/MeasurementTargetNodeType.md)

The type of target nodes to return or undefined to return all target nodes.

## Returns

[`TargetNodeProperties`](../../models/interfaces/TargetNodeProperties.md)[]

All present target nodes.
